Subject: Re: How does UBC caching work?
To: None <tech-perform@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-perform
Date: 07/09/2002 12:41:32
[ On Tuesday, July 9, 2002 at 11:00:19 (+0200), Matthias Scheler wrote: ]
> Subject: Re: How does UBC caching work?
>
> On Tue, Jul 09, 2002 at 10:56:48AM +0200, Jaromir Dolecek wrote:
> > > Is inode/vnode cache still fixed-size?
> > 
> > You can adjust vnode cache size via sysctl kern.maxvnodes
> > (I have it bumped to 50000 in my  /etc/sysctl.conf)
> 
> How much memory does a vnode in the cache cosume? Is it just the size
> of a "struct vnode"?

Unfortunately options(4) doesn't yet include this critical piece of
information for all tuning variables.  If I'm not mistaken some objects
vary in size from architecture to architecture, making it harder to
define their sizes concretely in documentation such as options(4).

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>