From owner-freebsd-stable Thu Nov 26 07:44:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09089 for freebsd-stable-outgoing; Thu, 26 Nov 1998 07:44:26 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from dingo.cdrom.com (castles216.castles.com [208.214.165.216]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA09081 for ; Thu, 26 Nov 1998 07:44:21 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id HAA03767; Thu, 26 Nov 1998 07:42:57 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811261542.HAA03767@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Kenn Martin" cc: "FreeBSD Stable List" Subject: Re: NFS_SMALLFH In-reply-to: Your message of "Thu, 26 Nov 1998 09:53:37 EST." <199811261452.JAA27739@calumet.infoteam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Nov 1998 07:42:56 -0800 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Thu, 26 Nov 1998 01:22:22 -0800, Mike Smith wrote: > > >> After a cvsup, buildworld, installworld, kernel config/make/install, > >> I now get this at boot: > >> > >> FreeBSD 2.2.7-STABLE #0: Thu Nov 26 01:42:07 EST 1998 > >> ... > >> struct nfsnode bloated (> 256bytes) > >> Try reducing NFS_SMALLFH > >> nfs_nhinit: bad size 268 > >> > >> > >> I was able to grep this define in the code, but why should I have to > >> change it as it appears to be using the default of 64? > > > >Grr. I didn't notice this when testing (but it's there in the log). > > > >This is the NFS accelerator stuff bloating the nfsnode (it's fully > >packed out already). > > > >Can I have a judgement call on this - do we want the NFS performance > >enhancement in 2.2.8? If so, what's the best way to avoid the > >structure bloat (which is bad?) > > I would like to see the performance enhancement, but would have to > look at the code to offer any suggestions. Please do; the issue is that if an NFS file handle larger than NFS_SMALLFH is returned there is alternative code which needs to manage the handle. If you can try reducing NFS_SMALLFH to 56 in sys/nfs/nfsproto.h and do some NFS testing against a server in v3 mode, that would be appreciated. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message