Product SiteDocumentation Site

Chapter 3. Core Infrastructure and Mechanics

3.1. CPU Idle States
3.2. Using CPUfreq Governors
3.2.1. CPUfreq Governor Types
3.2.2. CPUfreq Setup
3.2.3. Tuning CPUfreq Policy and Speed
3.3. CPU Monitors
3.4. CPU Power Saving Policies
3.5. Suspend and Resume
3.6. Tickless Kernel
3.7. Active-State Power Management
3.8. Aggressive Link Power Management
3.9. Relatime Drive Access Optimization
3.10. Power Capping
3.11. Enhanced Graphics Power Management
3.12. RFKill
3.13. Optimizations in User Space

Package required for cpupower

To use the cpupower command featured in this chapter, ensure you have the kernel-tools package installed.

3.1. CPU Idle States

CPUs with the x86 architecture support various states in which parts of the CPU are deactivated or run at lower performance settings. These states, known as C-states, allow systems to save power by partially deactivating CPUs that are not in use. C-states are numbered from C0 upwards, with higher numbers representing decreased CPU functionality and greater power saving. C-States of a given number are broadly similar across processors, although the exact details of the specific feature sets of the state may vary between processor families. C-States 0–3 are defined as follows:
the operating or running state. In this state, the CPU is working and not idle at all.
C1, Halt
a state where the processor is not executing any instructions but is typically not in a lower power state. The CPU can continue processing with practically no delay. All processors offering C-States need to support this state. Pentium 4 processors support an enhanced C1 state called C1E that actually is a state for lower power consumption.
C2, Stop-Clock
a state where the the clock is frozen for this processor but it keeps the complete state for its registers and caches, so after starting the clock again it can immediately start processing again. This is an optional state.
C3, Sleep
a state where the processor really goes to sleep and does not need to keep its cache up to date. Waking up from this state takes considerably longer than from C2 due to this. Again this is an optional state.
To view available idle states and other statistics for the CPUidle driver, run the following command:
cpupower idle-info
Recent Intel CPUs with the "Nehalem" microarchitecture feature a new C-State, C6, which can reduce the voltage supply of a CPU to zero, but typically reduces power consumption by between 80% and 90%. The kernel in Fedora 20 includes optimizations for this new C-State.