Views:
2,646β
Votes: 1β
β
Solution
Tags:
16.04
performance
cpu
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1058409
Title:
CPU Frequency is allways the lowest possible (and high CPU usage)
ID:
/2018/07/22/CPU-Frequency-is-allways-the-lowest-possible-_and-high-CPU-usage_
Created:
July 22, 2018
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Dead battery
A battery below 5% charge is a critical issue and all sorts of exceptions will be implemented by the software. This might include limiting speed until battery goes above 10-30% charge. Which in your case would never happen. You could probably pick up a used / refurbished battery fairly cheaply on eBay or Amazon.
Set to Performance governor in cpufrequtils
From this Ask Ubuntu answer, follow these steps:
Edit the following file (if it doesnβt exist, create it):
sudo nano /etc/default/cpufrequtils
And add the following line to it:
GOVERNOR="performance"
Save and exit.
For changes to immediately take effect without rebooting, run:
sudo /etc/init.d/cpufrequtils restart
Then you can run cpufreq-info
to see informations about your cpu frequency, governor and more:
$ cpufreq-info
current policy: frequency should be within 800 MHz and 3.90 GHz.
The governor "performance" may decide which speed to use
within this range.
From another answer Setting to High Performance: you can see CPU frequency differences between Powersave and Performance governors:
Performance Mode
In performance mode you will then notice CPU% utilization drops by about 5% but also notice speed will increase from about 1000 MHz to 3000 MHz and temperatures will spike by ~10 degree, depending on your processor:
Powersave mode
Switching back to powersave mode CPU% utilization has spiked by 5%, but CPU frequency has dropped by 1500 MHz and temperature has decreased by about 10 degrees. Overall powersave mode is the best for most configurations.