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

Linux 3.2 Is Still Looking To Be Power Hungry

Linux Kernel

Published on 29 October 2011 07:41 AM EDT
Written by Michael Larabel in Linux Kernel
18 Comments

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.

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. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  2. Intel 120GB 530 Series SSD Linux Performance
  3. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
  4. AMD's Windows Catalyst Driver Remains Largely Faster Than Linux Drivers
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
  2. Is The Open-Source NVIDIA Driver Fast Enough For Steam On Linux Gaming?
  3. Linux 3.18 File-System Performance Minimally Changed But Possible Regressions
  4. AMD Radeon Gallium3D Is Catching Up & Sometimes Beating Catalyst On Linux
Latest Linux News
  1. Linux 3.18 Kernel: Not Much Change With Intel Haswell Performance
  2. More File-System Tests Of The Linux 3.18 Kernel
  3. Using NVIDIA's NVENC On Linux With FFmpeg
  4. There's Talk Again About An "Open To The Core" Ubuntu Laptop
  5. PowerVR SGX Driver Code Gets Leaked
  6. V2 Of KDBUS Published For Linux Kernel Review
  7. VirtualBox 4.3.20 Arrives, Still No Sign Of VirtualBox 4.4
  8. Scientific Linux 6.6 vs. Scientific Linux 7.0 Benchmarks
  9. Qualcomm Looks To Get Into The ARM Server Business
  10. HHVM 3.4 Adds New Features, Support
Latest Forum Discussions
  1. Roadmap to Catalyst 14.10 ?
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Cant get working Kaveri APU - A10-7850k
  4. Debian Developer Resigns From The Systemd Maintainership Team
  5. Script for Fan Speed Control
  6. Debian Init System Coupling Vote Results
  7. The Slides Announcing The New "AMDGPU" Kernel Driver
  8. Ubuntu Developers Still Thinking What To Do About Adobe Flash Support