public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][2.6.7-rc3] Single Priority Array CPU Scheduler
@ 2004-06-10  5:36 Peter Williams
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Williams @ 2004-06-10  5:36 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Michal Kaczmarski

Peter Williams wrote:
 > The single priority array scheduler (SPA) is a patch that simplifies
 > the O(1) scheduler while maintaining its good scalability and
 > interactive response characteristics. The patch comes as four sub
 > patches to simplify perusal of the changes:

An updated version of this scheduler is now available for 2.6.7-rc3 at:

<http://users.bigpond.net.au/Peter-Williams/patch-2_6_7_rc3-SPA-v0.1>
<http://users.bigpond.net.au/Peter-Williams/patch-2_6_7_rc3-SPA_IAB-v0.1>
<http://users.bigpond.net.au/Peter-Williams/patch-2_6_7_rc3-SPA_TPB-v0.1>
<http://users.bigpond.net.au/Peter-Williams/patch-2_6_7_rc3-SPA_TSTATS-v0.1>

These patches should be applied in the order that they are listed.

Also, as promised, the first of these patches has been unified with the 
staircase scheduler and a patch that implements the staircase scheduler 
on top of the first of the above patches is available at:

<http://users.bigpond.net.au/Peter-Williams/patch-2_6_7_rc3-SPA_STAIRCASE-v0.1>

This scheduler is functionally equivalent to Con Kolivas's v6.4 
scheduler except that a promotion feature (that will trigger very 
infrequently probably never :-)) has been added.  This was added 
because, although it is extremely unlikely, starvation is possible with 
the staircase scheduler and this feature removes that possibility.

Peter
-- 
Peter Williams                                   pwil3058@bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
  -- Ambrose Bierce


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [PATCH][2.6.7-rc3] Single Priority Array CPU Scheduler
@ 2004-06-11 13:39 Shane Shrybman
  2004-06-12  0:10 ` Peter Williams
  0 siblings, 1 reply; 7+ messages in thread
From: Shane Shrybman @ 2004-06-11 13:39 UTC (permalink / raw)
  To: pwil3058; +Cc: linux-kernel

Hi Peter,

I just started to try out your SPA scheduler patch and found that it is
noticeably sluggish when resizing a mozilla window on the desktop. I
have a profile of 2.6.7-rc3-spa and 2.6.7-rc2-mm2 and put them up at:
http://zeke.yi.org/linux/spa/ . There is also vmstat output there but it
doesn't look too helpful to me.

The test was basic and went like this:

x86, K7, UP, gnome desktop with mozilla (with a bunch of tabs) and a few
rxvts. cmdline= elevator=cfq profile=1

readprofile -r

grab a corner of my mozilla window and continually move it around for
several seconds

readprofile -v -m /boot/System.map-2.6.7-rc3|sort -rn +2|head -n30

do the same while dumping vmstat 1 to a file.

The kernel with your patch had a much harder time keeping up with the
window resizing. Moving the entire window did not seem too bad or not
too noticeable. I tried a similar test while running a kernel compile
(make -j3) and it made the window resizing _really_ slow to respond.

Regards,

Shane






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

end of thread, other threads:[~2004-06-13 23:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10  5:36 [PATCH][2.6.7-rc3] Single Priority Array CPU Scheduler Peter Williams
  -- strict thread matches above, loose matches on Subject: below --
2004-06-11 13:39 Shane Shrybman
2004-06-12  0:10 ` Peter Williams
2004-06-12 14:50   ` Shane Shrybman
2004-06-13  1:15     ` Peter Williams
2004-06-13 17:46       ` Shane Shrybman
2004-06-13 23:45         ` Peter Williams

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