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

Awkward Linux Power Management With Xen

Michael Larabel

Published on 21 November 2011
Written by Michael Larabel
Page 1 of 6 - 7 Comments

If you happen to be running a Linux system with Xen support enabled, beware there may be odd behavior with the Linux kernel's power management -- it can easily move in either direction.

Following the publishing of the Xen vs. KVM vs. VirtualBox virtualization benchmarks published last month on Phoronix, a reader had noted something quite interesting within the forums.

"I am currently writing my master's thesis about virtualization and I've been running Xen and KVM tests among other things. I've had similar results with Xen being quite slow - for example, its raw CPU speed in LINPACK test was only 90 % that of HW or KVM (which were very close). I've been using Ubuntu 10.04 and vanilla 3.0.0 kernel in my tests. Just yesterday I did a test with Xen Dom0 kernel 2.6.32.46 and for example the LINPACK result jumped to on par with the hardware. I've measured other quite interesting results also - for example Xen's idle power consumption was like 30 % higher with kernel 3.0.0. It really seems there's something badly wrong in the 3.0.0 kernel with Xen. Next, I'll try running my tests with the 3.2 release candidate kernel to see if things have changed."

In particular, his comment about Xen's power consumption being 30% higher than the normal kernel was found to be quite interesting. Upon running my own set of tests, I too have found that when Xen Dom0 support is present the Linux kernel power management is quite awkward. However, it is not always for the worse.

This testing is looking at the power management between the vanilla Linux kernel and when the Linux kernel is booted with the Xen Hypervisor support enabled, but not looking when running any DomU guests or other changes. It is simply looking at the performance on the host with and without Xen support.

The first Xen 4.1 power usage monitoring tests was done from an Intel Core i5 2520M "Sandy Bridge" Hewlett-Packard notebook.

Latest Linux News
  1. Fedora 23: Python 3 Default Approved; Netizen Spin Rejected
  2. GNOME Shell & Mutter Just Landed More Wayland Improvements
  3. Ubuntu MATE Announces A Partnership With A PC Hardware Vendor
  4. Linux 4, GCC v. Clang & Vulkan Were Among The Hot Stories So Far This Year
  5. FUSE Starts Working On Scalability Improvements With Linux 4.2
  6. Steam Linux Usage Continued Falling In June
  7. Blender 2.75 Released With AMD OpenCL Support, Multi-View/Stereo 3D Pipeline
  8. Radeon & AMDGPU DRM Fixes Queue Up For Linux 4.2
  9. KDE Applications 15.04.3 Fixes Bugs
  10. Benchmarks Of 54 Different Intel/AMD Linux Systems
Latest Articles & Reviews
  1. 6-Way File-System Comparison On The Linux 4.1 Kernel
  2. How KDE VDG Is Trying To Make Open-Source Software Beautiful
  3. Attempting To Try Out BCache On The Linux 4.1 Kernel
  4. CompuLab's Fitlet Is A Very Tiny, Fanless, Linux PC With AMD A10 Micro
Most Viewed News This Week
  1. Kubuntu 15.10 Could Be The End Of The Road
  2. KDBUS Won't Be Pushed Until The Linux 4.3 Kernel
  3. The State & Complications Of Porting The Unity Editor To Linux
  4. The Staging Pull For Linux 4.2: "Big, Really Big"
  5. Latest Rumor Pegs Microsoft Wanting To Buy AMD
  6. Exciting Features Merged So Far For The Linux 4.2 Kernel
  7. SteamOS "Brewmaster" Is Valve's New Debian 8.1 Based Version
  8. ARM Posts Pictures Of AMD's New Development Board