Re: [PATCH v2 6/8] sched/fair: use load instead of runnable load
From: Peter Zijlstra
Date: Tue Aug 06 2019 - 12:07:52 EST
On Thu, Aug 01, 2019 at 04:40:22PM +0200, Vincent Guittot wrote:
> runnable load has been introduced to take into account the case
> where blocked load biases the load balance decision which was selecting
> underutilized group with huge blocked load whereas other groups were
> overloaded.
>
> The load is now only used when groups are overloaded. In this case,
> it's worth being conservative and taking into account the sleeping
> tasks that might wakeup on the cpu.
This one scares me a little. I have the feeling I'm missing/forgetting
something.
Also; while the regular load-balance (find-busiest) stuff is now all
aware of idle, this change also impacts wake_affine and find_idlest, and
they've not changed.