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

Testing For The Latest Linux Kernel Power Regression

Michael Larabel

Published on 29 August 2014
Written by Michael Larabel
Page 1 of 5 - 11 Comments

As I wrote about yesterday, there appears to be a new Linux kernel power regression that's yet to be solved by the latest Linux 3.17 code. The issue was originally tracked down to being a regression introduced during the Linux 3.15 stable cycle that disabled frame-buffer compression support by default for the Intel DRM graphics driver, but the impact it's had on the system power draw is much greater than what was anticipated by the Intel developers. A separate Intel employee is also reporting increased power draw, so I decided to run some tests on a few local systems to see what I'm encountering in the power consumption primarily between Linux 3.15 and 3.16.

Frame-buffer compression (FBC) support was disabled by default in the Linux 3.15 stable series for Haswell hardware and newer since the support wasn't mature and there were Intel HD Graphics users reporting issues with this feature being turned on, so it was disabled by default and hidden behind a kernel module parameter. After an Arch Linux user experienced a 4+ Watt increase in power draw for his Apple laptop, he bisected it to this FBC feature, but Intel Linux developers weren't expecting FBC to make such a huge difference in power draw. The matter is still being investigated but FBC simply can't be flipped back on by default since the code is incomplete and there's still some unmerged patches under review that won't make it until at least the Linux 3.18 kernel.

For seeing how recent kernels have been burning through power on a few of my local systems, first I decided to run some basic tests on an ASUS Zenbook ultrabook with Core i7 3517U processor and HD Graphics 4000 (and NVIDIA Optimus graphics that weren't in use). This system was running Ubuntu GNOME 14.04 where I tested the mainline/vanilla Linux 3.13, 3.14, 3.15, 3.16, and 3.17 Git kernels. All benchmarking was done via the Phoronix Test Suite and with the MONITOR=sys.power environment variable set so it would monitor the laptop's battery usage during testing.

From this Ivy Bridge ultrabook I first ran Xonotic where the reported power difference on battery between the tested kernels wasn't much... Between Linux 3.13 and 3.17 Git, the power consumption only differed by two Watts at most.

While the Xonotic data from the Ivy Bridge laptop wasn't interesting, when running LAME MP3 and watching the battery usage there is a clear difference... When running the MP3 encoding process on this Core i7 ultrabook, the power consumption with Linux 3.13~3.15 was 19~20 Watts, but when turning to the Linux 3.16 stable kernel and Linux 3.17 Git, the power consumption rose to 23 Watts on average. The peak power consumption was also much greater at 26~27 Watts whereas Linux 3.15 peaked at just 20 Watts.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  2. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  3. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  4. AMD Radeon R9 285 Tonga Performance On Linux
Latest Linux Articles
  1. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  2. Ubuntu 14.10 XMir System Compositor Benchmarks
  3. Btrfs RAID HDD Testing On Ubuntu Linux 14.10
  4. Ubuntu 14.10 Linux 32-bit vs. 64-bit Performance
Latest Linux News
  1. Mono Brings C# To The Unreal Engine 4
  2. Coreboot Now Has Support For Intel Broadwell Hardware
  3. Enlightenment's EFL 1.12 Alpha Has Evas GL-DRM Engine, OpenGL ES 1.1 Support
  4. GTK+ Lands Experimental Backend For Mir Display Server
  5. Ubuntu 14.10 Officially Released
  6. Mesa 10.4 Might Re-Enable HyperZ For R600g/RadeonSI
  7. Intel GVT-g GPU Virtualization Moves Closer
  8. GTK+ 3.16 To Bring Several New Features
  9. Debian 8.0 Jessie Has Many Multimedia Improvements
  10. What Linux Benchmarks Would You Like To See Next?
Latest Forum Discussions
  1. Linux hacker compares Solaris kernel code:
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Advertisements On Phoronix
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Users/Developers Threatening Fork Of Debian GNU/Linux
  6. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. Proof that strlcpy is un-needed