title: How to improve slow shared folders in vagrant
body: <p>On my windows 7 I use:</p>
  
  <ul>
  <li>VirtualBox 5.0.20</li>
  <li>Vagrant 1.9.1</li>
  <li>vagrant-share (1.1.6, system)</li>
  <li>vagrant-winnfsd (1.3.1)</li>
  </ul>
  
  <p>I have an ubuntu vagrant box with some PHP software (piwik) which on a specific CLI command does some processing which involves files. I've measured how long it takes for the command to complete on various types of sharing from guest (ubuntu) to host (win7):</p>
  
  <ul>
  <li>30 seconds on a simple shared folder.</li>
  <li>5 seconds on an nfs shared folder (via <code>config.vm.network "private_network", type: "dhcp"</code> and <code>config.vm.synced_folder "piwik", "/web-pub/piwik", :nfs =&gt; true, :mount_options =&gt; ['actimeo=2']</code>).</li>
  <li>0.5 seconds without sharing, after having copied all relevant files under <code>/tmp</code>, which is not shared.</li>
  </ul>
  
  <p>I confirm proportionally similar numbers on different tasks (e.g <code>drush cc all</code> on a vanilla drupal 7 installation).</p>
  
  <p>Do you know how can I make shared folders be faster than 5 seconds? I'd like to avoid rsync based solutions.</p>