Linux KVM vs. VirtualBox 4.0 Virtualization Benchmarks

Published on December 13, 2010
Written by Michael Larabel
Page 2 of 7
Discuss This Article

Starting with our basic Apache server benchmark, there is a big hit taken when switching to virtualization from running this web-server on the host itself. This though is not too much of a surprise, but between KVM and VirtualBox 3.2/4.0 there is not a huge delta. VirtualBox 4.0 Beta 2 was the fastest with being approximately 12% faster than the Kernel-based Virtual Machine.

With SQLite, VirtualBox was much faster than KVM and even the host operating system, but this is particularly troubling. Running SQLite was over 80% faster running under VirtualBox than on the host operating system itself. We have seen this before... QEMU/KVM even was like this before. We ended up reporting it and getting it resolved, as Matthew Tippett talked about during the Southern California Linux Expo with The Five Stages of Benchmark Loss. At least as far as the default configuration is concerned, VirtualBox is not properly obeying disk sync requests. Therefore, VirtualBox may be reporting much faster numbers, but your data is potentially at risk in the VM with a default VirtualBox configuration.

With PostMark, VirtualBox 4.0 Beta 2 is also faster than the system host itself. It is actually "faster" than VirtualBox 3.2.12 where the appropriate behavior is to perform slower than the host is, so the default disk behavior with VirtualBox 4.0 may have actually become worse. The KVM number is appropriate at around 47% the speed of the host.

When running FS-Mark with 1000 files of 1MB size where sync/fsync is supposed to be used, VirtualBox is again much faster than the host.

Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Jolla Announces Their First Phone
  3. Benchmarking The Intel P-State, CPUfreq Changes
  4. DNF Still Advancing As Experimental Yum For Fedora
  5. Modern Intel Gallium3D Driver Still Being Toyed...
  6. Freedreno Gallium3D Now Banging The Adreno A3XX
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite