Files
oam/knowledge base/cpupower.md
2023-09-14 00:24:11 +02:00

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: