Re: [patch] CFS scheduler, -v5

From: Ingo Molnar
Date: Wed Apr 25 2007 - 05:27:20 EST



* Christian Hesse <mail@xxxxxxxxxxxx> wrote:

> On Monday 23 April 2007, Ingo Molnar wrote:
> > i'm pleased to announce release -v5 of the CFS scheduler patchset.
>
> Hi Ingo,
>
> I just noticed that with cfs all processes (except some kernel
> threads) run on cpu 0. I don't think this is expected cpu affinity for
> an smp system? I remember about half of the processes running on each
> core with mainline.

i've got several SMP systems with CFS and all distribute the load
properly to all CPUs, so it would be nice if you could tell me more
about how the problem manifests itself on your system.

for example, if you start two infinite loops:

for (( N=0; N < 2; N++ )); do ( while :; do :; done ) & done

do they end up on the same CPU?

Or do you mean that the default placement of single tasks starts at
CPU#0, while with mainline they were alternating?

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/