Re: [PATCH 3/4] sched,numa: implement numa node level wake_affine
From: Peter Zijlstra
Date: Mon Jun 26 2017 - 10:44:07 EST
On Fri, Jun 23, 2017 at 12:55:29PM -0400, riel@xxxxxxxxxx wrote:
> From: Rik van Riel <riel@xxxxxxxxxx>
>
> Since select_idle_sibling can place a task anywhere on a socket,
> comparing loads between individual CPU cores makes no real sense
> for deciding whether to do an affine wakeup across sockets, either.
>
> Instead, compare the load between the sockets in a similar way the
> load balancer and the numa balancing code do.
This seems to assume LLC == NUMA, which isn't strictly so.