-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scx_rustland_core: introduce cache awareness
Introduce some concepts of cache awareness (taken from scx_bpfland). This change is transparently affecting the BpfScheduler::select_cpu() API, even if the particular cache topology is not (yet) exposed to the user-space. When calling select_cpu() the backend will prioritize idle CPUs that share the same L2 cache, then the same L3 cache, considering the target CPU specified in select_cpu() (usually the task's previously used CPU). Signed-off-by: Andrea Righi <[email protected]>
- Loading branch information
Showing
3 changed files
with
353 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.