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 Benchmarking Platform
Phoromatic Test Orchestration

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.

Latest Articles & Reviews
  1. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  2. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  3. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  4. The Lenovo T450s Is Working Beautifully With Linux
  5. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  6. Linux 4.0 Hard Drive Comparison With Six File-Systems
Latest Linux News
  1. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  2. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  3. Debian 9.0 Is Codenamed Stretch
  4. AMD Radeon GPUs With Linux 4.0 + Mesa 10.6-devel
  5. The Many Features Of The Linux 4.1 Kernel
  6. HTTPS For Phoronix.com
  7. Gallium3D's HUD Gets New Customization Options
  8. Intel Xeon E5-2620 v3 Haswell Performance
  9. Dell Keyboard Backlight Support In Linux 4.1
  10. With Linux 4.1 You Can Play With The Chrome OS Lightbar
Most Viewed News This Week
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  3. Systemd Kills Off Shutdownd
  4. My Favorite Computer Desk Of The Past Decade For Less Than $100
  5. AMD Open-Sources "Addrlib" From Catalyst
  6. Debian 8.0 Jessie Is Ready For Release This Weekend
  7. GIMP's Porting To GTK3 Continues
  8. Qt Creator 3.4 Brings C++ Programming Improvements & More