Fedora 19 Linux 3.9 KVM vs. Xen vs. VirtualBox Virtualization Intel Core i7-4770K testing on Fedora 19 x86_64 with KVM and Xen and VirtualBox virtualization. Benchmarking by Michael Larabel for a future article on Phoronix.com.
HTML result view exported from: https://openbenchmarking.org/result/1307064-SO-VIRTFEDOR07&grs&sor&rro .
Fedora 19 Linux 3.9 KVM vs. Xen vs. VirtualBox Virtualization Processor Motherboard Chipset Memory Disk Graphics Audio Monitor Network OS Kernel Desktop Display Server Display Driver Compiler File-System Screen Resolution OpenGL System Layer Bare Metal Linux KVM Xen VirtualBox Intel Core i7-4770K @ 3.50GHz (8 Cores) Intel DH87RL Intel Haswell DRAM 15360MB 240GB OCZ VERTEX3 Intel Haswell IGP Intel Haswell HDMI VA2431 Intel Connection I217-V Fedora 19 (Schrdingers Cat) 3.9.8-300.fc19.x86_64 (x86_64) KDE 4.10.4 X Server 1.14.1 intel 2.21.8 GCC 4.8.1 20130603 ext4 1920x1080 QEMU Virtual 1.4.2 @ 3.49GHz (8 Cores) Bochs Intel 440FX- 82441FX PMC 12288MB 16GB LLVMpipe Generic 1af4 ID 22 Red Hat Virtio device Fedora 19 modesetting 0.6.0 2.1 Mesa 9.2.0-devel Gallium 0.4 1024x768 KVM QEMU 1.4.2 Intel Core i7-4770K @ 3.49GHz (8 Cores) Xen HVM domU v4.2.2 Ensoniq ES1370 Xen HVM domU 4.2.2 Intel Core i7-4770K @ 3.46GHz (8 Cores) Oracle VirtualBox v1.2 24GB VBOX HDD Intel 82801AA AC 97 Audio Intel 82540EM Gigabit oracle VirtualBox OpenBenchmarking.org Compiler Details - --build=x86_64-redhat-linux --disable-dssi --disable-libjava-multilib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-bootstrap --enable-checking=release --enable-gnu-unique-object --enable-initfini-array --enable-java-awt=gtk --enable-java-maintainer-mode --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-libgcj-multifile --enable-plugin --enable-shared --enable-threads=posix --mandir=/usr/share/man --with-arch_32=i686 --with-cloog=/builddir/build/BUILD/gcc-4.8.1-20130603/obj-x86_64-redhat-linux/cloog-install --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-isl=/builddir/build/BUILD/gcc-4.8.1-20130603/obj-x86_64-redhat-linux/isl-install --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --with-linker-hash-style=gnu --with-tune=generic Processor Details - Bare Metal: Scaling Governor: acpi-cpufreq ondemand System Details - SELinux: Enabled. Disk Mount Options Details - data=ordered,relatime,rw,seclabel
Fedora 19 Linux 3.9 KVM vs. Xen vs. VirtualBox Virtualization ttsiod-renderer: Phong Rendering With Soft-Shadow Mapping nginx: Static Web Page Serving x264: H.264 Video Encoding vpxenc: vpxenc hmmer: Pfam Database Search compress-pbzip2: 256MB File Compression postmark: Disk Transaction Performance smallpt: Global Illumination Renderer; 100 Samples c-ray: Total Time dolfyn: Computational Fluid Dynamics encode-flac: WAV To FLAC john-the-ripper: Traditional DES ffmpeg: H.264 HD To NTSC DV john-the-ripper: Blowfish openssl: RSA 4096-bit Performance ffte: N=64, 1D Complex FFT Routine john-the-ripper: MD5 himeno: Poisson Pressure Solver blake2: Phoronix Test Suite v4.8.0m1 mafft: Multiple Sequence Alignment Bare Metal Linux KVM Xen VirtualBox 128.00 12850.36 159.62 26.26 10.27 8.78 4121 85 22.96 29.12 4.75 10123667 12.73 6558 147.47 6049.13 41360 1496.78 5.29 5.64 56.07 10223.16 130.51 21.82 10.80 9.22 3948 87 23.61 29.20 4.84 9808000 14.74 6357 143.50 5912.76 40512 1380.73 6.66 78.95 10199.95 147.58 22.99 11.28 9.40 3409 87 23.97 30.22 5.03 8731000 14.35 5669 144.27 5816.59 39748 1433.27 5.62 6.85 42.96 5571.88 76.31 15.07 16.31 13.87 2707 129 33.82 37.64 5.72 129.30 5316.36 1272.07 4.94 22.79 OpenBenchmarking.org
TTSIOD 3D Renderer Phong Rendering With Soft-Shadow Mapping OpenBenchmarking.org FPS, More Is Better TTSIOD 3D Renderer 2.2z Phong Rendering With Soft-Shadow Mapping VirtualBox Linux KVM Xen Bare Metal 30 60 90 120 150 SE +/- 0.04, N = 3 SE +/- 0.04, N = 3 SE +/- 0.09, N = 3 SE +/- 0.72, N = 3 42.96 56.07 78.95 128.00 1. (CXX) g++ options: -O3 -fomit-frame-pointer -ffast-math -mtune=native -flto -msse -mrecip -mfpmath=sse -msse2 -mssse3 -lSDL -lpthread -lstdc++
NGINX Benchmark Static Web Page Serving OpenBenchmarking.org Requests Per Second, More Is Better NGINX Benchmark 1.0.11 Static Web Page Serving VirtualBox Xen Linux KVM Bare Metal 3K 6K 9K 12K 15K SE +/- 8.24, N = 3 SE +/- 76.82, N = 3 SE +/- 53.88, N = 3 SE +/- 102.51, N = 3 5571.88 10199.95 10223.16 12850.36 1. (CC) gcc options: -lpthread -lcrypt -lcrypto -lz -pipe
x264 H.264 Video Encoding OpenBenchmarking.org Frames Per Second, More Is Better x264 2013-06-08 H.264 Video Encoding VirtualBox Linux KVM Xen Bare Metal 40 80 120 160 200 SE +/- 0.79, N = 5 SE +/- 0.62, N = 5 SE +/- 1.39, N = 5 SE +/- 0.95, N = 5 76.31 130.51 147.58 159.62 1. (CC) gcc options: -ldl -m64 -lm -lpthread -O3 -ffast-math -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize
VP8 libvpx Encoding vpxenc OpenBenchmarking.org Frames Per Second, More Is Better VP8 libvpx Encoding 1.1.0 vpxenc VirtualBox Linux KVM Xen Bare Metal 6 12 18 24 30 SE +/- 0.04, N = 3 SE +/- 0.16, N = 3 SE +/- 0.13, N = 3 SE +/- 0.13, N = 3 15.07 21.82 22.99 26.26 1. (CC) gcc options: -m64 -lvpx -lm -lpthread -fomit-frame-pointer -O3
Timed HMMer Search Pfam Database Search OpenBenchmarking.org Seconds, Fewer Is Better Timed HMMer Search 2.3.2 Pfam Database Search VirtualBox Xen Linux KVM Bare Metal 4 8 12 16 20 SE +/- 0.24, N = 3 SE +/- 0.15, N = 3 SE +/- 0.12, N = 3 SE +/- 0.01, N = 3 16.31 11.28 10.80 10.27 1. (CC) gcc options: -O2 -pthread -lhmmer -lsquid -lm
Parallel BZIP2 Compression 256MB File Compression OpenBenchmarking.org Seconds, Fewer Is Better Parallel BZIP2 Compression 1.1.6 256MB File Compression VirtualBox Xen Linux KVM Bare Metal 4 8 12 16 20 SE +/- 0.04, N = 3 SE +/- 0.06, N = 3 SE +/- 0.04, N = 3 SE +/- 0.07, N = 3 13.87 9.40 9.22 8.78 1. (CXX) g++ options: -O2 -pthread -lbz2 -lpthread
PostMark Disk Transaction Performance OpenBenchmarking.org TPS, More Is Better PostMark 1.51 Disk Transaction Performance VirtualBox Xen Linux KVM Bare Metal 900 1800 2700 3600 4500 SE +/- 9.67, N = 3 SE +/- 15.33, N = 3 SE +/- 42.00, N = 3 SE +/- 22.67, N = 3 2707 3409 3948 4121 1. (CC) gcc options: -O3
Smallpt Global Illumination Renderer; 100 Samples OpenBenchmarking.org Seconds, Fewer Is Better Smallpt 1.0 Global Illumination Renderer; 100 Samples VirtualBox Xen Linux KVM Bare Metal 30 60 90 120 150 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 SE +/- 0.58, N = 3 SE +/- 1.45, N = 6 129 87 87 85 1. (CXX) g++ options: -fopenmp
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time VirtualBox Xen Linux KVM Bare Metal 8 16 24 32 40 SE +/- 0.06, N = 3 SE +/- 0.04, N = 3 SE +/- 0.03, N = 3 SE +/- 0.00, N = 3 33.82 23.97 23.61 22.96 1. (CC) gcc options: -lm -lpthread -O3
Dolfyn Computational Fluid Dynamics OpenBenchmarking.org Seconds, Fewer Is Better Dolfyn 0.527 Computational Fluid Dynamics VirtualBox Xen Linux KVM Bare Metal 9 18 27 36 45 SE +/- 0.67, N = 3 SE +/- 0.02, N = 3 SE +/- 0.50, N = 3 SE +/- 0.49, N = 4 37.64 30.22 29.20 29.12
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.3.0 WAV To FLAC VirtualBox Xen Linux KVM Bare Metal 1.287 2.574 3.861 5.148 6.435 SE +/- 0.04, N = 5 SE +/- 0.02, N = 5 SE +/- 0.02, N = 5 SE +/- 0.02, N = 5 5.72 5.03 4.84 4.75 1. (CXX) g++ options: -O2 -fvisibility=hidden -lm
John The Ripper Test: Traditional DES OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.7.9-jumbo-7 Test: Traditional DES Xen Linux KVM Bare Metal 2M 4M 6M 8M 10M SE +/- 72727.80, N = 3 SE +/- 29103.26, N = 3 SE +/- 99840.43, N = 3 8731000 9808000 10123667 1. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl
FFmpeg H.264 HD To NTSC DV OpenBenchmarking.org Seconds, Fewer Is Better FFmpeg 1.1 H.264 HD To NTSC DV Linux KVM Xen Bare Metal 4 8 12 16 20 SE +/- 0.16, N = 3 SE +/- 0.13, N = 3 SE +/- 0.16, N = 3 14.74 14.35 12.73 1. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lasound -lSDL -lpthread -lm -pthread -lbz2 -std=c99 -fomit-frame-pointer -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -MMD -MF -MT
John The Ripper Test: Blowfish OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.7.9-jumbo-7 Test: Blowfish Xen Linux KVM Bare Metal 1400 2800 4200 5600 7000 SE +/- 79.45, N = 6 SE +/- 37.33, N = 3 SE +/- 0.00, N = 3 5669 6357 6558 1. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl
OpenSSL RSA 4096-bit Performance OpenBenchmarking.org Signs Per Second, More Is Better OpenSSL 1.0.1c RSA 4096-bit Performance VirtualBox Linux KVM Xen Bare Metal 30 60 90 120 150 SE +/- 0.83, N = 3 SE +/- 1.20, N = 3 SE +/- 1.57, N = 3 SE +/- 0.73, N = 3 129.30 143.50 144.27 147.47 1. (CC) gcc options: -m64 -O3 -lssl -lcrypto -ldl
FFTE Test: N=64, 1D Complex FFT Routine OpenBenchmarking.org MFLOPS, More Is Better FFTE 5.0 Test: N=64, 1D Complex FFT Routine VirtualBox Xen Linux KVM Bare Metal 1300 2600 3900 5200 6500 SE +/- 73.40, N = 3 SE +/- 13.18, N = 3 SE +/- 15.63, N = 3 SE +/- 2.17, N = 3 5316.36 5816.59 5912.76 6049.13 1. (F9X) gfortran options: -O3 -fomit-frame-pointer -fopenmp
John The Ripper Test: MD5 OpenBenchmarking.org Real C/S, More Is Better John The Ripper 1.7.9-jumbo-7 Test: MD5 Xen Linux KVM Bare Metal 9K 18K 27K 36K 45K SE +/- 334.88, N = 3 SE +/- 154.30, N = 3 SE +/- 289.36, N = 3 39748 40512 41360 1. (CC) gcc options: -lssl -lcrypto -lm -lz -fopenmp -lcrypt -ldl
Himeno Benchmark Poisson Pressure Solver OpenBenchmarking.org MFLOPS, More Is Better Himeno Benchmark 3.0 Poisson Pressure Solver VirtualBox Linux KVM Xen Bare Metal 300 600 900 1200 1500 SE +/- 10.40, N = 3 SE +/- 73.60, N = 6 SE +/- 11.18, N = 3 SE +/- 17.04, N = 3 1272.07 1380.73 1433.27 1496.78 1. (CC) gcc options: -O3
BLAKE2 Phoronix Test Suite v4.8.0m1 OpenBenchmarking.org Cycles Per Byte, Fewer Is Better BLAKE2 20121223 Phoronix Test Suite v4.8.0m1 Xen Bare Metal VirtualBox 1.2645 2.529 3.7935 5.058 6.3225 SE +/- 0.18, N = 6 SE +/- 0.00, N = 3 SE +/- 0.05, N = 3 5.62 5.29 4.94 1. (CC) gcc options: -std=gnu99 -O3 -march=native -lcrypto -lz
Timed MAFFT Alignment Multiple Sequence Alignment OpenBenchmarking.org Seconds, Fewer Is Better Timed MAFFT Alignment 6.864 Multiple Sequence Alignment VirtualBox Xen Linux KVM Bare Metal 5 10 15 20 25 SE +/- 0.13, N = 3 SE +/- 0.17, N = 6 SE +/- 0.24, N = 6 SE +/- 0.12, N = 6 22.79 6.85 6.66 5.64 1. (CC) gcc options: -O3 -lm -lpthread
Phoronix Test Suite v10.8.5