The Performance Of Ubuntu KVM Virtualization
The Kernel-based Virtual Machine (KVM) has been in the mainline Linux kernel since Linux 2.6.20 in early 2007 and over time it has become one of the most widely used virtualization platforms on Linux. Ubuntu uses KVM, Fedora uses KVM, and Red Hat Enterprise Linux has even switched from Xen to preferring KVM, among others. While occasionally we deliver new KVM virtualization benchmarks, we decided to investigate how the performance of KVM virtualization has changed -- if at all -- over the past two years for better or worse.
We tested each of the Ubuntu releases from Ubuntu 8.04.4 LTS up through the newest Long-Term Support release, Ubuntu 10.04. With each release we first measured the performance of the host installation, then the performance of an Ubuntu 8.04.4 LTS virtual machine, and then the performance of the matching host operating system when virtualized. In terms of features, the Kernel-based Virtual Machine has improved over time, as it was not even until mid-2007 that it supported SMP guests and other virtualization features. Red Hat has also built KVM virtualization into their libvirt and virt-manager stacks that first appeared in Fedora 7 and then made their way into Ubuntu 8.04.
Our test system consisted of an AMD Opteron 2384 Quad-Core processor that supports AMD virtualization, a Tyan Thunder S2927 motherboard with NVIDIA nForce 3600PRO Chipset, 4GB of system memory, a 64GB OCZ Agility EX SSD, and an ATI Radeon HD 4870 graphics card. Below are some of the key package details from each of the tested Ubuntu releases.
On the line graphs that follow, the "Host" line indicates the performance of the respective Ubuntu Linux release, the "Hardy VM" line shows the KVM virtualization performance on the respective Ubuntu release when Ubuntu 8.04.4 LTS is being virtualized, and then "Matching VM" shows the performance of the respective Ubuntu release when that same Ubuntu release version is being virtualized with KVM.
Via the Phoronix Test Suite we ran Apache, PostgreSQL, PostMark, Unpack-Linux, POV-Ray, C-Ray, OpenSSL, John The Ripper, FFmpeg, LZMA, Bullet Physics Engine, NAS Parallel Benchmarks, and MAFFT.
Latest Linux Hardware Reviews
Latest Linux Articles
Latest Linux News
Latest Forum Discussions