[coyotos-dev] Sleep for interval

Jonathan S. Shapiro shap at eros-os.com
Thu Oct 4 11:31:01 EDT 2007


On Fri, 2007-10-05 at 01:19 +1000, William Leslie wrote:

> But you are right, of course- real time media, for example, would be
> impeded if each wait required an extra pair of context switches.

Probably not. Context switches happen in units of microseconds. Media
contracts happen in units of milliseconds. We can probably do 40 or 50
context switches in the time that it takes MS Windows to schedule a new
process (guessing -- I haven't measured).

L4 actually does all of its scheduling outside the kernel. That design
appeals to me philosophically, but I have reservations about that
approach when you are working on NUMA and SMP designs. I need to buy
some beer for the L4 guys so they will endure a debate about it from
me. :-)

-- 
Jonathan S. Shapiro
Managing Director
The EROS Group, LLC
www.coyotos.org, www.eros-os.org



More information about the coyotos-dev mailing list