MAN page from CentOS 7 kernel-plus-tools-3.10.0-1160.21.1.el7.centos.plus.x86_64.rpm
Section: cpupower Manual (1)
cpupower idle-set - Utility to set cpu idle state specific kernel options
cpupower [ -c cpulist ] idle-info [options]
The cpupower idle-set subcommand allows to set cpu idle, also called cpusleep state, specific options offered by the kernel. One example is disablingsleep states. This can be handy for power vs performance tuning.
- -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.
Cpuidle Governors Policy on Disabling Sleep States
- Depending on the used cpuidle governor, implementing the kernel policyhow to choose sleep states, subsequent sleep states on this core, might getdisabled as well.
There are two cpuidle governors ladder and menu. While the laddergovernor is always available, if CONFIG_CPU_IDLE is selected, themenu governor additionally requires CONFIG_NO_HZ.
The behavior and the effect of the disable variable depends on theimplementation of a particular governor. In the ladder governor, forexample, 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 adeep state but a lighter state still is disabled, then this has no effect.
Disabling the Lightest Sleep State may not have any Affect
- If criteria are not met to enter deeper sleep states and the lightest sleepstate is chosen when idle, the kernel may still enter this sleep state,irrespective of whether it is disabled or not. This is also reflected inthe usage count of the disabled sleep state when using the cpupower idle-infocommand.
Selecting specific CPU Cores
- By default processor sleep states of all CPU cores are set. Please referto the cpupower(1) manpage in the --cpu option section how to disableC-states of specific cores.
Thomas Renninger <trennAATTsuse.de>
cpupower(1), cpupower-monitor(1), cpupower-info(1), cpupower-set(1),cpupower-idle-info(1)
- SEE ALSO
This document was created byman2html,using the manual pages.