Ask Your Question
0

How to permanently set CPU power management to the powersave governor?

asked 2014-01-26 00:20:51 -0600

kxra gravatar image

updated 2014-09-29 04:46:32 -0600

mether gravatar image

I'm currently using this:

cpupower frequency-set --governor powersave

but it resets after each reboot.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2014-01-26 15:21:10 -0600

NickTux gravatar image

updated 2014-01-26 18:03:17 -0600

You can use tuned. Read the documentation → Power Management Guide - Tuned. Although with tuned you can set a lot more valuable attributes than CPU governor only, you can create a custom profile (if you want) only for the CPU governor.

A custom profile for the CPU governor only, could have been:

sudo mkdir /etc/tuned/myprofile/
echo -e '[cpu]\ngovernor=powersave' | sudo tee /etc/tuned/myprofile/tuned.conf

Start the service and select the profile.

sudo systemctl start tuned.service 
sudo tuned-adm profile myprofile

This will be permanent after you load the profile "myprofile" via the tuned-adm tools. Don't forget to enable the service in systemd in order to load at every system boot.

sudo systemctl enable tuned.service
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-01-26 00:20:51 -0600

Seen: 4,869 times

Last updated: Jan 26 '14