cpupower-idle-info.1 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. .TH "CPUPOWER-IDLE-INFO" "1" "0.1" "" "cpupower Manual"
  2. .SH "NAME"
  3. .LP
  4. cpupower idle\-info \- Utility to retrieve cpu idle kernel information
  5. .SH "SYNTAX"
  6. .LP
  7. cpupower [ \-c cpulist ] idle\-info [\fIoptions\fP]
  8. .SH "DESCRIPTION"
  9. .LP
  10. A tool which prints out per cpu idle information helpful to developers and interested users.
  11. .SH "OPTIONS"
  12. .LP
  13. .TP
  14. \fB\-f\fR \fB\-\-silent\fR
  15. Only print a summary of all available C-states in the system.
  16. .TP
  17. \fB\-e\fR \fB\-\-proc\fR
  18. deprecated.
  19. Prints out idle information in old /proc/acpi/processor/*/power format. This
  20. interface has been removed from the kernel for quite some time, do not let
  21. further code depend on this option, best do not use it.
  22. .SH IDLE\-INFO DESCRIPTIONS
  23. CPU sleep state statistics and descriptions are retrieved from sysfs files,
  24. exported by the cpuidle kernel subsystem. The kernel only updates these
  25. statistics when it enters or leaves an idle state, therefore on a very idle or
  26. a very busy system, these statistics may not be accurate. They still provide a
  27. good overview about the usage and availability of processor sleep states on
  28. the platform.
  29. Be aware that the sleep states as exported by the hardware or BIOS and used by
  30. the Linux kernel may not exactly reflect the capabilities of the
  31. processor. This often is the case on the X86 architecture when the acpi_idle
  32. driver is used. It is also possible that the hardware overrules the kernel
  33. requests, due to internal activity monitors or other reasons.
  34. On recent X86 platforms it is often possible to read out hardware registers
  35. which monitor the duration of sleep states the processor resided in. The
  36. cpupower monitor tool (cpupower\-monitor(1)) can be used to show real sleep
  37. state residencies. Please refer to the architecture specific description
  38. section below.
  39. .SH IDLE\-INFO ARCHITECTURE SPECIFIC DESCRIPTIONS
  40. .SS "X86"
  41. POLL idle state
  42. If cpuidle is active, X86 platforms have one special idle state.
  43. The POLL idle state is not a real idle state, it does not save any
  44. power. Instead, a busy\-loop is executed doing nothing for a short period of
  45. time. This state is used if the kernel knows that work has to be processed
  46. very soon and entering any real hardware idle state may result in a slight
  47. performance penalty.
  48. There exist two different cpuidle drivers on the X86 architecture platform:
  49. "acpi_idle" cpuidle driver
  50. The acpi_idle cpuidle driver retrieves available sleep states (C\-states) from
  51. the ACPI BIOS tables (from the _CST ACPI function on recent platforms or from
  52. the FADT BIOS table on older ones).
  53. The C1 state is not retrieved from ACPI tables. If the C1 state is entered,
  54. the kernel will call the hlt instruction (or mwait on Intel).
  55. "intel_idle" cpuidle driver
  56. In kernel 2.6.36 the intel_idle driver was introduced.
  57. It only serves recent Intel CPUs (Nehalem, Westmere, Sandybridge, Atoms or
  58. newer). On older Intel CPUs the acpi_idle driver is still used (if the BIOS
  59. provides C\-state ACPI tables).
  60. The intel_idle driver knows the sleep state capabilities of the processor and
  61. ignores ACPI BIOS exported processor sleep states tables.
  62. .SH "REMARKS"
  63. .LP
  64. By default only values of core zero are displayed. How to display settings of
  65. other cores is described in the cpupower(1) manpage in the \-\-cpu option
  66. section.
  67. .SH REFERENCES
  68. http://www.acpi.info/spec.htm
  69. .SH "FILES"
  70. .nf
  71. \fI/sys/devices/system/cpu/cpu*/cpuidle/state*\fP
  72. \fI/sys/devices/system/cpu/cpuidle/*\fP
  73. .fi
  74. .SH "AUTHORS"
  75. .nf
  76. Thomas Renninger <trenn@suse.de>
  77. .fi
  78. .SH "SEE ALSO"
  79. .LP
  80. cpupower(1), cpupower\-monitor(1), cpupower\-info(1), cpupower\-set(1),
  81. cpupower\-idle\-set(1)