diff options
author | Mel Gorman <[email protected]> | 2022-05-20 11:35:18 +0100 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-06-13 10:29:59 +0200 |
commit | cb29a5c19d2d68afc641fb1949e1a1c565b582ea (patch) | |
tree | 947d47688097dfa46b9956fb84442630b1f53f13 /lib/mpi/mpi-sub-ui.c | |
parent | 13ede33150877d44756171e33570076882b17b0b (diff) |
sched/numa: Apply imbalance limitations consistently
The imbalance limitations are applied inconsistently at fork time
and at runtime. At fork, a new task can remain local until there are
too many running tasks even if the degree of imbalance is larger than
NUMA_IMBALANCE_MIN which is different to runtime. Secondly, the imbalance
figure used during load balancing is different to the one used at NUMA
placement. Load balancing uses the number of tasks that must move to
restore imbalance where as NUMA balancing uses the total imbalance.
In combination, it is possible for a parallel workload that uses a small
number of CPUs without applying scheduler policies to have very variable
run-to-run performance.
[[email protected]: Fix build breakage for arc-allyesconfig]
Signed-off-by: Mel Gorman <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: K Prateek Nayak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions