The Running Average Power Limit (RAPL) is an Intel hardware feature and software interface that enables monitoring and enforcement of power consumption limits for processor packages, DRAM, and other domains over a specified time window. It provides a hardware-enforced power cap, allowing system software to define a power budget that the processor will not exceed, averaging consumption over a programmable period to permit brief performance bursts while staying within a thermal envelope. This is a foundational technology for power budgeting and Dynamic Thermal Management (DTM) in servers and high-performance computing.
Glossary
Running Average Power Limit (RAPL)

What is Running Average Power Limit (RAPL)?
Running Average Power Limit (RAPL) is an Intel hardware feature and software interface for monitoring and enforcing power consumption limits on processors and memory.
RAPL operates through Model-Specific Registers (MSRs) or a Platform-Level Data Model (PLDM) interface, exposing power usage data and control knobs to the operating system or management software. It is intrinsically linked to Performance States (P-States) and Thermal Throttling, as exceeding a set power limit triggers hardware to reduce frequency and voltage. This interface is critical for optimizing Performance per Watt in data centers and is a key component of the broader Advanced Configuration and Power Interface (ACPI) ecosystem for system-level power management.
Key Features of RAPL
Running Average Power Limit (RAPL) is an Intel hardware feature providing a software-accessible interface for monitoring and enforcing power consumption limits across processor domains over a configurable time window. Its core architecture is built around power planes, energy counters, and policy enforcement logic.
Power Domain Hierarchy
RAPL organizes power control into distinct, hierarchical domains, each with its own power budget and monitoring capabilities. The primary domains are:
- Package (PKG): Controls the entire processor socket, including cores, integrated graphics, and last-level cache.
- Power Plane 0 (PP0): Governs the power for the processor cores only.
- Power Plane 1 (PP1): Manages power for the integrated graphics processor (GPU) on client CPUs.
- DRAM: Controls the power for the attached system memory. This domain is a key differentiator, allowing direct management of a major system power consumer.
Not all domains are available on every processor generation. The hierarchy allows for granular control, enabling system designers to prioritize power for critical components like cores while constraining others.
Time-Averaged Power Enforcement
The defining characteristic of RAPL is its enforcement of a running average power limit, not an instantaneous peak. This is governed by two key parameters set in model-specific registers (MSRs):
- Power Limit (PL): The target average power consumption in watts.
- Time Window (TW): The period, typically between 1 millisecond and 60 seconds, over which the average is calculated.
The hardware continuously monitors energy use via its Energy Status Unit. If the calculated average power over the most recent time window exceeds the PL, the processor will trigger power-limiting actions, such as throttling frequency via DVFS. This approach allows for short bursts of high performance (exceeding the PL) as long as the average over the window is maintained, providing a more flexible and performance-friendly constraint than a hard instantaneous cap.
Hardware Energy Counters
RAPL provides MSR-based energy counters that report energy consumption in fixed, hardware-specific units (e.g., 15.3 microjoules per increment on many Intel CPUs). These counters are:
- Architectural: They provide a consistent software interface across generations.
- Accurate: They measure actual energy drawn from the voltage regulator, not estimated values.
- Low-Overhead: Reading them has minimal performance impact, enabling fine-grained power profiling.
Software, including OS kernels and profiling tools like Linux perf and Intel PCM, can read these counters to monitor power usage per domain in real-time. This data is critical for performance-per-watt analysis, detecting power anomalies, and validating that power-limiting policies are effective.
Multi-Level Policy Interface
RAPL supports configurable power policies at multiple privilege levels, enabling a cooperative power management model:
- Platform Firmware (BIOS/UEFI): Sets the default long-term power limits (PL1) and time windows, defining the chip's Thermal Design Power (TDP) envelope.
- Operating System Kernel: Can dynamically set short-term turbo power limits (PL2) and adjust time windows via MSR writes. The Linux powercap framework exposes RAPL domains as control files (
/sys/class/powercap/). - Privileged User Software: Applications with appropriate permissions (e.g., root) can read energy counters and, on some systems, modify power limits for specialized workloads.
This layered interface allows the OS to respond to immediate thermal events while respecting the platform's sustained power constraints defined by the firmware.
Integration with System Power Management
RAPL does not operate in isolation; it is a core component of a larger power and thermal management ecosystem:
- Dynamic Voltage and Frequency Scaling (DVFS): This is the primary mechanism RAPL uses to enforce power limits. When a limit is exceeded, the hardware requests lower P-states.
- Thermal Throttling: RAPL actions work in concert with thermal control. A thermal event may force power reduction, which RAPL then manages within its policy windows.
- ACPI & OS PM: RAPL domains and limits are often reflected in the Advanced Configuration and Power Interface (ACPI) tables, allowing the OS power governor to make informed scheduling decisions.
- Power Budgeting: In multi-socket servers, RAPL data is used for platform-level power budgeting, allocating total system power between sockets and memory to stay within the rack's power supply capacity.
Use Cases and Practical Applications
RAPL's features enable several critical applications in modern computing:
- Data Center Power Capping: System administrators can set a firm power ceiling for servers to prevent circuit overloads and reduce electricity costs, using RAPL as the enforcement mechanism.
- Thermal Management in Compact Devices: In laptops and embedded systems, RAPL helps maintain skin temperature within comfort limits by constraining package power.
- Performance-Per-Watt Optimization: Developers and researchers use RAPL energy counters to profile algorithms and identify code sections with poor energy efficiency.
- Predicting Battery Life: In mobile systems, monitoring DRAM and package power via RAPL provides a more accurate estimate of remaining battery life under load than simple voltage sampling.
- Enforcing Power Contracts: In cloud environments, RAPL can be used to guarantee that a virtual machine does not exceed its allocated power budget, a crucial capability for density optimization.
How RAPL Works: Mechanism and Implementation
Running Average Power Limit (RAPL) is a hardware-level power management feature that enables software to monitor and enforce power consumption limits for processor domains over a configurable time window.
RAPL operates via dedicated energy counters and power control units embedded in the processor's uncore logic. These hardware structures continuously measure energy consumption for domains like the package (PKG), power plane 0 (PP0) for cores, and DRAM. The power limiting mechanism enforces a user-defined power budget by dynamically adjusting processor frequency and voltage, using a proportional-integral (PI) controller to stay within the limit over the specified averaging window, typically 1 millisecond to 10 seconds.
Software interacts with RAPL through model-specific registers (MSRs) or, on Linux, the powercap framework, which exposes control files in /sys/class/powercap. Implementation involves configuring power limits, time windows, and clamping behavior. The system firmware or OS kernel reads the energy status MSRs, which report consumption in fixed hardware units, and applies a energy unit multiplier to convert to joules. This provides a direct, low-overhead interface for power capping and thermal management without OS scheduler intervention.
RAPL vs. Other Power Management Techniques
A technical comparison of Intel's Running Average Power Limit (RAPL) with other foundational hardware and software power management techniques, highlighting their distinct mechanisms, domains of control, and typical use cases.
| Feature / Mechanism | Running Average Power Limit (RAPL) | Dynamic Voltage & Frequency Scaling (DVFS) | Power & Clock Gating |
|---|---|---|---|
Primary Control Mechanism | Hardware-enforced average power limit over a time window | Dynamic adjustment of voltage and clock frequency | Selective disconnection of power or clock signal |
Control Granularity | Package, DRAM, and sub-domain levels (e.g., PP0, PP1) | Per-core or per-cluster frequency/voltage domains | Fine-grained, at the level of individual circuit blocks or registers |
Primary Power Target | Total package/domain power (dynamic + leakage) | Dynamic power (P_dynamic = αCV²f) | Dynamic power (clock gating) or total power (power gating) |
Typical Response Time | ~1 millisecond (hardware-controlled) | < 100 microseconds (OS/firmware-controlled) | Nanoseconds to microseconds (hardware-controlled) |
Key Use Case | Enforcing a strict, long-term power or thermal budget (TDP) | Optimizing performance-per-watt for a given workload | Eliminating idle power waste in inactive circuit blocks |
Software Interface | Model-Specific Registers (MSRs) via kernel driver or userspace (e.g., perf, powercap) | ACPI P-States via OS governor (e.g., intel_pstate, schedutil) | Automated by hardware RTL and synthesis tools; managed by PMU |
Static Power (Leakage) Reduction | Indirectly, by limiting total power which forces voltage/frequency reduction | Directly, via voltage scaling (V² component) | Directly and completely, via power switch disconnection (power gating) |
Typical Implementation Level | Uncore hardware (Power Control Unit - PCU) | Clock generation and voltage regulator hardware | Register-transfer level (RTL) design, using isolation cells and switches |
Interaction with Thermal Management | Direct; often used as the actuator for thermal throttling policies | Direct; primary actuator for Dynamic Thermal Management (DTM) | Indirect; reduces heat generation, aiding thermal management |
Frequently Asked Questions
Running Average Power Limit (RAPL) is an Intel hardware feature and interface for monitoring and enforcing power consumption limits. These FAQs address its core mechanisms, applications, and relationship to other power management techniques.
Running Average Power Limit (RAPL) is an Intel hardware feature and software interface that allows for the monitoring and enforcement of power consumption limits for processor packages, DRAM, and other domains over a specified time window. Introduced with the Sandy Bridge microarchitecture, RAPL provides a hardware-enforced mechanism to cap average power draw, preventing thermal and electrical overloads by dynamically adjusting processor performance states (P-States) when a predefined power budget is exceeded. It operates by measuring energy consumption using integrated Power Control Units (PCUs) and Model-Specific Registers (MSRs), applying corrective actions like frequency scaling to maintain the running average within the set limit. This is distinct from a simple instantaneous power cap, as it allows for short bursts of high power consumption as long as the average over the time window remains compliant.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Running Average Power Limit (RAPL) operates within a broader ecosystem of hardware and software techniques for managing energy consumption and heat dissipation in modern processors and accelerators.
Dynamic Voltage and Frequency Scaling (DVFS)
A foundational power management technique that dynamically adjusts a processor's operating voltage and clock frequency based on real-time workload demands. It is a primary actuator for RAPL's power capping.
- Mechanism: Reduces voltage (V) and frequency (f) during low-utilization periods.
- Power Savings: Since dynamic power scales with V² * f, even small voltage reductions yield significant efficiency gains.
- Interaction with RAPL: When a RAPL power limit is approached, the system often uses DVFS to throttle performance and stay within the enforced budget.
Thermal Design Power (TDP)
A thermal specification, expressed in watts, representing the maximum sustained heat a chip's cooling system is designed to dissipate under a defined high-complexity workload.
- Design Target: Guides heatsink and system cooling design.
- vs. RAPL: TDP is a static, long-term thermal guideline. RAPL is a dynamic, software-controlled interface for enforcing real-time power limits, which can be set below, at, or (for short bursts) above the TDP.
- Practical Use: RAPL allows system integrators to enforce a platform-specific power budget that may differ from the chip's nominal TDP.
Advanced Configuration and Power Interface (ACPI)
The open industry standard that defines power management and configuration interfaces between an operating system and platform firmware. RAPL is often exposed to the OS through ACPI-defined objects and methods.
- Role: Provides a unified abstraction for hardware power features.
- P-States & C-States: ACPI defines Performance States (voltage/frequency pairs) and Idle Power States (sleep states), which are coordinated with RAPL enforcement.
- Platform Integration: The _PCT (Performance Control) and _PSS (Performance Supported States) ACPI tables communicate the available DVFS controls that RAPL utilizes.
Power Delivery Network (PDN)
The physical infrastructure—including voltage regulators, package interconnects, on-die power grids, and decoupling capacitors—that delivers stable, clean power from the source to all transistors.
- Critical Constraint: RAPL's effectiveness is bounded by the PDN's capability to respond rapidly to load changes.
- Voltage Droop: Fast power transients can cause temporary voltage drops. RAPL's averaging window helps smooth demand, reducing stress on the PDN.
- Integration: Modern PDNs include integrated voltage regulators (IVRs) on-package, enabling finer-grained, faster power control that RAPL can leverage.
Performance per Watt
The key efficiency metric for evaluating processors and accelerators, calculated as computational throughput (e.g., FLOPS, inferences/sec) divided by power consumed (Watts).
- RAPL's Purpose: Directly enables optimization of this metric by allowing software to explore the performance-power Pareto frontier.
- Use Case: In data centers, RAPL is used to cap power during peak demand or to maximize throughput within a fixed rack-level power budget, directly improving aggregate performance per watt.
- Trade-off: Enforcing a strict RAPL limit trades peak single-thread performance for better multi-core efficiency under a thermal or power constraint.
Dynamic Thermal Management (DTM)
A system of proactive techniques that monitor on-die temperature sensors and apply corrective actions to prevent overheating.
- Safety Net: DTM acts as a last-line, hardware-enforced protection. If temperatures exceed a critical threshold, DTM will throttle performance aggressively.
- vs. RAPL: RAPL is a proactive, power-centric control loop. DTM is a reactive, temperature-centric safety mechanism. They work in tandem: RAPL manages power to stay within a budget and avoid triggering DTM.
- Holistic View: Effective system design uses RAPL for planned power capping and relies on DTM only for handling unexpected thermal emergencies.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us