1
0
Fork 0

Allow overriding the no_turbo setting

Add a new variable `no_turbo` to the cpu-partitioning-powersave profile
to allow users to override the default behavior of disabling turbo mode.
This commit is contained in:
eshulman2 2025-07-21 17:13:20 +03:00
parent f64c5d1198
commit a6a503c86a
2 changed files with 5 additions and 1 deletions

View file

@ -12,3 +12,7 @@ isolated_cores=${f:calc_isolated_cores:1}
# given to force_latency tuned parameter. To have the same behavior
# as cpu-partitioning profile, set to "cstate.name:C1|10"
max_power_state=cstate.name:C1|10
# If set to true, disables turbo mode on all CPUs.
# This is useful for power saving, but may reduce performance.
no_turbo=true

View file

@ -25,7 +25,7 @@ assert2=${f:assertion_non_equal:max_power_state is set:${max_power_state}:${max_
[cpu]
force_latency=${max_power_state}
no_turbo=true
no_turbo=${no_turbo}
[bootloader]
cmdline_cpu_part=+nohz=on${cmd_isolcpus} nohz_full=${isolated_cores} rcu_nocbs=${isolated_cores} tuned.non_isolcpus=${not_isolated_cpumask} intel_pstate=passive nosoftlockup