cvs commit: src/sys/sys socketvar.h src/sys/vfs/nfs nfs_syscalls.c nfsproto.h

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 8 15:53:22 PST 2004


dillon      2004/03/08 15:52:53 PST

DragonFly src repository

  Modified files:
    sys/sys              socketvar.h 
    sys/vfs/nfs          nfs_syscalls.c nfsproto.h 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_syscalls.c.diff?r1=1.12&r2=1.13&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfsproto.h.diff?r1=1.2&r2=1.3&f=h





More information about the Commits mailing list