Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2003 11:55:27 -0700
From:      Sean Chittenden <sean@chittenden.org>
To:        Christopher Weimann <cweimann@k12hq.com>
Cc:        Paul Pathiakis <paul@pathiakis.com>
Subject:   Re: Tuning for PostGreSQL Database
Message-ID:  <20030722185527.GU64860@perrin.int.nxad.com>
In-Reply-To: <20030722143449.B10666@smtp.k12us.com>
References:  <200307191818.13516.paul@pathiakis.com> <20030720110939.GN24507@perrin.int.nxad.com> <20030720164237.GC55392@nasby.net> <20030720205339.GP24507@perrin.int.nxad.com> <20030722143449.B10666@smtp.k12us.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > You might want to get in the habit of using sysctl for getting
> > that kind of info.  `sysctl -d vfs.bufspace`
> 
> I'm confused.  Everything I have ever read about FreeBSD indicates
> that it uses all free ram for the disk cache.

>From loader(8):

     kern.maxbcache
                   Limits the amount of KVM reserved for use by the buffer
                   cache, specified in bytes.  The default maximum is 200MB.
                   This parameter is used to prevent the buffer cache from
                   eating too much KVM in large-memory machine configurations.
                   Only mess around with this parameter if you need to greatly
                   extend the KVM reservation for other resources such as the
                   swap zone or NMBCLUSTERS.  Note that the NBUF parameter
                   will override this limit.  Modifies VM_BCACHE_SIZE_MAX.

-sc

-- 
Sean Chittenden



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