Boost Vagrant

14 July 2013


The box, which You’ve used to create Your Vagrant virtual machine, could have not enough memory ressources to run fast Your application, dependds, what You are doing. Default precise64 had 384 Mb of memory, when I raised it to 1024 Mb, my app was much more reactive. You could do it in Virtualbox properties of Your machine, when it’s down.


You could have great gain in performance, especcially on Windows 7, if You will activate I/O APIC (I/O Advanced Programmable Interrupt Controller).

config.vm.customize ["modifyvm", :id, "--memory", "1024", "--ioapic", "on"]


Vagrant works much faster with NFS on Unix systems (both Mac and Linux).

To enable NFS, add following elements to Your Vagrantfile : :hostonly, ""
config.vm.share_folder("v-root", "/vagrant", ".", :nfs => true)

On Windows NFS doesn’t work, but it works not so bad with default Virtualbox shared folders.



© 2020 Fedir RYKHTIK