blob: 3e6799d7a79f1d951f1d6e95f65f337663c8f286 [file] [log] [blame]
Thomas Renninger5094d272013-11-16 14:39:21 +01001.TH "CPUPOWER-IDLE-SET" "1" "0.1" "" "cpupower Manual"
2.SH "NAME"
3.LP
4cpupower idle\-set \- Utility to set cpu idle state specific kernel options
5.SH "SYNTAX"
6.LP
7cpupower [ \-c cpulist ] idle\-info [\fIoptions\fP]
8.SH "DESCRIPTION"
9.LP
10The cpupower idle\-set subcommand allows to set cpu idle, also called cpu
11sleep state, specific options offered by the kernel. One example is disabling
12sleep states. This can be handy for power vs performance tuning.
13.SH "OPTIONS"
14.LP
15.TP
Thomas Renninger69cd5022014-05-13 12:41:41 +020016\fB\-d\fR \fB\-\-disable\fR <STATE_NO>
Thomas Renninger5094d272013-11-16 14:39:21 +010017Disable a specific processor sleep state.
18.TP
Thomas Renninger69cd5022014-05-13 12:41:41 +020019\fB\-e\fR \fB\-\-enable\fR <STATE_NO>
Thomas Renninger5094d272013-11-16 14:39:21 +010020Enable a specific processor sleep state.
Thomas Renninger69cd5022014-05-13 12:41:41 +020021.TP
22\fB\-D\fR \fB\-\-disable-by-latency\fR <LATENCY>
23Disable all idle states with a equal or higher latency than <LATENCY>
24.TP
25\fB\-E\fR \fB\-\-enable-all\fR
26Enable all idle states if not enabled already.
Thomas Renninger5094d272013-11-16 14:39:21 +010027
28.SH "REMARKS"
29.LP
30Cpuidle Governors Policy on Disabling Sleep States
31
32.RS 4
33Depending on the used cpuidle governor, implementing the kernel policy
34how to choose sleep states, subsequent sleep states on this core, might get
35disabled as well.
36
37There are two cpuidle governors ladder and menu. While the ladder
38governor is always available, if CONFIG_CPU_IDLE is selected, the
39menu governor additionally requires CONFIG_NO_HZ.
40
41The behavior and the effect of the disable variable depends on the
42implementation of a particular governor. In the ladder governor, for
43example, it is not coherent, i.e. if one is disabling a light state,
44then all deeper states are disabled as well. Likewise, if one enables a
45deep state but a lighter state still is disabled, then this has no effect.
46.RE
47.LP
48Disabling the Lightest Sleep State may not have any Affect
49
50.RS 4
51If criteria are not met to enter deeper sleep states and the lightest sleep
52state is chosen when idle, the kernel may still enter this sleep state,
53irrespective of whether it is disabled or not. This is also reflected in
54the usage count of the disabled sleep state when using the cpupower idle-info
55command.
56.RE
57.LP
58Selecting specific CPU Cores
59
60.RS 4
61By default processor sleep states of all CPU cores are set. Please refer
62to the cpupower(1) manpage in the \-\-cpu option section how to disable
63C-states of specific cores.
64.RE
65.SH "FILES"
66.nf
67\fI/sys/devices/system/cpu/cpu*/cpuidle/state*\fP
68\fI/sys/devices/system/cpu/cpuidle/*\fP
69.fi
70.SH "AUTHORS"
71.nf
72Thomas Renninger <trenn@suse.de>
73.fi
74.SH "SEE ALSO"
75.LP
76cpupower(1), cpupower\-monitor(1), cpupower\-info(1), cpupower\-set(1),
77cpupower\-idle\-info(1)