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 Articles & Reviews
  1. GeForce GTX 750 Series: Nouveau vs. NVIDIA Linux Driver Performance
  2. GLAMOR + RadeonSI 2D Acceleration Is Quite Good For Open-Source AMD 2D Performance
  3. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  4. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  5. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  6. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
Latest Linux News
  1. It's A Long Road Ahead To Get Ubuntu Snappy On The Desktop
  2. NetworkManager 1.0.2 Arrives As First Post-1.0 Release
  3. Libinput 0.15 Adds New Debug Events Utility
  4. Qt 5.5 Beta Is Coming Soon, Snapshot Released
  5. Steam Linux Usage Drops Below 1%
  6. Many OpenGL ES 3.1 Commits Land In Mesa
  7. HHVM 3.7 Brings More Performance Improvements
  8. Experimental DragonFlyBSD Code Adds Broadwell Graphics
  9. Virt-Manager 1.2.0 Brings OVMF/AAVMF Support For UEFI In VMs
  10. Interesting GSoC 2015 Projects: Wine D3DRM, GameStream, NaCL Fun
Most Viewed News This Week
  1. Trying Out Microsoft Visual Studio Code On Linux
  2. Microsoft Releases New Code IDE For Linux!
  3. Improvements On The Way For GNOME's Nautilus File Manager
  4. A Lot Of Improvements Are Coming For Mir 0.13, Including Work Towards Libinput
  5. Kodi 15.0 Beta 1 Released
  6. Mono 4.0 Makes Use Of Microsoft's Open-Source Code, C# 6.0
  7. Wayland 1.8 Alpha Release Delayed
  8. Lucid Sleep Support Is Being Worked On For The Upstream Linux Kernel