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 Leading Cause Of The Recent Linux Kernel Power Problems

Michael Larabel

Published on 26 June 2011
Written by Michael Larabel
Page 3 of 3 - 144 Comments

Forcing Active-State Power Management should work for many systems, but if your system's BIOS/hardware is in bad shape, you may hit system hangs. ASPM policies can also be set via /sys/module/pcie_aspm/parameters/policy. The above graph is from a Lenovo ThinkPad showing the idle power consumption from battery of the vanilla Linux 2.6.37 and 2.6.38 kernels. The average power consumption for this Intel-powered notebook went up by 10.6% between the two kernel releases, but when forcing PCI Express ASPM on the same 2.6.38 kernel the power consumption rate dropped by nearly 15%.

Here is also the result from an independent Intel Core i7 system with the two kernels and the different changes. The Linux 3.0 development kernel had similar benefits when forcing Active-State Power Management due to the "PCI: Disable ASPM if BIOS asks us to" change. This system and some of the older systems were what is also affected by another kernel power regression still under investigation, but ASPM appears to be the biggest problem.

As not everyone works the weekends, I have not yet been able to reach Jesse Barnes, the maintainer of the PCI subsystem for the Linux kernel (and also a name mentioned on Phoronix recently as one of the Intel Linux graphics driver developers). As some systems have ASPM hardware problems, the commit may possibly not be reverted, but it seems that there's far more systems being negatively affected by this change (with the sharply decreased battery life) than the number of systems it helps -- I've never encountered ASPM problems with it enabled on any of my systems in pre-2.6.38 nor have I seen any reports of such in the Phoronix Forums or elsewhere. It is possible there will not be a proper solution until the Linux 3.1 kernel as the Linux 3.0 merge window is closed and a final release is only a few weeks out. It's also a question for many whether any "fix" will be backported to the stable kernel series or if users will be left to append "pcie_aspm=force" to their GRUB lines.

Again, this is not the only major power regression outstanding. There is still a noticeable power regression back in the Linux 2.6.35 kernel, another 2.6.38-era regression due to a scheduler issue still being investigated, and some other items on my radar. A number of other Linux power article tests are imminent on Phoronix and I also continue to tweet findings via @MichaelLarabel and @Phoronix. If you'd like to see such discoveries continue, please consider subscribing to Phoronix Premium, making a PayPal donation, or at the very least disable AdBlock, join the Phoronix Forums, and when shopping use our NewEgg / Amazon shopping links. There's also enterprise services for the Phoronix Test Suite offered to organizations.

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. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. Dead Island GOTY Now Available On Linux/SteamOS
  2. Ubuntu 14.04 In The Power8 Cloud From RunAbove
  3. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  4. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  5. Fedora 21 Beta & Final Release Slip Further
  6. Mesa 10.3.2 Has A Couple Bug-Fixes
  7. RadeonSI/R600g HyperZ Support Gets Turned Back On
  8. openSUSE Factory & Tumbleweed Are Merging
  9. More Fedora Delays: Fedora 21 Beta Slips
  10. Mono Brings C# To The Unreal Engine 4
Latest Forum Discussions
  1. Looking for a Open-Source AMD experienced Linux mentor
  2. Users/Developers Threatening Fork Of Debian GNU/Linux
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. HOPE: The Ease Of Python With The Speed Of C++
  5. Use Ubuntu MATE 14.10 Make it an official distro.
  6. Debian Is Back To Discussing Init Systems, Freedom of Choice
  7. AMD Radeon VDPAU Video Performance With Gallium3D
  8. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release