Skip to content

Commit

Permalink
Tweak Vagrant config for improved performance
Browse files Browse the repository at this point in the history
Summary: Ran into some issues with Vagrant hitting the memory limit of 8GB.  Bumping to 12GB appears to have mitigated the issue.  Also disabled the GUI because it adds an additional performance constraint.

Test Plan: Tested locally and it appears to improve performance on my machine.  I have not run into issues of Vagrant stalling since I've made this change.

Reviewers: deadalnix, schancel, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1641
  • Loading branch information
jasonbcox committed Aug 20, 2018
1 parent 645e64d commit 8b9617a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contrib/gitian/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ Vagrant.configure("2") do |config|
config.vm.synced_folder '../..', '/vagrant'

config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = true
# Uncomment to display the VirtualBox GUI when booting the machine
# This may be useful for debugging.
#vb.gui = true

# Customize the amount of memory on the VM:
vb.memory = "8048"
vb.memory = "12288"
vb.cpus = 4
end

Expand Down

0 comments on commit 8b9617a

Please sign in to comment.