The Cookie Machine - Click here to drag window

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

If you can read me, I'm broken!

Views: 1,193     Votes:  1     ✅ Solution
Tags: gnome   17.10   cpufreq   conky  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1021174
Title: cpufreq gnome extension keeps reverting to powersave
ID: /2018/04/01/cpufreq-gnome-extension-keeps-reverting-to-powersave
Created: April 1, 2018    Edited:  April 2, 2018
Upload: March 26, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


In your /etc/init.d/cpufrequtils file change:

GOVERNOR="ondemand"

to:

GOVERNOR="performance"

Leave the rest of the line as is. Save and reboot.


TL;DR - old answer below

As far as Intel speed governors go:

That said your processor may not even support picking between performance and powersave.

To view available speed governors use this command:

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors 
performance powersave

If you do have more than one governor you can check what is currently in use with this command:

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
powersave

To change your processor to performance mode use:

$ echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance

You will then notice CPU% utilization drop 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


I have noticed that even when set to powersave mode (as I always use) when Ubuntu first boots it runs in performance mode for 90 seconds before it eventually kicks into powersave mode.

None-the-less after manually setting the governor to performance mode using the appropriate command above. It has stayed in performance mode for 10 minutes now as confirmed by using the appropriate command above and doubly confirmed by conky display above.


I left the governor set on performance for 30 minutes and it worked just fine. It might interest some readers what the conky display looks like when switching off of performance governor back to the default powersave governor:

CPU powersave.gif

CPU% utilization has spiked by 5%, but CPU frequency has dropped by 1500 MHz and temperature has decreased by about 10 degrees. Overall I think powersave mode is the best for most configurations.

⇧ uninstalled nvidia drivers still showing in "additional drivers" tab How do I copy files and change directory read/write permissions using the GUI?  ⇩