Hi Joel, I think the problem or "bottleneck"is not the combination vagrant + vbox + NFS. I used to run the very same setup on large scale Magento projects with decent results. The code was shared between host and guest via NFS. To me it sounds more like a a lack of resources in the VM. In my setup all the VMs had about 2Gb of RAM split between varnish, apache and mysql say 25/25/50. Of course you have to make sure the host machine has the actual resources to do so. Moreover SSDs can boost performance and they are a very affordable improvement and good value for money if you don't have them yet.
I hope it helps. Cheers, Debo On Thu Feb 26 2015 at 22:11:18 Joel Collins <[email protected]> wrote: > I'm not sure if this is a vagrant or just general virtualbox/vmware/etc > question, but here goes. We use drupal with lots of contrib modules, with > a 100mb codebase and ~20k files. I was trying to create a virtual machine > that has only the stuff necessary to run drupal and let each developer use > the tools on their host (like, an IDE) in order to do their development. > Therefore, I wanted the codebase to be shared between the guest and host (i > think, unless you can show me the light here). > > Our challenge is performance is already not great (1-3 secs / page) even > on native virtualbox. Sharing the codebase between guests and host > resulted in unacceptable performance in every configuration I tried (NFS, > etc). I tried setting up rsync and it seemed to take forever to identify a > file change and sync it across as well. > > I feel I must be missing something here. Is there no way to use a > vagrant-like development workflow with the development tools on a host > machine if the codebase is large? Is there a way to have the files reside > natively on the guest and use (NFS?) to access the files from the guest (do > common IDE's support this?)? Should I just bundle an IDE directly in the > guest? > > I feel like I'm missing some major mental piece here. > > Thanks! > > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
