thanks!
hehe :)
btw., other schedulers might work better with some more test-time: i'd
suggest to use 60 seconds (./massive_intr 10 60) [or maybe more, using
more threads] to see long-term fairness effects.
cool. ringtest.c is intended to be used the following way: start it, it
will generate a 99% busy system (but it is using a ring of 100 tasks,
where each tasks runs for 100 msecs then sleeps for 1 msec, so every
task gets a turn every 10 seconds). If you add a pure CPU hog to the
system, for example an infinite shell loop:
while :; do :; done &
then a 'fair' scheduler would give roughly 50% of CPU time to the CPU
hog (and the ringtest.c tasks take up the other 50%).
Ingo
-