[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS4 file transfers fail or are very slow



Am 17.01.2018 um 23:22 schrieb Michael Stone:
On Wed, Jan 17, 2018 at 10:55:21PM +0100, Michael wrote:
When I copy the same file 3 times onto the same share I get an average of
108 MB/s with SMB/CIFS
 84 MB/s with NFS (async,no_subtree_check)

What's the server? Also try grep MOUNTPOINT /proc/mounts
(where MOUNTPOINT is /whatever your NFS share is)
you should see either nfs2, nfs3, or nfs4 in the second field, then rsize= and wsize= and further down proto=tcp or proto=udp. It would be helpful to know what those are on your system.

Mike Stone

The server is a self-built machine with an ASRock J4205-ITX mainboard, 8GB RAM, a Samsung 470 SSD as system disk and 2x WD Reds as data disks. It's running the Debian backport kernel 4.13 (4.14 since yesterday).

The result of 'mount | grep /mnt/temp' on the client is

rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.192.20,local_lock=none,addr=192.168.192.10

where I just set 'soft,proto=tcp', the others were set as default.

Michael


Reply to: