[Bug 277197] NFS is much too slow at 10GbaseT

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Feb 2024 20:16:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277197

--- Comment #2 from Hannes Hauswedell <h2+fbsdports@fsfe.org> ---
Thanks for the reply!

With rsize=262144,wsize=262144 I get 293 MiB/s.
With rsize=1048576,wsize=1048576 I get 395 MiB/s. This is already an
improvement, but still not where I would like to have it.

nconnect and readahead don't seem to make much of a difference. NFS3 vs NFS4
also not.

Interestingly, if I boot Linux on the client, and perform a regular NFS mount
with no options supplied, I get almost 600 MiB/s. This was even performed
before changing the server setting. It seems to indicate that our problems are
client-side.

These are the options that Linux reports as used:
```
rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=1.3.1.2,mountvers=3,mountport=820,mountproto=udp,local_lock=none,addr=1.3.1.2
```

So it seems to get a much higher throughput with lower rsize and wsize. I will
try Linux next with higher rsize and wsize.

-- 
You are receiving this mail because:
You are the assignee for the bug.