cpupower-idle-set.1 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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
  17. Disable a specific processor sleep state.
  18. .TP
  19. \fB\-e\fR \fB\-\-enable\fR
  20. Enable a specific processor sleep state.
  21. .SH "REMARKS"
  22. .LP
  23. Cpuidle Governors Policy on Disabling Sleep States
  24. .RS 4
  25. Depending on the used cpuidle governor, implementing the kernel policy
  26. how to choose sleep states, subsequent sleep states on this core, might get
  27. disabled as well.
  28. There are two cpuidle governors ladder and menu. While the ladder
  29. governor is always available, if CONFIG_CPU_IDLE is selected, the
  30. menu governor additionally requires CONFIG_NO_HZ.
  31. The behavior and the effect of the disable variable depends on the
  32. implementation of a particular governor. In the ladder governor, for
  33. example, it is not coherent, i.e. if one is disabling a light state,
  34. then all deeper states are disabled as well. Likewise, if one enables a
  35. deep state but a lighter state still is disabled, then this has no effect.
  36. .RE
  37. .LP
  38. Disabling the Lightest Sleep State may not have any Affect
  39. .RS 4
  40. If criteria are not met to enter deeper sleep states and the lightest sleep
  41. state is chosen when idle, the kernel may still enter this sleep state,
  42. irrespective of whether it is disabled or not. This is also reflected in
  43. the usage count of the disabled sleep state when using the cpupower idle-info
  44. command.
  45. .RE
  46. .LP
  47. Selecting specific CPU Cores
  48. .RS 4
  49. By default processor sleep states of all CPU cores are set. Please refer
  50. to the cpupower(1) manpage in the \-\-cpu option section how to disable
  51. C-states of specific cores.
  52. .RE
  53. .SH "FILES"
  54. .nf
  55. \fI/sys/devices/system/cpu/cpu*/cpuidle/state*\fP
  56. \fI/sys/devices/system/cpu/cpuidle/*\fP
  57. .fi
  58. .SH "AUTHORS"
  59. .nf
  60. Thomas Renninger <trenn@suse.de>
  61. .fi
  62. .SH "SEE ALSO"
  63. .LP
  64. cpupower(1), cpupower\-monitor(1), cpupower\-info(1), cpupower\-set(1),
  65. cpupower\-idle\-info(1)