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. AMD R600g/RadeonSI Performance On Linux 3.16 With Mesa 10.3-devel
  2. Intel Pentium G3258 On Linux
  3. SilverStone Precision PS10
  4. ASRock Z97 Extreme6
Latest Linux Articles
  1. KVM Benchmarks On Ubuntu 14.10
  2. X.Org Server 1.16 Officially Released With Terrific Features
  3. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  4. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
Latest Linux News
  1. Fedora 21 Has Been Delayed By Three Weeks
  2. Mono Begins To Focus On Performance, Assembles A Team
  3. Oracle Linux 7 Released Today As Its RHEL7 Clone
  4. Unigine Develops City Traffic System, A Driving Simulator
  5. Intel 3.0 X.Org Driver Still Baking, New Development Release
  6. Eric Anholt Makes Progress With Broadcom VC4 Graphics Driver
  7. Intel Is Getting Very Close To OpenGL 4.0/4.1/4.2 Mesa Support
  8. Valve Is Still Hiring For SteamOS, Linux Work
  9. Users Warned About Possible Regressions With DRI3
  10. GNOME Shell Gets Wayland HiDPI Fonts, Mutter Gets Touch Gestures
Latest Forum Discussions
  1. Radeon related kernel bug??
  2. how the US intellegentia operates:
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. AMD Publishes Open-Source Linux HSA Kernel Driver
  5. Next-Gen OpenGL To Be Announced Next Month
  6. Open-Source Radeon Performance Boosted By Linux 3.16
  7. Remote gui not accessible in Phoronix Test Suite 5.2
  8. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right