mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
1017 B
1017 B
Cpupower
Default governor is ondemand for older CPUs and kernels and schedutil for new CPUs and kernels.
TL;DR
# Install.
sudo apt install 'linux-cpupower'
sudo dnf install 'kernel-tools'
# List the available governors.
cpupower frequency-info --governors
# Get the current active governor.
cpupower frequency-info --policy
# Set a new governor until reboot.
sudo cpupower frequency-set -g 'performance'
sudo cpupower frequency-set --governor 'powersave'
sudo cpupower frequency-set --governor 'schedutil'
Further readings
Sources
All the references in the further readings section, plus the following: