Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vagrantfile for development use #384

Merged
merged 1 commit into from
Apr 26, 2019

Conversation

erikwilson
Copy link
Contributor

Provides Vagrantfile for multi-machine development. Uses NFS mounts for
very fast volume access at the cost of increased memory consumption.

@erikwilson
Copy link
Contributor Author

erikwilson commented Apr 22, 2019

Benchmarking ./scripts/ci on a 2018 MacBook Pro, mounting the build synced folder using nfs is about 2x faster than using virtualbox.

  • virtualbox
    1. 7m29.205s
    2. 6m57.983s
    3. 7m13.118s
    • RSS 6.183gb CPU 78%
  • nfs
    1. 3m34.103s
    2. 3m2.784s
    3. 2m48.196s
    • RSS 16.334gb CPU 53%

@erikwilson
Copy link
Contributor Author

erikwilson commented Apr 22, 2019

Also compared to dapper docker build for different types of volume mounts:

  • consistent (default)
    1. 10m30.595s
  • cached
    1. 4m41.331s
    2. 3m45.252s
    3. 3m52.004s

@ibuildthecloud ibuildthecloud changed the title [WIP] Add Vagrantfile for development use Add Vagrantfile for development use Apr 26, 2019
@ibuildthecloud ibuildthecloud merged commit 41520d7 into k3s-io:master Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants