From owner-freebsd-current Fri May 22 09:09:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA14394 for freebsd-current-outgoing; Fri, 22 May 1998 09:09:54 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA14389 for ; Fri, 22 May 1998 09:09:51 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id QAA23766; Fri, 22 May 1998 16:09:41 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA00372; Fri, 22 May 1998 18:09:38 +0200 (MET DST) Message-ID: <19980522180937.06278@follo.net> Date: Fri, 22 May 1998 18:09:37 +0200 From: Eivind Eklund To: Greg Lehey , FreeBSD current users Subject: Re: More about NFS problems under current References: <19980522185102.B312@freebie.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <19980522185102.B312@freebie.lemis.com>; from Greg Lehey on Fri, May 22, 1998 at 06:51:02PM +0930 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, May 22, 1998 at 06:51:02PM +0930, Greg Lehey wrote: > I haven't been able to get my NFS to work reliably yet, but I noticed > the following message while booting: > > struct nfsmount bloated (> 512bytes) > Try reducing NFS_MUIDHASHSIZ > > I don't know to what extent that is related, but I suppose it's worth > trying. Presumably this is happening to everybody. Question: > NFS_MUIDHASHSIZ is currently 63. Should I reduce it to 31, or is the > value not used as a mask? eivind(bitbox)--% glimpse NFS_MUIDHASHSIZ /sys/nfs/nfs.h: #ifndef NFS_MUIDHASHSIZ /sys/nfs/nfs.h: #define NFS_MUIDHASHSIZ 63 /* Tune the size of nfsmount with this */ /sys/nfs/nfs.h: (&(nmp)->nm_uidhashtbl[(uid) % NFS_MUIDHASHSIZ]) /sys/nfs/nfs_subs.c: printf("Try reducing NFS_MUIDHASHSIZ\n"); /sys/nfs/nfsmount.h: LIST_HEAD(, nfsuid) nm_uidhashtbl[NFS_MUIDHASHSIZ]; eivind(bitbox)--% Looks like it would be better off as 32 to me. BTW: Would it be a good idea to have a page in the handbook describing 'a good kernel development environment' or 'tricks and tips for the kernel developer'? I know I have a few tricks up my sleeve, and I assume others have, too. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message