From: Ingo Molnar <mingo@elte.hu>
To: surya.prabhakar@wipro.com
Cc: kernel@kolivas.org, linux-kernel@vger.kernel.org,
torvalds@linux-foundation.org, akpm@linux-foundation.org,
npiggin@suse.de, efault@gmx.de, arjan@infradead.org,
tglx@linutronix.de, wli@holomorphy.com
Subject: Re: [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40
Date: Sat, 14 Apr 2007 14:02:20 +0200 [thread overview]
Message-ID: <20070414120220.GA2346@elte.hu> (raw)
In-Reply-To: <1176540546.2702.15.camel@bluegenie>
* surya.prabhakar@wipro.com <surya.prabhakar@wipro.com> wrote:
> Hi Ingo,
> Did a test with massive_intr.c on a standard linux desktop.
> for vanilla, con's Sd-0.40 and cfs.
thanks!
> [surya@bluegenie tests]$ ./massive_intr 10 10
> 002435 00000120
> 002439 00000120
> 002441 00000120
> 002434 00000120
> 002436 00000120
> 002440 00000120
> 002432 00000120
> 002437 00000120
> 002433 00000120
> 002438 00000120
>
> Felt it is too much fair, will try another pass ;)
hehe :)
> [surya@bluegenie tests]$ ./massive_intr 10 10
> 002961 00000121
> 002965 00000120
> 002964 00000121
> 002959 00000120
> 002956 00000121
> 002963 00000121
> 002960 00000121
> 002962 00000121
> 002958 00000122
> 002957 00000122
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.
> [...] Will be trying out ringtest in the next round.
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
next prev parent reply other threads:[~2007-04-14 12:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-14 8:49 [TEST RESULT]massive_intr.c -- cfs/vanilla/sd-0.40 surya.prabhakar
2007-04-14 9:06 ` Willy Tarreau
2007-04-14 12:02 ` Ingo Molnar [this message]
2007-04-14 19:55 ` William Lee Irwin III
2007-04-16 8:26 ` Satoru Takeuchi
2007-04-16 8:47 ` Ingo Molnar
2007-04-16 10:13 ` Satoru Takeuchi
2007-04-16 10:22 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070414120220.GA2346@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=efault@gmx.de \
--cc=kernel@kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=npiggin@suse.de \
--cc=surya.prabhakar@wipro.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=wli@holomorphy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox