Skip to content

Commit

Permalink
profiles: Correct CPU governor settings
Browse files Browse the repository at this point in the history
First, always prefer schedutil for balanced/powersave. On platforms
where this governor is available, this enables Energy-Aware-Scheduling
which offers the best power efficiency and performance combination.
There is absolutely no reason to use another governor by default in the
"balanced" profile on these systems, in particular.

Second, swap around "conservative" and "ondemand". "conservative" is
supposed to be lower power and higher latency. The commit that made this
change tested on a single server platform (10 years ago), but unless
that governor is behaving opposite to what is documented on most
platforms, that was probably an outlier or a testing mistake.

Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Jan 20, 2025
1 parent 7480983 commit 156d7a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion profiles/balanced/tuned.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cpufreq_conservative=+r

[cpu]
priority=10
governor=conservative|powersave
governor=schedutil|ondemand|powersave
energy_perf_bias=normal
energy_performance_preference=balance_performance
boost=1
Expand Down
2 changes: 1 addition & 1 deletion profiles/powersave/tuned.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
summary=Optimize for low power consumption

[cpu]
governor=ondemand|powersave
governor=schedutil|conservative|powersave
energy_perf_bias=powersave|power
energy_performance_preference=power
boost=0
Expand Down

0 comments on commit 156d7a7

Please sign in to comment.