Subject: Re: Simple thought...
To: Frank Kardel <Frank.Kardel@Acrys.COM>
From: Andrew Gillham <email@example.com>
Date: 06/10/2002 11:23:46
On Mon, Jun 10, 2002 at 03:46:55PM -0000, Frank Kardel wrote:
> With UBC there is also another interesting parameter generating much
> joy when increased:
> sysctl -w kern.maxvnodes=64000 (for bigger machines arount 700MB RAM)
> The data-pages now hang off the vnodes in UBC if i read the hints everywhere
> right. Now the more vnodes you have the more data can be tacked onto them.
> Increasing the buffer cache only helps meta data and takes memory away for
> vnode data caching. Try to look at the "vmstat buf" statistics page and look
> for vnode data pages. My machine (768MB) usually caches around 500-600MB
> file system data. And more - lingering vnodes do not need to be filled
> from the buffer cache. Effects are that kernel ld-runs are completely filled
> from memory (just written .o files) and the bufcache is only used for
> moving meta data. Set me right if i overlooked something here.
What is a reasonable max for this? I've cranked it up repeatedly on a busy
system and even at 700,000 (yes 700k) I ended up with 690k+ vnodes in use.