[coyotos-dev] sleep capability

Valerio Bellizzomi devbox at selnet.org
Sun Jan 28 08:23:33 CST 2007


On 27/01/2007, at 22.45, Jonathan S. Shapiro wrote:

>On Sun, 2007-01-28 at 00:53 +0100, Valerio Bellizzomi wrote:
>> >So now the question is: do we *also* want a scheduling mechanism that
is
>> >more opportunistic, using whatever slice is available wherever it
>> >appears?
>> 
>> Probably Yes, so that we can take advantage of slice transfer.
>
>No no. Slice transfer is one of the reasons that you *don't* want a
>multi-cpu schedule.
>
>Part of the issue here is cache residency. Migrating the state of a
>process from one CPU to another is *very* expensive.

Oh ok, yes, what I meant is a single-cpu schedule in this case
specifically: when a cpu intensive program goes into a so-called
"coffe-break" time of low cpu usage, it donates its slice.

val




More information about the coyotos-dev mailing list