diff options
author | Andrea Righi <arighi@nvidia.com> | 2024-10-23 01:47:18 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-10-23 09:25:26 -1000 |
commit | dfa4ed29b18c5f26cd311b0da7f049dbb2a2b33b (patch) | |
tree | ff85771e0f7d13d57110879a0931ac0b94388e05 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b452ae4d20aefe96232440421faed37c9d3410a7 (diff) |
sched_ext: Introduce LLC awareness to the default idle selection policy
Rely on the scheduler topology information to implement basic LLC
awareness in the sched_ext build-in idle selection policy.
This allows schedulers using the built-in policy to make more informed
decisions when selecting an idle CPU in systems with multiple LLCs, such
as NUMA systems or chiplet-based architectures, and it helps keep tasks
within the same LLC domain, thereby improving cache locality.
For efficiency, LLC awareness is applied only to tasks that can run on
all the CPUs in the system for now. If a task's affinity is modified
from user space, it's the responsibility of user space to choose the
appropriate optimized scheduling domain.
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