public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* call for more SD versus CFS comparisons (was: Re: [ck] Mainline plans)
@ 2007-06-12  0:30 Miguel Figueiredo
  2007-06-12  7:39 ` Tobias Gerschner
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Miguel Figueiredo @ 2007-06-12  0:30 UTC (permalink / raw)
  To: linux kernel mailing list, ck

Hi all,

some results based on massing_intr.c by Satoru, can be found on
http://people.redhat.com/mingo/cfs-scheduler/tools/massive_intr.c

Runned several times like:
$ massing_intr 5 2 >> results-kernel-5.2
$ massing_intr 300 300 >> results-kernel-300.300

To calculate average and standard deviation:

$ original-awk -f awkscript results-file

awkscript file included.
(for debian users: apt-get install original-awk)

Here's the data, values and facts:

kernel                  run as  average stddev
======                  ======  ======= ======
2.6.22-rc4-ck1          5 2     34      0
2.6.22-rc4-ck1          5 2     22      0
2.6.22-rc4-ck1          5 2     24.6    0.219
2.6.22-rc4-ck1          5 2     31.4    0.219
2.6.22-rc4-ck1          5 2     40      0

2.6.22-rc4-cfs-v16      5 2     36      0
2.6.22-rc4-cfs-v16      5 2     30      0
2.6.22-rc4-cfs-v16      5 2     27.6    0.219
2.6.22-rc4-cfs-v16      5 2     29.6    0.219
2.6.22-rc4-cfs-v16      5 2     42      0

2.6.22-rc4-cfs-v16      300 300 126.427 0.289
2.6.22-rc4-cfs-v16      300 300 125.35  0.275
2.6.22-rc4-cfs-v16      300 300 127,797 0,028
2.6.22-rc4-cfs-v16      300 300 125,367 0,028
2.6.22-rc4-cfs-v16      300 300 125,213 0,024

2.6.22-rc4-ck1          300 300 125.413 0,028
2.6.22-rc4-ck1          300 300 125,34  0,027
2.6.22-rc4-ck1          300 300 124,69  0,027
2.6.22-rc4-ck1          300 300 125,093 0,017
2.6.22-rc4-ck1          300 300 125,597 0,028

* "run as" it's the parameters passed to the program massive_intr.

All the files and data can be found on
http://www.debianpt.org/~elmig/pool/kernel/20070611/

Just one note, the first time this test was run:
-cfs-v16 i got this values: 44, 23, 19, 16, 42;
-2.6.21-debian: 29, 25, 22, 16, 32;
-ck1: 37 37 37 37 37

The machine was a Sempron64 3.0 GHz.


I know that other people, who read lkml, also tested the same way, it
would be nice if they also post their data.

-- 

Com os melhores cumprimentos/Best regards,

Miguel Figueiredo
http://www.DebianPT.org


^ permalink raw reply	[flat|nested] 15+ messages in thread
* RE: call for more SD versus CFS comparisons (was: Re: [ck] Mainline plans)
@ 2007-06-14 10:10 Tobias Gerschner
  0 siblings, 0 replies; 15+ messages in thread
From: Tobias Gerschner @ 2007-06-14 10:10 UTC (permalink / raw)
  To: elmig, ck list, linux kernel mailing list

Hi,

>> I did run massive_intr.c for 60 secs with increasing nproc (
>> 10,20,30,40,50,60) waiting for effects.
>>
>> Below a small table of the results
>>
>> 2.6.21.1-cfs-v16
>>
>> nproc ,  usability result
>>
>> 10 , serious frame drops , Firefox  hardly recognizes clicked links,
>> but still usable
>> 20 - 30, usability loss ( somehow under cfs firefox never finished
>> user requests like displaying web pages or opening new pages , no
>> feedback anymore, sudden changes on the desktop )
>
>ouch! The expected load-testing result under CFS should be something
>like this:
>
>   http://bhhdoa.org.au/pipermail/ck/2007-June/007817.html
>
>could you send me the output of /proc/sched_debug? (while say a
>"massive_intr 20" is running?)
>
>Roughly what hardware do you have? (could you send me your lspci -v
>output and dmesg output?)
>
>      Ingo
>

Hi,


After some serious but fun testing on my machine over hours, Ingo got
CFS behave on par with SD. It was my understanding that the changes
were mainly adjusting tunables rather than changing code. But that is
not for me to explain.

>From my point of view it was impressive to see the determination INGO
had, to make sure he delivers the best he can :) . And I learned a lot
how to provide usable / readable test results.

So thumbs up for CFS and SD . ALL IMO: The current advantage of SD
over CFS is the lack of need of tuning for SD . So there is certainly
room for improvement for CFS.

Over the weekend I'll prepare some test cases and documentation for
them to test CFS and SD more specific so that a broader public can
provide the same sort of (comparable) data. The test we used only
covered 1 usage case. This is certainly not enough to measure the
performance of such a key component.

I am looking forward to the next version of CFS and I will certainly
test it toroughly.

kind regards to all responsiveness junkees

-- 
Tobias Gerschner
Member of Board of Yoper Linux Ltd. NZ

Knowing is not enough; we must apply. Willing is not enough; we must do.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-06-15 21:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-12  0:30 call for more SD versus CFS comparisons (was: Re: [ck] Mainline plans) Miguel Figueiredo
2007-06-12  7:39 ` Tobias Gerschner
2007-06-12  8:36   ` Ingo Molnar
2007-06-12  8:51     ` Tobias Gerschner
2007-06-12  8:55       ` Ingo Molnar
2007-06-12  8:57     ` Ingo Molnar
2007-06-12 10:33       ` Con Kolivas
2007-06-12 10:40         ` Ingo Molnar
2007-06-12 14:04   ` Ingo Molnar
2007-06-12 16:52 ` Martin Steigerwald
2007-06-15 21:19   ` Miguel Figueiredo
2007-06-13  1:36 ` Fortier,Vincent [Montreal]
2007-06-13  1:54   ` Fortier,Vincent [Montreal]
2007-06-14  7:56     ` call for more SD versus CFS comparisons (was: " Jarek Poplawski
  -- strict thread matches above, loose matches on Subject: below --
2007-06-14 10:10 call for more SD versus CFS comparisons (was: Re: [ck] " Tobias Gerschner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox