LinuxCommandLibrary

cpufreq-set

modify CPU frequency scaling settings

TLDR

Set CPU frequency governor

$ sudo cpufreq-set -c [1] -g [userspace]
copy
Set minimum CPU frequency
$ sudo cpufreq-set -c [1] -d [min_frequency]
copy
Set maximum CPU frequency
$ sudo cpufreq-set -c [1] -u [max_frequency]
copy
Set specific frequency
$ sudo cpufreq-set -c [1] -f [frequency]
copy

SYNOPSIS

cpufreq-set [options]

DESCRIPTION

cpufreq-set modifies CPU frequency settings including governor, minimum/maximum frequencies, and fixed frequency. Frequency values should be within the range shown by cpufreq-info -l.
Part of the cpufrequtils package for CPU frequency scaling management.

PARAMETERS

-c, --cpu cpu

Specify CPU number
-g, --governor governor
Set frequency governor (ondemand, powersave, performance, userspace)
-d, --min freq
Set minimum frequency
-u, --max freq
Set maximum frequency
-f, --freq freq
Set specific frequency (requires userspace governor)

CAVEATS

Requires root privileges. Setting a fixed frequency requires the userspace governor. Available governors depend on kernel configuration. Settings may not persist across reboots.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community