CPUPOWER-IDLE-SET(1) | cpupower Manual | CPUPOWER-IDLE-SET(1) |
NAME
cpupower-idle-set - Utility to set cpu idle state specific kernel options
SYNTAX
cpupower [ -c cpulist ] idle-set [options]
DESCRIPTION
The cpupower idle-set subcommand allows to set cpu idle, also called cpu sleep state, specific options offered by the kernel. One example is disabling sleep states. This can be handy for power vs performance tuning.
OPTIONS
- -d --disable <STATE_NO>
- Disable a specific processor sleep state.
- -e --enable <STATE_NO>
- Enable a specific processor sleep state.
- -D --disable-by-latency <LATENCY>
- Disable all idle states with a equal or higher latency than
<LATENCY>.
Enable all idle states with a latency lower than <LATENCY>.
- -E --enable-all
- Enable all idle states if not enabled already.
REMARKS
Cpuidle Governors Policy on Disabling Sleep States
There are two cpuidle governors ladder and menu. While the ladder governor is always available, if CONFIG_CPU_IDLE is selected, the menu governor additionally requires CONFIG_NO_HZ.
The behavior and the effect of the disable variable depends on the implementation of a particular governor. In the ladder governor, for example, it is not coherent, i.e. if one is disabling a light state, then all deeper states are disabled as well. Likewise, if one enables a deep state but a lighter state still is disabled, then this has no effect.
Disabling the Lightest Sleep State may not have any Affect
Selecting specific CPU Cores
FILES
/sys/devices/system/cpu/cpu*/cpuidle/state* /sys/devices/system/cpu/cpuidle/*
AUTHORS
Thomas Renninger <trenn@suse.de>
SEE ALSO
cpupower(1), cpupower-monitor(1), cpupower-info(1), cpupower-set(1), cpupower-idle-info(1)
0.1 |