From owner-freebsd-performance@FreeBSD.ORG Tue Jul 22 11:55:28 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FE3737B401; Tue, 22 Jul 2003 11:55:28 -0700 (PDT) Received: from perrin.int.nxad.com (internal.ext.nxad.com [69.1.70.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E01943FA3; Tue, 22 Jul 2003 11:55:28 -0700 (PDT) (envelope-from sean@nxad.com) Received: by perrin.int.nxad.com (Postfix, from userid 1001) id 81EAC21216; Tue, 22 Jul 2003 11:55:27 -0700 (PDT) Date: Tue, 22 Jul 2003 11:55:27 -0700 From: Sean Chittenden To: Christopher Weimann Message-ID: <20030722185527.GU64860@perrin.int.nxad.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030722143449.B10666@smtp.k12us.com> X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 3849 3760 1AFE 7B17 11A0 83A6 DD99 E31F BC84 B341 X-Web-Homepage: http://sean.chittenden.org/ User-Agent: Mutt/1.5.4i cc: freebsd-database@freebsd.org cc: freebsd-performance@freebsd.org cc: Paul Pathiakis Subject: Re: Tuning for PostGreSQL Database X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 18:55:28 -0000 > > 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