From owner-freebsd-hackers Sat Apr 26 10:55:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA00662 for hackers-outgoing; Sat, 26 Apr 1997 10:55:47 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA00657 for ; Sat, 26 Apr 1997 10:55:44 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id DAA12300; Sun, 27 Apr 1997 03:53:57 +1000 Date: Sun, 27 Apr 1997 03:53:57 +1000 From: Bruce Evans Message-Id: <199704261753.DAA12300@godzilla.zeta.org.au> To: michaelh@cet.co.jp, msmith@atrad.adelaide.edu.au Subject: Re: namei & hash functions Cc: hackers@hub.freebsd.org Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >1) Original. Done. > >2) Mask version only. > >3) Double hashsize. > > nchashtbl = hashinit(desiredvnodes * 2, M_CACHE, &nchash); > >4) Mult by 33, mask version. Done. > >5) Mult by 33, double hashsize. > >I have a feeling that 2) is sufficient. I might stop on 3). I just got >news that we can start exploring I-405. The mask version is the original 4.4Lite version. The prime version is supposed to be a FreeBSD enhancement. One would hope that whoever changed it did extensive tests :-). Bruce