public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.5.47 scheduler problems?
@ 2002-11-22  5:41 Jim Houston
  2002-11-22 11:07 ` Mike Galbraith
  0 siblings, 1 reply; 11+ messages in thread
From: Jim Houston @ 2002-11-22  5:41 UTC (permalink / raw)
  To: efault, linux-kernel; +Cc: riel

Hi Mike, Rik, Everyone,

The O(1) schedule just isn't fair.  It will run a subset 
of the runable processes excluding the rest.  See my earlier
emails for the details.

I had been working on a fix for this but got distracted
by Posix timers.  I still hope to get back to it.

My patch is here:
http://marc.theaimsgroup.com/?l=linux-kernel&m=103508412423719&w=2

It fixes fairness but breaks nice(2). Rik van Riel has a
patch here which builds on my patch which fixes this:
http://marc.theaimsgroup.com/?l=linux-kernel&m=103651801424031&w=2

I just gave this a spin with.  The patches still apply cleanly
to linux-2.5.48 and it seems well behaved:-)  

I found this problem with the LTP waitpid06 test.  It actually
produced a live-lock. See this mail:
http://marc.theaimsgroup.com/?l=linux-kernel&m=103133744217082&w=2

Jim Houston - Concurrent Computer Corp.

^ permalink raw reply	[flat|nested] 11+ messages in thread
* 2.5.47 scheduler problems?
@ 2002-11-18  6:20 Mike Galbraith
  2002-11-18  6:51 ` Tim Connors
  0 siblings, 1 reply; 11+ messages in thread
From: Mike Galbraith @ 2002-11-18  6:20 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Greetings,

For testing swap throughput, I like to run make -j30 bzImage on my 500Mhz 
PIII w. 128Mb ram.  For testing interactivity, I fire up KDE, start a 
smaller make -j, grab a window, and wave it around.

With 2.4.20rc2+rc1aa1, running a -j10 build (not swapping) is very very 
bad.  However, if I set all tasks in the system to SCHED_FIFO or SCHED_RR 
prior to this light make -j, I have a ~pretty smooth system.

If I do the same in 2.5.47, I have no control of my box.  Setting all tasks 
to SCHED_FIFO or SCHED_RR prior to starting make -j10 bzImage, I can regain 
control, but interactivity under load is basically not present.

I used to be able to wave a window poorly at make -j25 (swapping heftily), 
fairly smoothly at make -j20, and smoothly at make -j15 or below.  This 
with no SCHED_RR/SCHED_FIFO.  (I haven't done much testing like this in 
quite a while though)

	-Mike


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

end of thread, other threads:[~2002-11-22 14:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22  5:41 2.5.47 scheduler problems? Jim Houston
2002-11-22 11:07 ` Mike Galbraith
2002-11-22 12:51   ` Mike Galbraith
2002-11-22 14:04     ` Mike Galbraith
  -- strict thread matches above, loose matches on Subject: below --
2002-11-18  6:20 Mike Galbraith
2002-11-18  6:51 ` Tim Connors
2002-11-18  7:08   ` Andrew Morton
2002-11-18  7:35     ` Mike Galbraith
2002-11-18  7:29   ` Mike Galbraith
2002-11-18  7:53     ` Tim Connors
2002-11-18 10:52       ` Mike Galbraith

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