Re: Fair Share Scheduler

Andreas Jellinghaus (aj@dungeon.inka.de)
Mon, 26 Jan 1998 17:16:17 +0100


>I've sometimes wished for such a thing administering UNIX boxes at my
>day job.

i don't have exactly that, but something similiar :
all processes of a user get time, like crrently each user gets time.
with respect to niceness levels etc.
it's implemented as a additional scheduling policy, so some processes
can run in this new scheme, others not. i use this for web servers :
all user processes like cgi scripts run in the modified scheduler,
also telnet sessions.

everything root does and all system services like apache ...
get priority by running in the regular scheduler.

i also added blockio limit, maybe i can extend that to do accounting.
then i added an automatic way, to force processes with the uid in a
special range to the new scheduler, and tried to tweak the i/o a bit, to
give normal processes an advantage.

comments, suggestions etc. welcome. what exactly do you want ?
maybe i can add the required functionality. currently i have one large
diff against kernel 2.0.33, but i will port it to 2.1.* and slit it by
functionality. ftp.inka.de/sites/dungeon/kernel/

thanks for the docs, it's interesting to see how other people do this.
maybe i will copy some features. but currently i'm happy with my current
solution, because it does not need extra management like those lnodes.

andreas