The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 2,484β€…    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: November 24, 2022    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:

CPU Performance mode.gif


Powersave mode

CPU powersave.gif

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.

⇧ How to maximize the life of a pendrive which has a full installation of Ubuntu MATE 18.04 on it Brightness wont go up or down and is stuck on max setting! Tried others solutions but still no fix! Please someone help!  β‡©