Skip to content

Instantly share code, notes, and snippets.

@spmurrayzzz
Last active December 31, 2015 06:39
Show Gist options
  • Save spmurrayzzz/7948971 to your computer and use it in GitHub Desktop.
Save spmurrayzzz/7948971 to your computer and use it in GitHub Desktop.
High-performing Vagrant settings
# Note: If you're serving files via shared folders, for christs sake use NFS
# but that does require private networking.
#
# The DNS settings were the ones that made the most difference, so if you're resource
# constrained, the last two settings were the ones that helped the most.
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--cpuexecutioncap", "90"]
vb.customize ["modifyvm", :id, "--cpus", 2]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment