NFS latency/locking(?) problems
-
(I doubt it's a pfSense problem.)
I'm new to NFS but I've read everything I can find.
My problem is that when I saturate my 100Mbit NFS link with an NFS file transfer then try to "ls" the target directory it occasionally lags up to 20 seconds before listing the directory. I tried lowering the block size down to 1K and it did kinda lower the lag to 3 seconds but that still seems way too high. The throughput is fine.
Server is Ubuntu 16.04.1 LTS
Client is ArchLinux.
NFSv4
TCPAny help is appreciated.
-
All over LAN or WAN traffic?
-
All over LAN or WAN traffic?
All LAN.
Oh, I forgot to mention that pings and all other services still have normal latency (< 1ms) during link saturation. It's just NFS that lags.
-
Could Nagle on the client or server be creating an artificial 100ms delay? Even then, you'd think it would be a common issue.