From owner-cvs-all Sat Mar 17 23:29:48 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id ACF1C37B71E; Sat, 17 Mar 2001 23:29:43 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2I7SuZ98670; Sat, 17 Mar 2001 23:28:56 -0800 (PST) (envelope-from dillon) Date: Sat, 17 Mar 2001 23:28:56 -0800 (PST) From: Matt Dillon Message-Id: <200103180728.f2I7SuZ98670@earth.backplane.com> To: Julian Elischer Cc: Peter Wemm , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/nfs nfs_node.c References: <200103170543.f2H5h1e46601@freefall.freebsd.org> <3AB2FDC7.4E4D850C@elischer.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'd like to see this in -stable after the freeze is over! -Matt :Peter Wemm wrote: :> :> 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 : :tell David that it's nice to see he's still keeping his hand in.. : :> :> Revision Changes Path :> 1.43 +17 -9 src/sys/nfs/nfs_node.c : :-- : __--_|\ Julian Elischer : / \ julian@elischer.org : ( OZ ) World tour 2000-2001 :---> X_.---._/ : v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message