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_bpfland: enable "auto" mode by default #615

Merged
merged 1 commit into from
Sep 5, 2024
Merged

scx_bpfland: enable "auto" mode by default #615

merged 1 commit into from
Sep 5, 2024

Conversation

arighi
Copy link
Contributor

@arighi arighi commented Sep 5, 2024

Rename "turbo domain" to "preferred domain", that conceptually is more generic and introduce the new option --preferred-domain CPUMASK, which allows users to define the preferred domain, specifying a cpumask as a hex number. By default ("auto") the scheduler will always try to detect and use the fastest CPUs in the system.

Moreover, adjust the cpufreq logic to use "auto" both with the "balance_power" and "balance_performance" EPP profiles.

Then, enable "auto" mode by default: the scheduler will try to automatically determine the optimal primary domain, preferred domain and cpufreq level, based on the selected scheduler and energy profiles.

@sirlucjan
Copy link
Contributor

I have been using the “auto” flag for several weeks and have not found any regressions.

Rename "turbo domain" to "preferred domain", that conceptually is more
generic and introduce the new option `--preferred-domain CPUMASK`, which
allows users to define the preferred domain, specifying a cpumask as a
hex number. By default ("auto") the scheduler will always try to detect
and use the fastest CPUs in the system.

Moreover, adjust the cpufreq logic to use "auto" both with the
"balance_power" and "balance_performance" EPP profiles.

Then, enable "auto" mode by default: the scheduler will try to
automatically determine the optimal primary domain, preferred domain and
cpufreq level, based on the selected scheduler and energy profiles.

Tested-by: Piotr Gorski < [email protected] >
Signed-off-by: Andrea Righi <[email protected]>
@arighi
Copy link
Contributor Author

arighi commented Sep 5, 2024

Added @sirlucjan tested-by line, thanks!

@arighi arighi merged commit 28050dc into main Sep 5, 2024
1 check passed
@arighi arighi deleted the bpfland-auto branch September 5, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants