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'll check for a init.d or systemd conf tonight when I get home and see if I can figure it out. I'll report back here.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1