Hi!
My FreeBSD 11.2 box has the strange behavior that copying a file via NFS, SMB, or AFP is always capped at exactly 60 MByte/s. However, copying the same file to the same client via SCP immediately hits GBit line speed at 110 MByte/s.
It shouldn't be a hardware limitation, I can read the file with more than 200 MByte/s from disk and the CPU is mostly idle. The data is on a single disk with ZFS on a GELI encryption layer. AESNI support is enabled. ZFS also has 8 GB ARC available.
I have tried to disable atime or sync on ZFS, also setting TCP_NODELAY and larger snd/rcv buffers, but none of it made any difference.
Has anyone any idea what might be wrong?
My FreeBSD 11.2 box has the strange behavior that copying a file via NFS, SMB, or AFP is always capped at exactly 60 MByte/s. However, copying the same file to the same client via SCP immediately hits GBit line speed at 110 MByte/s.
It shouldn't be a hardware limitation, I can read the file with more than 200 MByte/s from disk and the CPU is mostly idle. The data is on a single disk with ZFS on a GELI encryption layer. AESNI support is enabled. ZFS also has 8 GB ARC available.
I have tried to disable atime or sync on ZFS, also setting TCP_NODELAY and larger snd/rcv buffers, but none of it made any difference.
Has anyone any idea what might be wrong?