DragonFly commits List (threaded) for 2004-03
cvs commit: src/sys/sys socketvar.h src/sys/vfs/nfs nfs_syscalls.c nfsproto.h
dillon 2004/03/08 15:52:53 PST
DragonFly src repository
sys/vfs/nfs nfs_syscalls.c nfsproto.h
Increase the default socket buffer for NFS to deal with linux bugs and to
improve performance. The default nfs socket buffer is now 65535 bytes,
settable with a sysctl (vfs.nfs.soreserve).
It is my belief that when large data block sizes (32K) are negotiated,
the larger socket buff should improve read-ahead performance and reduce
nfs socket buffer lock contention that occurs with multiple nfsd's. I
was able to do some testing over GigE and it did seem to help, but problems
with one of the machines made the tests less then reliable.
Credits: Richard Sharpe originally encountered issues with linux NFS
clients that were traced to linux doing a bad job in its delayed-ack code.
David Rhodus created an initial patch which I used as a partial basis for
this commit (circa October 2003).
Revision Changes Path
1.10 +2 -1 src/sys/sys/socketvar.h
1.13 +16 -0 src/sys/vfs/nfs/nfs_syscalls.c
1.3 +1 -1 src/sys/vfs/nfs/nfsproto.h