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. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
  2. MSAA RadeonSI Gallium3D Performance Preview
  3. Intel Core i7 5960X CPU Core Scaling Under Linux
  4. AMD RadeonSI Gallium3D Performance For 4K Linux Gaming
Latest Linux News
  1. Tropico 5 Being Released For Linux Gamers This Week
  2. Eclipse IDE Starts Firing Up On Wayland's Weston
  3. OpenSUSE Announcement On SUSE's Recent Merger
  4. Valve Begins Publicly Tracking AMD Catalyst Linux Issues
  5. Digia Qt Spinoff Is Called "The Qt Company"
  6. GNOME 3.14 Makes More Progress In Running Natively On Wayland
  7. Minix 3.3 Released With Cortex-A8 ARM Support, NetBSD Userland Compatibility
  8. More Intel DRM Changes Queued For Linux 3.18, Including Old i830M Fixes
  9. New Code Starts Lining Up For X.Org Server 1.17
  10. Rust Developers Planning For The Rust 1.0 Language
Latest Forum Discussions
  1. New stress testing utility for GPU's
  2. New Group Calls For Boycotting Systemd
  3. Best Radeon for a Power Mac G5?
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. support for first generation UVD blocks (RV6xx, RS780, RS880 and RV790)
  6. Nvidia joins the ranks of Apple and Microsoft
  7. Hd 6850
  8. nv and xorg.conf under Debian PPC