Re: What is the optimum time for task switching?

From: Johan Kullstam (
Date: Sun Apr 30 2000 - 14:54:02 EST

Mark Zealey <> writes:

> I am interested in what the optimum time on an i386+ is for task
> switching. I would imagine that it would be quite long, as it must take
> lots of cycles to save all the reg's and load the new ones.

from a cycle efficiency standpoint, optimum would be to stay
infinitely long with each task and only switch when the task was
complete or waiting for input. however, user interaction demands
switching once in a while to preserve the illusion of multi-tasking.

J o h a n  K u l l s t a m
Don't Fear the Penguin!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:18 EST