What is Active State Power Manager and how does it affect performance?

  • Active State Power Management (ASPM) manages the power states of PCIe links to reduce consumption when there is no active data transfer.
  • Activating it improves energy efficiency at the cost of adding some latency, making it especially useful in laptops and less of a priority in high-performance equipment.
  • Proper implementation depends on BIOS/UEFI, operating system and drivers, and may be disabled on problematic hardware or servers where stability is prioritized.
  • ASPM is part of the ACPI ecosystem and coexists with states G, D, C and P, which coordinate the overall balance between performance, consumption and temperature of the system.

What is Active State Power Manager?

If you've ever seen something like "PCI Express Active-State Power Management (ASPM) disabled" in a Windows power report And if you're left with a blank stare, don't worry: you're not alone. This technology sounds very technical, but it really boils down to how your computer decides to balance power consumption and performance when PCI Express devices aren't running at full capacity.

Understanding what Active State Power Manager is and how it affects performance is key. Whether you're using a laptop and want to maximize battery life, or managing servers or powerful PCs and are more concerned with stability and peak performance than saving a few watts, we'll break it down carefully, linking it to other concepts like PCIe, ACPI, power states, BIOS/UEFI, and Windows and Linux power options.

What is Active State Power Management (ASPM) in PCI Express?

Active State Power Management (ASPM) is an energy-saving mechanism integrated into the PCI Express standard ASPM manages the consumption of PCIe links when connected devices are not actively transmitting data. Instead of keeping the link always "at full load," ASPM allows that link between the CPU or chipset and the PCIe device to go into low load. low energy states during periods of inactivity.

The basic idea is very simple: when there is no data traffic, the link "relaxes"It consumes less energy and generates less heat. When it is needed again, the link returns to its active state. This transition is not without cost: it adds some latencyAnd that's where the balance between performance and efficiency comes in.

ASPM monitors the power state at both ends of the PCIe link. (for example, the chipset's PCIe controller and the graphics card(or the NVMe controller). This means that the savings occur not only in the device, but also in the physical link itself (the PCIe transport layer), even when the PCIe device itself remains in a "fully operational" power state.

In Linux systems, the global behavior of ASPM is managed from the kernel module corresponding to PCIeThere is a module parameter exposed in /sys/module/pcie_aspm/parameters/policy where the policy to be applied is defined. Additionally, parameters such as [the following] can be used during kernel startup. pcie_aspm=off to disable it globally or pcie_aspm=force to force ASPM even on devices that, in theory, do not support it correctly (something that can cause problems on problematic hardware).

Relationship between ASPM, Link State Power Management and power options in Windows

In Windows, this usually appears in the power options as “Link State Power Management” (or “Link-State Power Management”) is, in essence, the way the operating system exposes and controls the ASPM policy of compatible PCIe links.

This configuration is within the energy planIn the usual path: Settings → System → Power & sleep → Additional power settings → Change plan settings → Change advanced power settings. Within the advanced options, under “PCI Express”, you will find “Link-state power management”.

Windows typically offers three levels of behavior for Link State Power Management which, conceptually, correspond to different degrees of savings and latency:

  • DisabledThe PCIe link does not enter power-saving states; performance and low latency are prioritized.
  • Moderate energy savingsThe system applies an intermediate level of energy saving. Consumption is reduced somewhat, but the recovery time from the low-consumption state is relatively fast.
  • Maximum energy savingsThe link is aggressively shut down when there is no traffic; consumption drops further, but the wake-up time from the low-power state is longer.

On a laptop, choosing between moderate or maximum can make a significant difference in battery life.Especially if the computer spends a significant amount of time performing light tasks like browsing or watching videos. On a desktop or gaming PC, many users choose to leave it disabled to avoid any potential latency and maximize every FPS.

How ASPM affects performance and battery life

The most obvious impact of ASPM is seen on two fronts: performance (latency) and energy consumptionThey are two sides of the same coin, and playing with the settings means prioritizing one or the other.

When ASPM is enabled and in aggressive modes, the system manages to reduce power consumption on PCIe links. provided they are not actively transferring data. This is especially noticeable in:

  • Portables, which depend on battery power and appreciate every watt saved.
  • Systems with many PCIe devices (graphics cards, NICs, storage controllers, etc.), where the cumulative savings can be significant.
  • Highly dense data center and server environmentswhere a few watts per server scale to large figures at the rack or data center level.

The price to pay is the latency introduced when transitioning from a low-power state to an active state.In general use (office applications, browsing, multimedia playback), this latency is usually imperceptible to the user. However, in demanding scenarios—gaming, low network latency, intensive storage loads—it can have a marginal, though typically small, effect.

Some analyses and studies have mentioned improvements in energy efficiency and PCIe bus usage of up to 20% with proper ASPM managementThis doesn't mean your device will run 20% faster, but rather that for the same workload it can consume less energy and generate less heat, which is especially interesting for laptops and mobile devices.

In Windows, it is common for tools like powercfg -energy show errors related to ASPM of the type: “PCI Express Active-State Power Management (ASPM) disabled due to a known incompatibility with this computer's hardware.” In these cases, Windows has decided to block ASPM for safety reasons, because it knows that a certain component does not handle it well and could cause crashes, device disconnections, or instability.

Typical problems: ASPM errors, batteries, and hardware compatibility

Many users first encounter ASPM when investigating battery problems or power diagnosticsespecially in powerful laptops with modern CPUs and dedicated GPUs (for example, computers with 12th generation Intel Core i9 and high-end RTX graphics).

A typical example is a new laptop whose battery lasts much less than expected. (2-2,5 hours in light use compared to the 5-6 hours reported by other users). When generating a report with powercfg -energy In Windows, errors such as the following appear:

  • “Platform power management capabilities: PCI Express Active-State Power Management (ASPM) disabled. ASPM has been disabled due to a known incompatibility with this computer's hardware.”
  • Warnings about USB devices that do not enter selective suspend (for example, devices with specific USB IDs), which also increases standby power consumption.

In these situations, it's not always the processor's fault.Often it is a combination of:

  • Equipment design (motherboard, BIOS/UEFI, how the manufacturer implements ACPI tables and ASPM support).
  • Device drivers (GPU, NIC, storage, USB) that do not fully or correctly implement ASPM.
  • USB external devices that prevent selective suspension or keep the system more active than desirable.

In practice, when Windows reports that ASPM is disabled due to incompatibilityReactivating it without risk is not usually a trivial option. Forcing it through hacks or modified drivers can cause, for example, a network card to stop responding until a restart.

To rule out purely software problems in Windows, some basic steps are usually recommended.Run the power troubleshooter, Update Windows and driversand in some cases perform system file checks with SFC (sfc /scannow) and DISM utilities (DISM.exe /Online /Cleanup-image /Scanhealth y /RestorehealthIf after all that the report still shows ASPM disabled by hardware, it is most likely a limitation of the equipment itself or its firmware.

ASPM on servers and 24/7 equipment: Is it worth it?

What is Active State Power Manager and how does it affect performance?

In the world of 24/7 servers, ASPM generates quite a bit of debate.On the one hand, saving energy on PCIe links seems like a good idea. On the other hand, any hint of instability or packet loss is unacceptable.

A classic example is that of certain Intel network cards (such as the 82574L) which exhibit a well-documented hardware flaw: under certain conditions, packet transmission stops and is only restored after a reboot. One way to mitigate this problem has been Disable ASPM for that device or even globally.

In Linux, there are several ways to handle these cases on the server.:

  • Disable ASPM globally with the kernel boot parameter pcie_aspm=offIt is the most effective solution, valid for all devices, at the cost of completely giving up this energy saving.
  • Use a patched driver (for example, a modified version of e1000e (for Intel NICs) that disables ASPM or ignores certain problematic states only for the affected device.
  • Modify the ASPM bits of a specific device with tools like setpci, adjusting the behavior at runtime without affecting the rest of the system (although changes are usually lost after a reboot if they are not automated).

The important question for me is whether ASPM's energy savings outweigh the risk and complexityIn many critical production environments, stability and predictability are the top priorities. That's why it's common to see ASPM disabled in the BIOS or kernel on machines used for databases, intensive virtualization, or network services that cannot afford downtime.

That said, ASPM can also be applied to other server devices.such as PCIe RAID cards or NVMe controllers. If the firmware and drivers are well-designed, energy savings can potentially be achieved without impacting availability, although the actual benefit depends heavily on whether these devices have significant periods of inactivity or are constantly under load.

ASPM, ACPI and the different energy states of the system

To understand where ASPM fits into the energy management “map”, we need to talk about ACPI. (Advanced Configuration and Power Interface). ACPI is the standard that replaced the older APM and defines how the firmware (BIOS/UEFI) and the operating system communicate to manage power, interrupts, sleep states, IRQ assignment, and much more.

ACPI is a key component in virtually all modern hardware, not just x86.It was born from Intel, Microsoft and Toshiba in the 90s, but over the years it has also spread to architectures such as ARM, especially in the server and HPC field, where many components of the x86 ecosystem (UEFI, GPUs, etc.) are reused.

Despite being a widely adopted standard, ACPI has received much criticism.Some prominent voices in the industry, such as Canonical founder Mark Shuttleworth, have pointed out that closed firmware (including ACPI implementations) is an ideal vector for security vulnerabilities and potential backdoors. Cases have also been uncovered where manufacturers like Lenovo and Samsung use certain Windows ACPI tables (for example, the WPBT table) to install dubious software or, theoretically, could facilitate the installation of persistent rootkits.

Within the ACPI universe we find several types of energy states which affect both the entire system and specific devices and the processor. ASPM is primarily related to the PCIe link component, but it interacts with all these levels:

Global States of the System (G States)

Global states define the activity level of the team as a whole. and are represented by Gx/Sx combinations:

  • G0/S0The system is functioning normally.
  • G1 (suspension modes), which in turn is divided into:
    • G1/S1Light suspension; CPU and caches remain powered.
    • G1/S2The CPU shuts down and data is lost in its registers, but part of the system remains powered.
    • G1/S3: “suspend to RAM”; the system appears to be off, but the RAM continues to be powered to maintain the state.
    • G1/S4: hibernation; the contents of RAM are dumped into storage and RAM can be turned off.
  • G2/S5: soft shutdown; the system is off, but there is minimal power to allow a power-up by event (keyboard, network, etc.).
  • G3: complete shutdown; no power supply except for minimal components such as the real-time clock powered by a battery.

ASPM mainly comes into play when we are in G0/S0That is, with the system powered on and operational. This is where PCIe links can transition from active states to low-power states without the system going to sleep completely.

Device states (D States) and processor states (C States)

In addition to global states, ACPI defines device-level energy states, the so-called D States:

  • D0: device powered on and 100% operational.
  • D1 and D2: intermediate states that vary depending on the device; they save some energy but maintain some responsiveness.
  • D3: divided into “hot” and “cold”, depending on whether or not it maintains auxiliary power; it may stop responding to the bus completely.

In parallel, the processors have their own C states.These control how much the CPU "relaxes" when there is no work to do. Some of the most relevant are:

  • C0: kernel actively executing code.
  • C1/C1E: “halt” state; the kernel does not execute instructions but can return to C0 almost instantaneously. The C1E variant adds further power-saving improvements.
  • C2: “stop-clock”; the core clock is stopped, it takes a little longer to return to C0.
  • C3 and deeper states (C4-C10 in modern CPUs): caches are emptied, internal clocks are turned off and in some cases the core is even turned off, preserving its state in dedicated memories (for example, C6 saving the state in SRAM with the core at 0 V).

Transitions between these states are triggered by privileged instructions such as HLT or MWAITThese are managed by the operating system and power controllers. A hardware interrupt causes the core to immediately switch to C0 to handle it, and some modern processors even redirect interrupts to already active cores to avoid unnecessarily "waking up" other dormant cores.

Processor performance states (P States)

P States focus on CPU core performanceThey allow dynamic adjustment of the processor's frequency and voltage, saving energy when maximum power is not needed and increasing speed when necessary.

P States are usually represented as P0, P1, P2, … P0 being the state of maximum frequency and voltage, and subsequent states with lower frequency and lower power consumption. Technologies such as Intel SpeedStep, AMD PowerNow!, VIA PowerSaver, or Turbo modes They rely on these states to scale the frequency according to the load and limits such as TDP (PL1, PL2, etc.).

In Linux, these mechanisms are controlled by subsystems such as cpufreq y cpuidleIt is possible to check the active frequency governor with commands such as cpupower frequency-info or reviewing files in /sys/devices/system/cpu/cpu*/cpufreq/, where information such as the current frequency, maximum and minimum frequencies, and available governors is displayed (performance, powersave, on demand, Conservativeetc.) and the driver used.

Although all of this may seem unrelated to ASPM, it is actually part of the same ACPI ecosystem: different layers and mechanisms that cooperate to adjust CPU power consumption and performance, devices and system links, including PCIe.

Practical implementation of ASPM: BIOS/UEFI, operating system and drivers

For ASPM to function correctly, the collaboration of three main actors is needed.: the motherboard firmware (BIOS/UEFI), the operating system, and the PCIe device drivers.

BIOS/UEFI often includes specific options for ASPM or Link State Power Management. These allow you to enable, disable, or select specific modes (e.g., L0s, L1, Auto, Off). It is essential that the firmware correctly implements the ACPI tables and accurately describes what each device and PCIe link supports.

The operating system (Windows, Linux, etc.) reads that information from ACPI and decides which policies to apply.In Linux, as mentioned, ASPM can be forced or disabled using kernel parameters or through the module's policy file. pcie_aspmIn Windows, management is encapsulated in the power plan and in the options of “PCI Express → Link-state power management”.

PCIe device drivers also play a critical roleTo benefit from ASPM without problems, they must:

  • Properly declare the device's energy-saving capabilities (what states it supports, what latencies are acceptable, etc.).
  • Properly manage state transitionspreventing the device from "freezing" or taking too long to respond when it comes out of a low power state.
  • Staying up-to-dateThis is because many manufacturers correct ASPM errors and optimize consumption through driver or firmware updates.

In some cases, manufacturers have released modified drivers to disable ASPM on problematic models.considering it a pragmatic “solution” to hardware bugs. This is the case with certain Intel NICs in Linux, where patched versions of e1000e ASPM is disabled to avoid the transmission loss problem.

For the end user, the general recommendation is not to force ASPM manually in the BIOS or operating system unless you have a good understanding of the hardware. or there is a clear guide from the manufacturer. If a Windows report says it has been disabled due to incompatibility, it means the operating system has already decided that the risk outweighs the benefit.

ASPM is another piece of the modern energy management puzzleClosely linked to ACPI, global, device, and CPU power states. Well implemented, it helps reduce power consumption and heat without you noticing; poorly implemented, it can cause anything from slight latency to device crashes and network problems that are very difficult to diagnose.

Knowing how it works and where it's configured allows you to make more informed decisions.From choosing the right "Link State Power Management" mode on your laptop to save battery, to deciding whether on a mission-critical server it's more worthwhile to sacrifice a few watts and disable ASPM in exchange for rock-solid stability.

What is input lag and how does it affect games on Windows 11?
Related article:
How to Reduce Input Lag in Windows 11: A Complete, Practical Guide