If you are using a virtualization hypervisor, one of your main concerns will be its performance, or in another word, its virtualization overhead. How much overhead is introduced by the virtualization layer will determine the raw performance of guest virtual machines (VMs) running on a hypervisor.
Continuing from the feature comparison between VMware Player and VirtualBox, I will present performance comparison between VMware Player and VirtualBox.
To compare virtualization overhead of two virtualization software packages, I created one VM on VMware Player, and another VM on VirtualBox, both of which have exactly the same specifications. Then I ran various PTS tests to obtain performance benchmarks from both VMs. Since two guest VMs have exactly the same hardware specification, the lower the virtualization overhead is, the better performance a VM will get.
I conducted the performance experiments on one VM at a time, so that there is no resource contention between the two VMs. That is, I powered on VMware Player VM, completed a series of tests on it, and powered off the VM. Next, I powered on VirtualBox VM, repeated the same set of tests with it, and powered it off.
Host Machine Specification
- CPU: Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
- Memory: 8GB Shared Dual Channel DDR3 Memory
- Disk: 1TB 5400 RPM SATA Hard Drive
- VMware Player: 5.0.1 build-894247
- VirtualBox: 4.2.16 r86992
Guest VM Specification (for both VMware Player and VirtualBox)
- Processor count: 1
- Memory: 1GB
- Hard disk: 10GB
- Filesystem: EXT4
- Operating System: Ubuntu 13.04 (64-bit)
- Linux Kernel: 3.8.0-19-generic (x86_64)
Guest VM Installation
- VMware Player VM: VMware Tools
- VirtualBox VM: Guest Additions
I did performance tests in three categories: (1) disk, (2) processor and (3) memory. For each category, I randomly chose several tests among available ones from Phoronix Test Suite.
Disk Performance Comparison
CPU Performance Comparison
Memory Performance Comparison
According to the test results, it appears that VMware Player has a slight edge over VirtualBox in terms of CPU and memory. As far as disk performance is concerned, it is not conclusive which one is better.
It may still be hard to generalize the findings reported here, since this is a case of one particular hardware setting with a limited set of tests. So take it with a grain of salt.
If you want to share your experience with VMware Player or VirtualBox in terms of their performance, feel free to share it in the comment section.
Subscribe to Xmodulo
You can have daily Linux tutorials and FAQs delivered to your email inbox. Simply enter your email address below to subscribe to our mailing list. You will receive hands-on guides and carefully written tutorials related to Linux, everything for free.