Linux 3.2 Is Still Looking To Be Power Hungry

Posted by Michael Larabel on October 29, 2011

The PCI subsystem pull for the Linux 3.2 kernel was published on Friday evening. If you were hoping it would rework PCI-E ASPM (Active-State Power Management) to be more like the Windows implementation or for more PCI drivers to be setting the bits directly to support it (effectively white-listing drivers/hardware), it didn't happen yet.

The main PCI pull request for Linux 3.2 has some MPS (Maximum Payload Size) and PASID (Process Address Space ID) stuff, but nothing to improve the Linux PCI-E ASPM situation.

The only PCI power management related changes in this pull is extending PME (PCI Power Management Events) polling to all PCI devices. The extended PME polling is talked about in , but it's not related to the ASPM problems.

By now most users should be aware that
the big Linux power regression in the Linux 2.6.38 kernel that I spotted prior to the Ubuntu 11.04 release I ended up tracking to be due to a change in PCI-E ASPM. With Linux 2.6.38+, unless Active-State Power Management support is explicitly advertised by the hardware's BIOS (or the user overrides the support when booting the kernel), it's no longer being enabled.

To address this issue, the thinking of kernel developers is that they will need to determine a better way to determine proper PCI-E ASPM support (such as mirroring how Microsoft Windows treats ASPM detection and handling) or be manually having individual component drivers flag whether or not the hardware installed can handle this power management feature that's part of the PCI Express specification.

Unfortunately, nothing ASPM-related has landed for Linux 3.2. THe Linux 3.2 PCI pull request can be viewed at LKML.org.

Yes, there are numerous other Linux power problems too. Here's one that just hit my email inbox over the night from a Phoronix reader.
I've been testing the it87 driver and noticed my Vcore was 1.08 instead of 0.96 when idle. At first I thought it was a driver bug.

Noticed cpufreq-info saying I was at 2.6 GHz (I have a core i3 2100, range 1.6-3.1 GHz) when idle.

I come to find out that the ondemand, powersave and userspace governors (I only tested those) can't get the CPU under 2.6 GHz. cpufreq-info tells me so and the CPU temperatures confirm it. Vcore, temperatures and cpufreq say I'm at 2.6 GHz with Linux 3.1 when I ask for 1.6. Linux 3.0.7 works fine. With Linux 3.1 anything under 2.6 gives me 2.6, 2.6-3.1 GHz speeds work as expected. There is an unpassable floor at 2.6.

Just thought I'd let you know, that a really NASTY regression made it in.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  2. Qt For Tizen Launches, Based On Qt 5.1
  3. KTAP Released For Linux Kernel Dynamic Tracing
  4. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  5. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  6. Handbrake 0.9.9 Supports OpenCL Offloading
  7. Freedreno Gallium3D Now Banging The Adreno A3XX
  8. Jolla Announces Their First Phone
  9. Mageia 3 Released, Still Using Legacy GRUB
  10. NetBSD 6.1 Brings In More Features
  11. Using Six Monitors With AMD's Open-Source Linux Driver
Latest Forum Talk
  1. Linux's "Ondemand" Governor Is No...
  2. Jolla Announces Their First Phone
  3. Logitech Begins Supporting Linux Users
  4. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  5. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  6. Intel Sandy/Ivy Bridge Gallium3D Driver Merged
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite