power-management.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1894 2e3bc2435d68
child 1911 870693ce6ff0
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1894
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 498
diff changeset
     1
.. -*- coding: utf-8; -*-
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 498
diff changeset
     2
.. include:: HEADER.rst
498
71ee42742a81 Enhanced Intel SpeedStepВ® Technology and Demand-Based Switching on Linux
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 497
diff changeset
     3
1894
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 498
diff changeset
     4
==================
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 498
diff changeset
     5
 Power management
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 498
diff changeset
     6
==================
429
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
* ACPI power states.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
  http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
** Global states.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
 * G0 (S0) Working
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
 * G1 Sleeping (subdivides into the four states S1 through S4)
1894
2e3bc2435d68 Convert all files from TXT to RST.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 498
diff changeset
    16
429
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
   * S1: All processor caches are flushed, and the CPU(s) stop executing
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
     instructions. Power to the CPU(s) and RAM is maintained; devices that do
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
     not indicate they must remain on may be powered down.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
   * S2: CPU powered off.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
   * S3: Commonly referred to as Standby, Sleep, or Suspend to RAM. RAM
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
     remains powered.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
   * S4: Hibernation or Suspend to Disk. All content of main memory is saved
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
     to non-volatile memory such as a hard drive, and is powered down.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
 * G2 (S5) Soft Off. G2, S5, and Soft Off are synonyms. G2 is almost the same
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
   as G3 Mechanical Off, but some components remain powered so the computer
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
   can "wake" from input from the keyboard, clock, modem, LAN, or USB device.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
 * G3 Mechanical Off: The computer's power consumption approaches close to
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
   zero, to the point that the power cord can be removed and the system is
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
   safe for dis-assembly (typically, only the real-time clock is running off
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
   its own small battery).
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
** System states.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
 * S0 Working (G0), Processor in C0-C3, full context save RAM maintained
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
 * S1 Sleeping with processor context maintained, RAM maintained
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
 * S2 Sleeping with processor content not necessarily maintained, RAM
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
   maintained, most devices in D3
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
 * S3 Sleeping, lower than S2, RAM maintained, most devices in D3
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
 * S4 Sleeping, lower than S3, RAM not maintained, most devices in D3
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
 * S5 Sleeping, lower than S4, no context saved, reboot necessary
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
** Device states.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
 * D0 Fully-On is the operating state.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
 * D1 and D2 are intermediate power-states whose definition varies by device.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
 * D3 Off has the device powered off and unresponsive to its bus.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
** Processor states.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
 * C0 is the operating state.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
 * C1 (often known as Halt) is a state where the processor is not executing
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
   instructions, but can return to an executing state essentially
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
   instantaneously. All ACPI-conformant processors must support this power state.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
 * C2 (often known as Stop-Clock) is a state where the processor maintains all
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
   software-visible state, but may take longer to wake up. This processor
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
   state is optional.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
 * C3 (often known as Sleep) is a state where the processor does not need to
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
   keep its cache coherent, but maintains other state. Some processors have
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
   variations on the C3 state (Deep Sleep, Deeper Sleep, etc.) that differ in
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    61
   how long it takes to wake the processor. This processor state is optional.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    62
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    63
** Performance states.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    64
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    65
 * P0 max power and frequency.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
 * P1 less than P0, voltage/frequency scaled.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    67
 * Pn less than P(n-1), voltage/frequency scaled.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    69
* Control power schema under Windows.
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    70
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    71
Use powercfg utility. To se current state:
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    72
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    73
  cmd> powercfg /QUERY
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    74
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    75
To see all available states:
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    76
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    77
  cmd> powercfg /LIST
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    78
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    79
To restore power configurtion:
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    80
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    81
  cmd> powercfg /RestoreDefaultPolicies
23003b488928 ACPI power states. Control power schema under Windows.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    82
497
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    83
* Intel.
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    84
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    85
** Intel Speedstep® Technology.
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    86
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    87
  http://www.intel.com/support/processors/sb/CS-028855.htm
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    88
                Frequently asked questions for Intel Speedstep® Technology
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    89
  http://www.intel.com/p/en_US/support/highlights/processors/frequencyid
8550e7dc31e1 Intel SpeedstepВ® Technology.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 429
diff changeset
    90
                Intel® Processor Frequency ID Utility
498
71ee42742a81 Enhanced Intel SpeedStepВ® Technology and Demand-Based Switching on Linux
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 497
diff changeset
    91
  http://software.intel.com/en-us/articles/enhanced-intel-speedstepr-technology-and-demand-based-switching-on-linux
71ee42742a81 Enhanced Intel SpeedStepВ® Technology and Demand-Based Switching on Linux
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 497
diff changeset
    92
                Enhanced Intel SpeedStep® Technology and Demand-Based Switching on Linux