Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 1998 07:42:56 -0800
From:      Mike Smith <mike@smith.net.au>
To:        "Kenn Martin" <kmartin@infoteam.com>
Cc:        "FreeBSD Stable List" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: NFS_SMALLFH 
Message-ID:  <199811261542.HAA03767@dingo.cdrom.com>
In-Reply-To: Your message of "Thu, 26 Nov 1998 09:53:37 EST." <199811261452.JAA27739@calumet.infoteam.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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