public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Michael Gerdau <mgd@technosis.de>
Cc: Con Kolivas <kernel@kolivas.org>,
	Miguel Figueiredo <elmig@debianpt.org>,
	Ray Lee <ray-lk@madrabbit.org>,
	Linux Kernel M/L <linux-kernel@vger.kernel.org>
Subject: Re: Sched - graphic smoothness under load - cfs-v13 sd-0.48
Date: Wed, 23 May 2007 13:22:18 -0400	[thread overview]
Message-ID: <4654784A.8080800@tmr.com> (raw)
In-Reply-To: <200705230723.42400.mgd@technosis.de>

Michael Gerdau wrote:
>> That's because the whole premise of your benchmark relies on a workload that 
>> yield()s itself to the eyeballs on most graphic card combinations when using 
>> glxgears. Your test remains a test of sched_yield in the presence of your 
>> workloads rather than anything else. If people like ck2 it's because in the 
>> real world with real workloads it is better, rather than on a yield() based 
>> benchmark. Repeatedly the reports are that 3d apps and games in normal usage 
>> under -ck are better than mainline and cfs.
>>     
>
> While I can't comment on the technical/implementational details of
> Con's claim I definitely have to agree from a users POV.
>
>   
Any of the sd/ck/cfs schedulers are an improvement on the current 
mainline, and hopefully they will continue to cross pollinate and 
evolve. Perhaps by 2.6.23 a clear "best" will emerge, or Linus will 
change his mind and make sd and cfs be compile options at build time.
> All my recent CPU intensive benchmarks show that both ck/sd and cfs
> are very decent scheduler and IMO superior to mainline for all _my_
> usecases. In particular playing supertux while otherwise fully utilizing
> both CPUs on a dualcore works without any glitch and better than
> on mainline for both sd and cfs.
>
>   
I did some kernel compile timing numbers as part of my work with 
ctxbench, and there is little to choose between the schedulers under 
load, although the special case for sched_yield makes some loads perform 
better with cfs. With large memory and fast disk, a kernel make becomes 
a CPU benchmark, there's virtually no iowait not filled with another 
process.
> For me the huge difference you have for sd to the others increases the
> likelyhood the glxgears benchmark does not measure scheduling of graphic
> but something else.
>
>   
The glitch1 script generates a number of CPU bound processes updating 
the screen independently, which stresses both graphics performance and 
scheduler fairness. And once again I note that it's a *characterization* 
rather than a benchmark. The ability of the scheduler to deliver the 
same resources to multiple identical processes, and to keep another CPU 
bound process (glxgears) getting the processor at regular intervals is 
more revealing than the frames per second or loops run.

I would expect sd to be better at this, since it uses a deadline 
concept, but in practice the gears pause, and then move rapidly or 
appear to jump. My reading on this is that the process starves for some 
ms, then gets a lot of CPU because it is "owed" more. I think I see this 
in games, but not being a game player I can't tell from experience if 
it's artifact or the games suck. That's what my test rig, based on a 15 
year old boy and several cans of high caffeine soda, is used for. ;-)
> Anyway, I'm still in the process of collecting data or more precisely
> until recently constantly refined what data to collect and how. I plan
> to provide new benchmark results on CPU intensive tasks in a couple of
> days.
>   
-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


  parent reply	other threads:[~2007-05-23 17:20 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19 20:02 Sched - graphic smoothness under load - cfs-v13 sd-0.48 Bill Davidsen
2007-05-19 20:22 ` Ray Lee
2007-05-20  0:44   ` Bill Davidsen
2007-05-20  6:12     ` Michael Gerdau
2007-05-20  6:30       ` Ray Lee
2007-05-20  6:59         ` Michael Gerdau
2007-05-20  7:20           ` Ray Lee
2007-05-20  6:55     ` Ray Lee
2007-05-21 18:27     ` Matt Keenan
2007-05-19 20:36 ` Diego Calleja
2007-05-19 20:55   ` Ray Lee
2007-05-19 23:21   ` Mike Galbraith
2007-05-20 16:29 ` Miguel Figueiredo
2007-05-20 16:44   ` Ray Lee
2007-05-20 16:58     ` Miguel Figueiredo
2007-05-20 17:19       ` Ray Lee
2007-05-22 17:55       ` Bill Davidsen
2007-05-22 20:01         ` Miguel Figueiredo
2007-05-23  0:28           ` Bill Davidsen
2007-05-23 13:10             ` Bill Davidsen
2007-05-23 18:29               ` Miguel Figueiredo
2007-05-23 20:45                 ` Bill Davidsen
2007-05-23 21:03                   ` Miguel Figueiredo
2007-05-24  0:36             ` Con Kolivas
2007-05-23  4:06               ` William Lee Irwin III
2007-05-23  5:23               ` Michael Gerdau
2007-05-23  7:58                 ` Xavier Bestel
2007-05-23  8:21                   ` Bill Huey
2007-05-23 18:22                   ` Ian Romanick
2007-05-23 18:43                     ` Xavier Bestel
2007-05-23 17:22                 ` Bill Davidsen [this message]
2007-05-23 16:59               ` Bill Davidsen
2007-05-22 17:22   ` Bill Davidsen

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=4654784A.8080800@tmr.com \
    --to=davidsen@tmr.com \
    --cc=elmig@debianpt.org \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgd@technosis.de \
    --cc=ray-lk@madrabbit.org \
    /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