Re: Scheduler(?) regression from 2.6.22 to 2.6.24 for short-livedthreads

From: Mike Galbraith
Date: Sat Feb 09 2008 - 08:39:27 EST



On Sat, 2008-02-09 at 12:40 +0100, Willy Tarreau wrote:
> On Sat, Feb 09, 2008 at 11:58:25AM +0100, Mike Galbraith wrote:
> >
> > On Sat, 2008-02-09 at 09:03 +0100, Willy Tarreau wrote:
> >
> > > How many CPUs do you have ?
> >
> > It's a P4/HT, so 1 plus $CHUMP_CHANGE_MAYBE
> >
> > > > 2.6.25-smp (git today)
> > > > time 29 ms
> > > > time 61 ms
> > > > time 72 ms
> > >
> > > These ones look rather strange. What type of workload is it ? Can you
> > > publish the program for others to test it ?
> >
> > It's the proglet posted in this thread.
>
> OK sorry, I did not notice it when I first read the report.

Hm. The 2.6.25-smp kernel is the only one that looks like it's doing
what proggy wants to do, massive context switching. Bump threads to
larger number so you can watch: the supposedly good kernel (22) is doing
everything on one CPU. Everybody else sucks differently (idleness), and
the clear throughput winner, via mad over-schedule (!?!), is git today.

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/