Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
From: Ingo Molnar
Date: Sun Apr 15 2007 - 15:59:25 EST
* William Lee Irwin III <wli@xxxxxxxxxxxxxx> wrote:
> On Sun, Apr 15, 2007 at 09:20:46PM +0200, Ingo Molnar wrote:
> > so Linus was right: this was caused by scheduler starvation. I can
> > see one immediate problem already: the 'nice offset' is not divided
> > by nr_running as it should. The patch below should fix this but i
> > have yet to test it accurately, this change might as well render
> > nice levels unacceptably ineffective under high loads.
>
> I've been suggesting testing CPU bandwidth allocation as influenced by
> nice numbers for a while now for a reason.
Oh I was very much testing "CPU bandwidth allocation as influenced by
nice numbers" - it's one of the basic things i do when modifying the
scheduler. An automated tool, while nice (all automation is nice)
wouldnt necessarily show such bugs though, because here too it needed
thousands of running tasks to trigger in practice. Any volunteers? ;)
Ingo
-
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/