summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrea Righi <arighi@nvidia.com>2024-11-08 01:01:36 +0100
committerTejun Heo <tj@kernel.org>2024-11-07 14:56:39 -1000
commitf6ce6b949304bc7a54dbfea98402080c42bbc9a4 (patch)
tree28bc6b976f3bb979fe3c4b53a339913bec61c4d7 /tools/perf/scripts/python/export-to-sqlite.py
parent860a45219bce09d9ebac883cfcf9b5b0b8a8a999 (diff)
sched_ext: Do not enable LLC/NUMA optimizations when domains overlap
When the LLC and NUMA domains fully overlap, enabling both optimizations in the built-in idle CPU selection policy is redundant, as it leads to searching for an idle CPU within the same domain twice. Likewise, if all online CPUs are within a single LLC domain, LLC optimization is unnecessary. Therefore, detect overlapping domains and enable topology optimizations only when necessary. Moreover, rely on the online CPUs for this detection logic, instead of using the possible CPUs. Fixes: 860a45219bce ("sched_ext: Introduce NUMA awareness to the default idle selection policy") Signed-off-by: Andrea Righi <arighi@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions