cpupower-idle-set.1 2.4 KB

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