diff options
author | Ricardo Neri <[email protected]> | 2023-04-06 13:31:40 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2023-05-08 10:58:35 +0200 |
commit | 18ad34532755feb5b9f4284b07769b1bfec18ab3 (patch) | |
tree | 40dce503a9ee80901b07c6895434250ca9efd96f /tools/perf/scripts/python/mem-phys-addr.py | |
parent | ef7657d4d2d6a8456aa624010de456c32a135fe9 (diff) |
sched/fair: Let low-priority cores help high-priority busy SMT cores
Using asym_packing priorities within an SMT core is straightforward. Just
follow the priorities that hardware indicates.
When balancing load from an SMT core, also consider the idle state of its
siblings. Priorities do not reflect that an SMT core divides its throughput
among all its busy siblings. They only makes sense when exactly one sibling
is busy.
Indicate that active balance is needed if the destination CPU has lower
priority than the source CPU but the latter has busy SMT siblings.
Make find_busiest_queue() not skip higher-priority SMT cores with more than
busy sibling.
Suggested-by: Valentin Schneider <[email protected]>
Signed-off-by: Ricardo Neri <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Zhang Rui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions