Inferensys

Glossary

Performance States (P-States)

Performance States (P-States) are ACPI-defined operational modes for a processor that represent different combinations of voltage and frequency, allowing the operating system to dynamically scale performance and power consumption.
Developer building agentic RAG system, retrieval pipeline diagram on laptop, technical workspace with notes.
POWER AND THERMAL MANAGEMENT

What are Performance States (P-States)?

Performance States (P-States) are a fundamental hardware control mechanism for managing processor power and performance.

Performance States (P-States) are predefined operational modes for a processor core, defined by the Advanced Configuration and Power Interface (ACPI) standard, that represent discrete combinations of operating voltage and clock frequency. The operating system's power manager dynamically selects between these states—where P0 is the highest performance state and Pn are successively lower states—to scale performance and power consumption in real-time based on workload demand. This technique, a form of Dynamic Voltage and Frequency Scaling (DVFS), is a primary method for optimizing performance per watt.

Each P-State is characterized by a specific voltage-frequency pair, where lowering the frequency often allows a proportional reduction in operating voltage. Since dynamic power scales with the square of the voltage (P ∝ V²), even small voltage reductions yield significant power savings. P-State transitions are managed by the OS in collaboration with platform firmware, allowing fine-grained control over power budgeting and thermal management. In modern System-on-Chip (SoC) designs, P-States are often coordinated with deeper idle C-States and other techniques like clock gating to maximize energy efficiency across varying load conditions.

PERFORMANCE STATES

Key Characteristics of P-States

Performance States (P-States) are ACPI-defined operational modes for a processor that represent different combinations of voltage and frequency, allowing the operating system to dynamically scale performance and power consumption. The following cards detail their core technical attributes.

01

ACPI Standard Definition

P-States are formally defined by the Advanced Configuration and Power Interface (ACPI) specification. This provides a standardized, OS-directed interface for power management.

  • P0: The highest performance state, operating at the base or turbo frequency and voltage.
  • P1 to Pn: Successively lower performance states, each with reduced frequency and voltage.
  • The operating system's CPU governor (e.g., intel_pstate, acpi-cpufreq) selects the appropriate P-State based on workload demand and policy.
02

Voltage-Frequency Coupling

A P-State defines a specific pairing of clock frequency and core voltage. This coupling is fundamental to power management.

  • Dynamic Power scales with the square of the voltage (P ∝ V² * f). Lowering both parameters dramatically reduces power consumption.
  • The relationship is non-linear; voltage must be high enough to support stable operation at a given frequency. This voltage-frequency curve is characterized during silicon manufacturing.
  • Modern processors use Adaptive Voltage Scaling (AVS) to minimize voltage guardbands for each frequency step, improving efficiency beyond static tables.
03

Granularity and Domains

P-State control can be applied at different levels of hardware granularity, affecting scalability and power savings.

  • Per-Core P-States: Modern architectures allow independent P-State control for each CPU core, enabling fine-grained power management.
  • Per-Cluster P-States: In some SoC designs, a group of cores (a cluster) shares a voltage domain and must transition together.
  • Uncore/System Agent: Separate P-States may exist for non-core parts of the processor, like the last-level cache, memory controller, and graphics unit.
04

Transition Latency and Granularity

Switching between P-States incurs a time and energy cost, which influences governor policy.

  • Latency: Transitioning involves locking the phase-locked loop (PLL) to a new frequency and stabilizing the voltage regulator. This can take 10-100 microseconds.
  • Granularity: The number of discrete P-States available. Modern processors have many fine-grained steps (e.g., 100 MHz increments), allowing smoother performance scaling.
  • Governors must weigh the energy saved by entering a lower P-State against the energy and performance cost of the transition itself.
05

Relationship to Other Power States

P-States operate within the broader ACPI power management hierarchy, primarily interacting with C-States and system-level states.

  • C-States (Idle): P-States govern active power. When a core is idle, it first enters a low P-State (often Pn), then may enter a deeper C-State to power-gate circuits and reduce leakage.
  • System States (S-States): During system sleep (S3/Suspend-to-RAM), all cores are powered down, making P-States irrelevant.
  • Throttling States (T-States): An older, cruder throttling mechanism largely superseded by fine-grained P-States.
06

Hardware Implementation & Control

P-State control is implemented through a collaboration of hardware interfaces and firmware.

  • Model-Specific Registers (MSRs): The primary hardware interface. The OS writes to MSRs (e.g., IA32_PERF_CTL) to request a P-State.
  • ACPI _PSS Objects: The firmware provides the _PSS (Performance Supported States) table, listing the available frequency/voltage/power tuples to the OS.
  • Power Control Unit (PCU): A dedicated microcontroller on modern Intel CPUs that manages the final P-State transition, thermal limits, and turbo algorithms.
POWER AND THERMAL MANAGEMENT

How Do Performance States (P-States) Work?

Performance States (P-States) are a fundamental hardware control mechanism for managing the trade-off between computational speed and energy consumption in modern processors and accelerators.

A Performance State (P-State) is an Advanced Configuration and Power Interface (ACPI)-defined operational mode for a processor core or cluster, representing a specific combination of operating voltage and clock frequency. The operating system's power management driver dynamically selects between these predefined states, scaling performance up for demanding workloads or down during lighter activity to conserve power. This mechanism is the primary implementation of Dynamic Voltage and Frequency Scaling (DVFS).

Each P-State is characterized by a voltage-frequency pair, where lower P-State numbers (e.g., P0) denote the highest performance and power, while higher numbers (e.g., Pn) indicate progressively lower, more efficient states. Transitions are managed by the Power Management Unit (PMU) and voltage regulator. The selection algorithm balances immediate performance needs against constraints like Thermal Design Power (TDP) and Running Average Power Limit (RAPL). For neural processing units, P-State control is critical for managing thermals during sustained inference or training bursts.

ACPI POWER MANAGEMENT STATES

P-States vs. C-States: Active vs. Idle Power Management

A comparison of the two primary ACPI-defined processor power management mechanisms: Performance States (P-States) for active workload scaling and Power States (C-States) for idle power reduction.

Feature / CharacteristicPerformance States (P-States)Power States (C-States)

Primary Purpose

Scale active performance and power

Reduce idle/static power

Applicable Processor State

C0 (Active)

C1 through Cn (Idle/Sleep)

Control Mechanism

OS-directed via DVFS (Voltage/Frequency)

OS-initiated, hardware-managed entry/exit

Key Managed Parameters

Core voltage (V) and clock frequency (f)

Core power rails and clock distribution

Latency for Entry/Exit

< 10 µs (frequency/voltage transition)

C1: < 1 µs, C6: 10-100 µs (varies by depth)

Power Savings Source

Reduced dynamic power (∝ CV²f)

Reduced leakage power (static power)

Performance Impact

Scales computational throughput

Adds resume latency; no active throughput

Typical OS Interface

CPUfreq governor (Linux), Power Profiles

CPUidle driver, menu governor

Hardware Coordination

Per-core or per-cluster

Per-core, with package-level coordination (e.g., PC6)

Use Case Trigger

Workload demand prediction, utilization

Core idle detection, scheduler decisions

PERFORMANCE STATES (P-STATES)

Frequently Asked Questions

Performance States (P-States) are a fundamental power management mechanism defined by the ACPI standard, enabling dynamic control of processor voltage and frequency. This FAQ addresses common technical questions about their operation, implementation, and impact on NPU acceleration.

A Performance State (P-State) is an ACPI-defined operational mode for a processor core that specifies a discrete combination of operating voltage and clock frequency, allowing the operating system to dynamically scale performance and power consumption. P-States are enumerated from P0 (highest performance, highest voltage/frequency) to Pn (lowest performance, lowest voltage/frequency). The OS or a power management driver selects the appropriate P-State based on workload demand, thermal conditions, and power policy. This dynamic scaling is a primary mechanism for Dynamic Voltage and Frequency Scaling (DVFS).

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.