Re: [PATCH 3/3] sched: Disable affine wakeups by default

From: Arjan van de Ven
Date: Mon Oct 26 2009 - 03:04:21 EST


On Mon, 26 Oct 2009 08:01:12 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * Mike Galbraith <efault@xxxxxx> wrote:
>
> > On Mon, 2009-10-26 at 06:47 +0100, Mike Galbraith wrote:
> > > On Sun, 2009-10-25 at 22:36 -0700, Arjan van de Ven wrote:
> >
> > > > if you're a multicore domain you better have a shared cache..
> > > > that's what it should mean. If it does not we should fix that.
> > >
> > > Sounds reasonable to me. I'll go make explosions.
> >
> > (Actually, if multicode and sibling does indeed mean shared cache,
> > no arch tinkering should be necessary, just reset SD_WAKE_AFFINE
> > when degenerating should work fine. Only thing is multicore with
> > siblings.. and test test test)
>
> Correct. There's a few cpus where multicore means separate caches but
> all modern CPUs have shared caches for cores so we want to tune for
> that.

for those cpus where mc means separate caches we should fix the arch
code to set up separate MC domains to be honest..
I can look into that in a bit..


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/