Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Saturday, April 14, 2007 - 5:02 am

* surya.prabhakar@wipro.com <surya.prabhakar@wipro.com> wrote:


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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, surya.prabhakar, (Sat Apr 14, 1:49 am)
Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, Willy Tarreau, (Sat Apr 14, 2:06 am)
Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, Ingo Molnar, (Sat Apr 14, 5:02 am)
Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, William Lee Irwin III, (Sat Apr 14, 12:55 pm)
Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, Satoru Takeuchi, (Mon Apr 16, 1:26 am)
Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, Ingo Molnar, (Mon Apr 16, 1:47 am)
Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, Satoru Takeuchi, (Mon Apr 16, 3:13 am)
Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40, Ingo Molnar, (Mon Apr 16, 3:22 am)