Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scx_layered: Add idle core selection for core architectures when using GROWTH_ALGO_LITTLE_BIG #748

Open
hodgesds opened this issue Oct 7, 2024 · 0 comments
Labels
bpf enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed scx_layered

Comments

@hodgesds
Copy link
Contributor

hodgesds commented Oct 7, 2024

When scx_layered is selecting an idle CPU for a task it should consider the layer growth algorithm. Currently when a layer is using the GROWTH_ALGO_BIG_LITTLE growth algorithm scx_layered will try to place a task on a big core. It should also do the same thing for little cores when using the GROWTH_ALGO_LITTLE_BIG layer growth algorithm. This should ensure that layers that are configured to utilize little cores are sticky to little CPUs.

For reference see the GROWTH_ALGO_BIG_LITTLE implementation.

@hodgesds hodgesds added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed bpf scx_layered labels Oct 7, 2024
@hodgesds hodgesds reopened this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bpf enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed scx_layered
Projects
None yet
Development

No branches or pull requests

1 participant