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

VirtualBox 6.x / Vagrant /data/wordpress mount very slow #171

Open
ottok opened this issue Jan 29, 2021 · 0 comments
Open

VirtualBox 6.x / Vagrant /data/wordpress mount very slow #171

ottok opened this issue Jan 29, 2021 · 0 comments
Labels
bug feature-vagrant Issues related to the Vagrant development environment

Comments

@ottok
Copy link
Contributor

ottok commented Jan 29, 2021

This phenomenon was noticed today while looking into why the new Vagrant box with VirtualBox 6.x seems so sluggish:

Command that reads files in data mount is slow:

DEVELOPMENT [@wordpress:/data/wordpress] feature/wp-development-up(+5/-2)+* ± time git diff --shortstat
 22 files changed, 5 insertions(+), 2 deletions(-)

real	0m0.617s
user	0m0.029s
sys	0m0.148s

Same command in another dir outside of /data/wordpress is much faster, running in mere milliseconds.

This however does not happen on every vagrant up run. Some times the command runs faster:

DEVELOPMENT [@wordpress:/data/wordpress] feature/wp-development-up(+2/-2)+* ± time git diff --shortstat
 22 files changed, 2 insertions(+), 2 deletions(-)

real	0m0.080s
user	0m0.002s
sys	0m0.038s

I looked at mounts and network settings etc but did not discover anything special.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature-vagrant Issues related to the Vagrant development environment
Projects
None yet
Development

No branches or pull requests

2 participants