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

Ubuntu 11.10: Xen vs. KVM vs. VirtualBox

Michael Larabel

Published on 31 October 2011
Written by Michael Larabel
Page 7 of 7 - 27 Comments

With the PostMark mail server testing, KVM took close to a 20% performance hit while VirtualBox was down by about 25% and Xen's disk performance was almost halved.

The fastest virtualization method for the SQLite test was Oracle's VirtualBox and it was even faster than the bare metal results. However, this is due to a problem with VirtualBox as it is likely not enforcing the sync/fsync requests by SQLite. If you will recall from a year or two ago when there were similar QEMU/KVM SQLite benchmarks, it too would outperform the host. It was tracked down to being a sync/fsync issue that could potentially put the virtual machine's data at risk since it was not passing these requests down. That issue was since cleared up, but it seems VirtualBox may be having this same issue/bug.

Well, to not much surprise, Linux KVM was the fastest means of virtualization when looking at the compute performance (single and multi-threaded) and disk workloads. The Kernel-based Virtual Machine was performing very well with hardware-assisted virtualization on the Core i7 "Sandy Bridge" with Intel VT-x. KVM offered the fastest performance in all of the tests except for SQLite, where VirtualBox was the fastest but that is due to a bug. VirtualBox regularly was the second fastest virtualization method tested while Xen was generally in a distant last for its HVM virtualization.

The advantage of VirtualBox over KVM, however, is its current support for 2D/3D acceleration within guest virtual machines that is then redirected to the host's graphics card. This will hopefully change in the future for QEMU/KVM thanks to SPICE and other work, but for now it lacks this support. Xen is also capable of PCI pass-through and taking control of graphics cards. VMware also offers 2D/3D acceleration in a great way by leveraging Gallium3D. The next Linux virtualization benchmarks on Phoronix are seeing where the VirtualBox 3D performance is at for Linux guests. There are also AMD Bulldozer virtualization benchmarks around the corner.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
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. GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell
  2. Intel Haswell/Broadwell Power Use On Linux Still Moving Lower
  3. QEMU 2.3 Officially Released
  4. It's Been Three Years Since The Big Steam Linux Reveal
  5. Debian-Based Distribution Updated With KDE 3.5 Forked Desktop
  6. Intel Is Making Some Progress With Compute Shaders
  7. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  8. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  9. Debian 9.0 Is Codenamed Stretch
  10. AMD Radeon GPUs With Linux 4.0 + Mesa 10.6-devel
Most Viewed News This Week
  1. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  2. Systemd Kills Off Shutdownd
  3. My Favorite Computer Desk Of The Past Decade For Less Than $100
  4. KDBUS Still Hasn't Been Pulled, Might Not Land For Linux 4.1
  5. AMD Open-Sources "Addrlib" From Catalyst
  6. Debian 8.0 Jessie Is Ready For Release This Weekend
  7. Qt Creator 3.4 Brings C++ Programming Improvements & More
  8. GIMP's Porting To GTK3 Continues