Bad shared folders performance on Windows host and Linux box

5,523 views
Skip to first unread message

Michal Galet

unread,
Apr 15, 2012, 5:08:56 PM4/15/12
to Vagrant
Hi all,

I wanted to ask you about any hints and suggestions regarding slow
shared folders performance. Our company uses Windows 7 as a host OS
(high performance desktop with fast SSD disk), application runtime is
Fedora. The app is really big therefore performance of our development
machines is critical to us to be productive. Currently we are using a
custom approach with VMWare Workstation similar to Vagrant. However we
are now considering switching to Vagrant.

Here are some numbers:
Compile the app on native FS: 2 minutes
Compile on VMWare shared folder: 4 minutes
Compile on VirtualBox shared folder: 12 minutes

Tests execution on native FS: 8 hours
Tests on VMWare shared folder: 9 hours
Tests on VirtualBox shared folder: 14 hours

As you can see shared folders performance of VBox is a blocker for us.

Using Samba for sharing is also slow and makes things very complex.
Dou you have any suggestions?

Thanks,
Michal

Keith Webster

unread,
May 2, 2012, 6:05:51 PM5/2/12
to vagra...@googlegroups.com
I am also having this issue with no clear workarounds so would like to hopefully bump this back into the queue as it's been stale for almost 3 weeks now.

Jonathan Barket

unread,
May 14, 2012, 2:42:20 PM5/14/12
to vagra...@googlegroups.com
I'm having this issue as well. i7 with an SSD, blazing quick in Windows 7, painfully slow in Ubuntu in Vagrant. It is the damnest thing.

Mitchell Hashimoto

unread,
Mar 21, 2013, 7:43:21 PM3/21/13
to vagra...@googlegroups.com
NFS helps: http://docs.vagrantup.com/v2/synced-folders/nfs.html

VMware is better (but still not as good as NFS): http://www.vagrantup.com/vmware

Unfortunately, shared folder performance just is sad.


On Thu, Mar 21, 2013 at 4:41 PM, Philippe Gerber <phil...@bigwhoop.ch> wrote:
Bumping this up. Has anyone had any success and found an acceptable solution?

--
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/groups/opt_out.
 
 

Tom Van Looy

unread,
Jun 25, 2013, 5:57:36 AM6/25/13
to vagra...@googlegroups.com
Also make sure you have the correct guest additions installed. This will make a difference in performance, but probably doesn't solve the real problem.

Billy Te

unread,
Oct 21, 2013, 8:12:44 PM10/21/13
to vagra...@googlegroups.com
What is a "guest addition", Tom, and how do I decide which are "correct"?

@Mitchell Vagrant doesn't support NFS on windows. How does VMware help in this situation? Are you saying use it in place of vagrant? Or in place of VirtualBox? Or what?

Thanks, BT

Adrian Simmons

unread,
Oct 22, 2013, 5:09:31 AM10/22/13
to vagra...@googlegroups.com

On Tuesday, 22 October 2013 01:12:44 UTC+1, Billy Te wrote:
@Mitchell Vagrant doesn't support NFS on windows. How does VMware help in this situation? Are you saying use it in place of vagrant? Or in place of VirtualBox? Or what?

VMware is equivalent to VirtualBox, they're both virtualisation software that vagrant can work with.
VMware's shared folder support is supposedly a little faster than VirtualBox's, so some improvement, but it still sucks.

NFS (Network File System) is an ancient unix network file system protocol, so unix based host OS like Linux and OSX can use and NFS server to share folders/files with any guest that can mount an NFS share. Windows isn't Unix, so that's no help to you unless you're willing to swap OS :)

Have any of you Windows users looked at Samba? It's the Windows/Linux share software that springs to mind, and a quick google shows lots of posts about using it with VMware and VirtualBox. I've no idea what the performance is like having never used it. I don't think Vagrant has support for Samba though, so any automated config would have to be done with a provisioner.

HTH
Reply all
Reply to author
Forward
0 new messages