1 1
sgjava

CPU governor stays at ondemand

Recommended Posts

Running latest Ubuntu 18.04 for NanoPi Duo with updates as of last night and CPU governor stays at ondemand even though I set it to conservative in /etc/default/cpufrequtils and reboot. CPU frequency settings do take effect, just not the governor.

Share this post


Link to post
Share on other sites

OK, I did the following:

cat /etc/default/cpufrequtils
# WARNING: this file will be replaced on board support package (linux-root-...) upgrade
ENABLE=true
MIN_SPEED=240000
MAX_SPEED=1008000
GOVERNOR=conservative

sudo rm /lib/systemd/system/ondemand.service
sudo systemctl daemon-reload
sudo reboot

cpufreq-info -o
          minimum CPU frequency  -  maximum CPU frequency  -  governor
CPU  0       240000 kHz ( 20 %)  -    1008000 kHz ( 84 %)  -  conservative
CPU  1       240000 kHz ( 20 %)  -    1008000 kHz ( 84 %)  -  conservative
CPU  2       240000 kHz ( 20 %)  -    1008000 kHz ( 84 %)  -  conservative
CPU  3       240000 kHz ( 20 %)  -    1008000 kHz ( 84 %)  -  conservative

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1