The SD scheduler is heaven on many server loads
Posted Apr 26, 2007 12:05 UTC (Thu) by
hmh (subscriber, #3838)
Parent article:
This week in the scheduling discussion
All I know is that SD seems to be all I ever wanted for regular (i.e. not HPC) servers.
The SD design never starves anything, ever. It has bound latency. CFS can't guarantee either as well as SD can. SD allows one to set the exact scheduling priority of everything and it is always respected, as there is no interactive renicing: it is very predictable.
And since one can also set the rr_interval (scheduling granularity) if the load is not latency sensitive, you can reduce its cost in context switches. It still has a few ways to go, but I hope to see in server -ck soon.
And SD is O(1), too... CFS isn't.
As someone said in LKML (maybe Con?), if the window managers were not so dumb and would renice things easily and intelligently, it might even be ideal for desktops. Oh well :-)
(
Log in to post comments)