VMWare vs. Virtualbox performance

486 views
Skip to first unread message

Jacob Bednarz

unread,
Apr 15, 2015, 5:42:05 PM4/15/15
to vagra...@googlegroups.com
Hey,
I do a fair bit of work where I am between VM's and at the moment I am using Virtualbox with Vagrant. After talking with some colleagues last week they mentioned they have seen performance increases swapping to VMWare.

What I am looking to find out is:
- Is there a noticable difference for other users?
- If there is, where are you seeing the performance gains and what type of scenarios?

I'm more than happy to pay should there be a significant increase in performance but just wanted to get the wider community feedback first.

Thanks.

Seth Vargo

unread,
Apr 16, 2015, 10:45:47 AM4/16/15
to vagra...@googlegroups.com
I think you'll find this article of interest: http://mitchellh.com/comparing-filesystem-performance-in-virtual-machines

Best,
Seth

--
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dragon788

unread,
Apr 16, 2015, 12:07:03 PM4/16/15
to vagra...@googlegroups.com
I can definitely support Mitchell's findings. There are some quirks about permissions in shared folders etc but overall VMware is WAY faster than Virtualbox in almost every case. We did some benchmarks around compiling software and performance in Virtualbox actually decreased when going beyond 4 cores, in VMware on an 8 core system we got improvements all the way up to using all 8 cores, and the host OS was still fairly usable. I/O is really a big help on either system, running from SSDs makes life so much better. In VMware there are additional things you can do like putting all VM memory into actual memory and now allowing it to swap to disk, this also keeps things snappy.

Paul Davidson

unread,
Apr 16, 2015, 1:30:44 PM4/16/15
to vagra...@googlegroups.com
Dragon:
Can you expand on putting all VM memory into actual memory?
Do you mean allocating enough RAM to the VM so that it never needs to disk swap?
Or is there a specific setting in VMware that tells the VM box to never use disk swap space?

I have noticed  that if I don't allocate enough ram to the VM, that performance is dead slow.
Better with an SDD but even flash ram is nowhere near as fast as bus ram.
Thanks

Ethan S.

unread,
Apr 16, 2015, 1:36:45 PM4/16/15
to vagra...@googlegroups.com
In Workstation, under Edit> Preferences> Memory, change the setting from "Allows VMs to use some swap" to "Fit all VM memory into reserved space". This prevents VM memory from ever getting swapped to disk, which increases performance especially if you have "slow" standard HDDs.

--
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/7T5cGCgtYOM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.

Alvaro Miranda Aguilera

unread,
Apr 18, 2015, 5:26:09 PM4/18/15
to vagra...@googlegroups.com
Hi Paul,

I think OP used swap to mean "replace virtualbox with vmware" and not
the actual swap at os level.
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an

Alvaro Miranda Aguilera

unread,
Apr 18, 2015, 5:30:07 PM4/18/15
to vagra...@googlegroups.com
Hi Jacob

On top of the link that Seth did share, I can do this.

The performance issue is on virtualbox fs under certain use cases,

if you use the shared folder , /vagrant or any other virtualbox fs
just a staging area, and move your dev work to github/native fs, you
should not have any performance issues.

For somepeople, use vmware is becuase they have/know the product.. the
vmware fs works better.. or they use some feature like symlink on the
host that work transparently on the guest..

whatever its, As for the vmware.. its double cost.. Vmware product
plus vagrant vmware plugin..

Hashicorp does 30 days no question asked if you want to try the
plugin, and then you can ask a refund.

Hope this helps.

Alvaro.

Jacob Bednarz

unread,
Apr 18, 2015, 6:59:42 PM4/18/15
to vagra...@googlegroups.com
Thanks to everyone for the feedback! The links and comments have convinced me to give it a go. 

Regards,
Jacob
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/7T5cGCgtYOM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages