Re: [PATCH 3/4] sched/fair: Add REBALANCE_AFFINITY rebalancing code

From: Peter Zijlstra
Date: Fri Jul 01 2016 - 04:24:54 EST


On Fri, Jul 01, 2016 at 09:35:46AM +0200, Jiri Olsa wrote:
> well this is issue our partner met in the setup,
> and I'm not sure what was their motivation for that,
> perhaps James could clarify in here..
>
> I tried to make the 'scratch that itch' solution as
> mentioned in earlier discussion.
>
> So IIUIC what you say is that it needs to be more generic
> solution..? I'll continue staring at it then ;-)

I just want to know what problem we're trying to solve..

Because it appears this is running 1 task each on a 'weird' subset of
cpus and things going badly. If this really is the case, then teaching
active balance to only move tasks to idle cpus or something should also
cure things.

Also, I'm curious why people set such weird masks.