[Bug 267631] slow nfs from FreeBSD guest/client to linux host/server

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 16 Sep 2023 17:21:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267631

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvd@FreeBSD.org

--- Comment #2 from Vladimir Druzenko <vvd@FreeBSD.org> ---
Try mount_nfs -o readahead=16.
Just tested and got 540+MBytes/s read bandwidth via 10GE.
Without readahead == readahead=1: 63
readahead=2: 95
readahead=4: 159
readahead=8: 280
readahead=16: 540

16 is the maximum:
src/sys/fs/nfs/nfs.h:#define  NFS_MAXRAHEAD   16              /* Max. read
ahead # blocks */
But I think I can get more bandwidth if increase it.

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