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. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
  2. MSI: Update Your BIOS From The Linux Desktop
  3. NVIDIA vs. AMD 2D Linux Drivers: Catalyst Is Getting Quite Good At 2D
  4. 15-Way GPU Comparison With Mesa 10.3 + Linux 3.17
Latest Linux News
  1. Phoenix Is Trying To Be An Open Version Of Apple's Swift
  2. Linux 3.19 To Have Skylake Graphics, PPGTT Enablement
  3. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  4. Imagination Releases Full ISA Documentation For PowerVR Rogue GPUs
  5. Features GNOME Developers Want In The Linux Kernel
  6. GTK+ Gains Experimental Overlay Scrollbars
  7. Phoronix Test Suite 5.4 M3 Is Another Hearty Update
  8. GParted 0.20 Improves Btrfs Support
  9. EXT4 In Linux 3.18 Has Clean-ups, Bug Fixes
  10. Emacs 24.4 Has Built-In Web Browser, Improved Multi-Monitor Support
Latest Forum Discussions
  1. Users/Developers Threatening Fork Of Debian GNU/Linux
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Proof that strlcpy is un-needed
  4. Bye bye BSD, Hello Linux: A Sys Admin's Story
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. NVIDIA Presents Its Driver Plans To Support Mir/Wayland & KMS On Linux
  7. AMD Is Restructuring Again, Losing 7% Of Employees
  8. Open-Source AMD Fusion E-350 Support Takes A Dive