Increase the size of the nfsheur hash table as pointed out by
authorJeffrey Hsu <hsu@dragonflybsd.org>
Fri, 16 Jul 2004 16:17:08 +0000 (16:17 +0000)
committerJeffrey Hsu <hsu@dragonflybsd.org>
Fri, 16 Jul 2004 16:17:08 +0000 (16:17 +0000)
commit053a4ed49a786c8af00aab6c38bd91e57c61ac21
tree5ee2b827545b10a39d8e9285749a81518b82114f
parent4a83860d0bbb2fdf278e9b06f0928c2fd47e9528
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
sys/vfs/nfs/nfs_serv.c