3.2.3. Tuning CPUfreq Policy and Speed
cpupower frequency-infocommand and further tune the speed of each CPU with options for
cpupower frequency-info, the following options are available:
--freq— Shows the current speed of the CPU according to the CPUfreq core, in KHz.
--hwfreq— Shows the current speed of the CPU according to the hardware, in KHz (only available as root).
--driver— Shows what CPUfreq driver is used to set the frequency on this CPU.
--governors— Shows the CPUfreq governors available in this kernel. If you wish to use a CPUfreq governor that is not listed in this file, refer to Procedure 3.2, “Enabling a CPUfreq Governor” in Section 3.2.2, “CPUfreq Setup” for instructions on how to do so.
--affected-cpus— Lists CPUs that require frequency coordination software.
--policy— Shows the range of the current CPUfreq policy, in KHz, and the currently active governor.
--hwlimits— Lists available frequencies for the CPU, in KHz.
cpupower frequency-set, the following options are available:
/sys/devices/system/cpu/[cpuid]/cpufreq/. Settings and values can be changed by writing to these tunables. For example, to set the minimum clock speed of cpu0 to 360 KHz, use:
echo 360000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq