i use container with lftp over hashicorp nomad to get data from a storage box.
Volume mount in container is a nfs mount on the host.
I notice that memory in nomad increase when use nfs share and not with docker stats command but I notice when memory reach limit in nomad the transfer rate on nfs fall.
Same comportment when I launch the container directly with docker
I have tested with volume on local host without network share and I don’t have this rate drop
I will test on a samba share to see same occur .
Do you have already meet this? Maybe a setting on NFS server or client that I don’t know?
I just check with a samba share I didn’t meed the issue. and the rate is is 3 time more faster than on NFS.
maybe link with an old NFS version on my synology DS212
Make sure to use nfsv4, every DS running a DSM6.x or 7.x should allow enabling and use nfsv4. The overhead for nfs should be smaller than the overhead for cifs.