Re: [RFC PATCH] sched/fair: Choose the CPU where short task is running during wake up
From: Peter Zijlstra
Date: Fri Sep 16 2022 - 07:48:23 EST
On Fri, Sep 16, 2022 at 12:54:07AM +0800, Chen Yu wrote:
> Current proposal is a variant of 2:
> If the target CPU is running a short-time slice task, and the wakee
> is also a short-time slice task, the target CPU could be chosen as the
> candidate when the system is busy.
Since this benchmark only has short running tasks, the result is that
you always pick the local cpu and therefore the migrations are reduced?
Doesn't this inhibit spreading the workload when there's geniunely idle
CPUs around?