I’ve fallen in love with everything about trellis except for one thing, it’s performance on windows.
After looking at other threads on the forum I’ve tried to enable nfs on windows by installing the vagrant-winnfsd plugin. Haven’t really noticed much of a performance increase from this, not sure if I need to run any reprovisioning commands to make this active? Is there a way to check if it’s active and working?
Looking at top in the VM I can see that a standard pageload on the wordpress site is easily chewing up 50-70% of the CPU on the VM via the php5-fpm process. Trying to do multitask with two wp-admin tabs open and the VM cpu easily hits 100%.
Is it worth bumping up the resources given to the VM? If so, does anyone have some recommendations?
My dev environment works fine, i used Trellis + Bedrock and a random premium theme (not sage for this project ;))
The problem is, when i click for going on another page (backend or frontend), it’s very slowly. Like 30 or 40 sec.
The theme is new with no content.
I have Windows 10 and SSD, Virtualbox 5.0.10, Vagrant 1.7.4, vagrant-bindfs, winnfsd, and hostsupdater up to date.
I can confirm. Changing the line in the Vagrantfile worked like a charm for me. Pages are now loading in about 2 seconds on my machine.
It’s important to make the change after shutting down the vm.
The only other step I needed to make it work was to install the vagrant WinNFSd plugin by running:
vagrant plugin install vagrant-winnfsd
The network settings in the Vagrantfile are also correctly set by default to work with NFS.