cvs commit: src/sys/vfs/nfs nfs_serv.c

Jeffrey Hsu hsu at crater.dragonflybsd.org
Fri Jul 16 09:17:51 PDT 2004


hsu         2004/07/16 09:17:08 PDT

DragonFly src repository

  Modified files:
    sys/vfs/nfs          nfs_serv.c 
  Log:
  Increase the size of the nfsheur hash table as pointed out by
  Daniel Ellard and Margo Selzter in "NFS Tricks and Benchmarking Traps",
  Proceedings of the 2003 Freenix Technical Conference.
  
           The two changes are to increase NUM_HEURISTIC, and increase
           the number of probes attempted before a search of the table
           is abandoned. You could make the max probes as high as
           NUM_HEURISTIC, if you want to trade time for space. My
           choice of constants is arbitrary; maybe they should be
           config options so people with really big servers can set
           it to whatever they like when they build their kernels.
  
  Obtained from:  http://www.eecs.harvard.edu/~ellard/NFS
  Approved by:  Dan Ellard
  
  Revision  Changes    Path
  1.17      +4 -4      src/sys/vfs/nfs/nfs_serv.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_serv.c.diff?r1=1.16&r2=1.17&f=u





More information about the Commits mailing list