Inconsistent share access speed


Recommended Posts

I have a share that I have all of my development work in that lives on my cache drive. One of the projects is a Node program that is compiled with webpack. I noticed that when I try to run this via docker vs VM, the results are quite different...

 

I setup some different use cases to figure out what is going on. My docker container and VM are both running Ubuntu 18.04

 

Docker Container:

  • Project running from share passed in as a volume: Takes ~160-180 seconds to finish running.
  • Project running from local docker fs: Takes ~50 seconds to finish running

 

VM:

  • Project running directory mounted from NFS share: Takes ~90-100 seconds to finish running
  • Project running from local VM ssd (unassigned device): Takes ~70-80 seconds to finish running

 

I would have imagined that the docker volume would be faster than consuming the share from NFS, but maybe I'm doing something wrong? Has anyone else noticed how a discrepancy this bad?

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.