The Cookie Machine - Click here to drag window

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

Views: 2,261β€…    Votes:  2β€…    βœ… Solution
Tags: xubuntu   performance   cpu   governor  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/1142294
Title: CPU governor changes automatically to "performance" under load
ID: /2019/05/11/CPU-governor-changes-automatically-to-_performance_-under-load
Created: May 11, 2019
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


cpufreqd is a frequency management daemon installed with:

sudo apt install cpufreqd

A configuration file cpufreqd.conf is used to change frequencies. There are two sections where you can see it changing governor to β€œperformance”:

[Profile]
name=hi_boost
minfreq=0%
maxfreq=100%
policy=performance

# full power when AC
[Rule]
name=AC_on
ac=on                   # (on/off)
profile=hi_boost

It’s harder to figure out when it changes to β€œpowersave” unless the battery charger is unplugged.

Since kernel 3.4 cpufreq is built into the kernel and loaded automatically. It includes frequency management daemon called thermald. As such there isn’t much a need for cpufreqd anymore and it may have conflicted on your system.

For even greater customization under battery power the tlp package is commonly used these days.

⇧ GUI or simple Bash script to throttle the CPU? Can 'sudo apt-get remove [write]' destroy my Ubuntu?  β‡©