[Bug 267631] slow nfs from FreeBSD guest/client to linux host/server
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Sep 2023 17:51:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267631 --- Comment #3 from Vladimir Druzenko <vvd@FreeBSD.org> --- BTW, man page mount_nfs says that 4 is max value and 0 is allowed: readahead=⟨value⟩ Set the read-ahead count to the specified value. This may be in the range of 0 - 4, and determines how many blocks will be read ahead when a large file is being read sequentially. Trying a value greater than 1 for this is suggested for mounts with a large bandwidth * delay product. With value 0 mount_nfs print error message and exit. And max value is 16 now, not 4. IMHO, better to increase this value for at least 128 (or even 1024 to "cover" more than 10GE). I can't test patches to kernel often: I have 2 hosts with 10GE and both are in production. One more question to fs@: is it possible to set default readahead on server side? P.S. This may be a topic for another PR, but maybe I'll create one later if someone from fs@ asks for it. -- You are receiving this mail because: You are the assignee for the bug.