Re: [patch] CFS scheduler, -v5

Ingo Molnar
2007-04-25T09:26:58Z

* Christian Hesse <mail@earthworm.de> 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