1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

The Pull That Finally Fixes ASPM Power Regression

Linux Kernel

Published on 11 January 2012 03:39 PM EST
Written by Michael Larabel in Linux Kernel
7 Comments

Queued up in the PCI sub-system pull for the Linux 3.3 kernel is the ASPM re-work that provides a proper fix to the well known Linux kernel power regression that was talked about for much of 2011.

This is still the nasty power regression in the Linux kernel that I discovered in early 2011 that was causing many systems (notebooks and desktops) to go through excessive amounts of power, which I then tracked back to being a change in the Active-State Power Management (ASPM) handling for PCI Express.

PCI-E ASPM was changed to what was believed at the time to be a more safe way of handling this power management feature, but it caused the power consumption to go up for many Linux systems. This led at least one vendor to just recommend using Windows, but ASPM (as with much of ACPI and power management) is a big grey area in Linux with guessing how to handle things due to varying vendor implementations and Microsoft not always enforcing / documenting well its standards.

In November it was then discovered the way Linux was handling ASPM wasn't right -- or at least the opposite of how it was being done by Microsoft Windows. Matthew Garrett re-worked some of the ASPM code that made it a proper fix to the ASPM power issue. My tests in November yielded this to be a good fix across a variety of systems tested, along with many others in the Phoronix community and elsewhere confirming this fix.

In November when the ASPM re-work patch was posted, the Linux 3.2 kernel merge window had passed. As a result, this patch is only now being mainlined with the Linux 3.3 kernel merge window being opened. Jesse Barnes sent in the PCI pull request today (the e-mail) and as part of this is Matthew Garrett's new PCI Express ASPM code.

This change hasn't been pulled into the Linux 3.2 stable series or any other stable releases as Greg Kroah-Hartman was first interested in seeing more extensive testing. Canonical, however, has already pulled this into their Linux 3.2 kernel for the forthcoming Ubuntu 12.04 LTS release.

With the mainlining of this Active State Power Management re-work fix, this issue can finally be laid to rest. The Linux 3.3 kernel is shaping up to be a nice release, but it's now time soon to talk about some of the other Linux power regressions that are still outstanding...

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. CPUFreq Scaling Tests With AMD's Kaveri On Linux 3.16
  2. Enabling HyperZ Is Still An Easy Way For Faster RadeonSI Performance
  3. AMD Kaveri: Catalyst vs. RadeonSI Gallium3D On Linux
  4. Linux OpenCL Performance With The Newest AMD & NVIDIA Drivers
Latest Linux News
  1. Proposed: A Tainted Performance State For The Linux Kernel
  2. Systemd 216 Piles On More Features, Aims For New User-Space VT
  3. Mesa 10.2.6 Has Plenty Of OpenGL Driver Bug Fixes
  4. Wasteland 2 Gets An Official Release Date
  5. Dead Island For Linux Appears Imminent
  6. LXQt 0.8 Is Being Released Soon
  7. Linux 3.17 Lands Memfd, A KDBUS Prerequisite
  8. Humble Jumbo Bundle 2 Shafts Linux Gamers
  9. Ubuntu 14.10's Feature Freeze Is This Wednesday
  10. New VM Software Claims To Be 4.5x Faster Than QEMU
Latest Forum Discussions
  1. The dangers of Linux kernel development
  2. Dead Island for Linux (?)
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. AMD Offers Mantle For OpenGL-Next, Pushes Mantle To Workstations
  5. Next-Gen OpenGL To Be Announced Next Month
  6. OpenGL 4.5 Released With New Features
  7. Updated graphics drivers for Ubuntu 12.04 Precise LTS
  8. Builder: A New Development IDE Being Built For GNOME