Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 21:43:01 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfs nfs_node.c
Message-ID:  <200103170543.f2H5h1e46601@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2001/03/16 21:43:01 PST

  Modified files:
    sys/nfs              nfs_node.c 
  Log:
  Dramatically improve the **lame** nfs_hash().  This is based on the
  Fowler / Noll / Vo Hash (http://www.isthe.com/chongo/tech/comp/fnv/).
  
  This improves hash coverage a *massive* amount.  We were seeing one
  set of machines that were using 0.84% of their 131072 entry nfsnode
  hash buckets with maximum chain lengths of up to ~500 entries.  The
  machine was spending nearly 100% of its time in 'system'.
  A test with this has pushed the coverage from a few perCent up to 91%
  utilization with a max chain length of 11.
  
  Submitted by:  David Filo
  
  Revision  Changes    Path
  1.43      +17 -9     src/sys/nfs/nfs_node.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103170543.f2H5h1e46601>