symfonyvagrantsyliuspuphpet

Symfony / Sylius site on Vagrant / Puphpet is slow. Same site not on a Virtualbox is not slow


We have one particular site that is Symfony and uses the e-commerce bundle Sylius.

Our developers are trying to use Vagrant so we can have similar dev environments. We use Puphpet to generate the Vagrant instance and share the config file.

If we are working on the site/repo natively or on a staging server, all runs fine. Pages load in around 2-3 seconds.

When we are using Vagrant / Virtualbox, it's 30-35 seconds per page load.

So far we've tried

None of those things made an impact on page load time.

I can provide 2 things. One is the load trace from Symfony: https://nimbus.everhelper.me/client/notes/share/708707/mvw707mckzm2wq4rlkzc

Since there is so much code to the puphpet config, I put it in a pastebin here: http://pastebin.com/7ciVA5FL


Solution

  • vagrant-winnfsd works fine for me for getting NFS to work on Windows.