From owner-freebsd-amd64@FreeBSD.ORG Mon May 23 21:17:18 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A06E16A41C; Mon, 23 May 2005 21:17:18 +0000 (GMT) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (yertle.kcilink.com [65.205.34.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64DF043D1D; Mon, 23 May 2005 21:17:18 +0000 (GMT) (envelope-from vivek@khera.org) Received: from [192.168.7.103] (host-103.int.kcilink.com [192.168.7.103]) by yertle.kcilink.com (Postfix) with ESMTP id 4F6ECB879; Mon, 23 May 2005 17:17:17 -0400 (EDT) In-Reply-To: <20050523174415.GI959@funkthat.com> References: <1116860293.10083.43.camel@lanshark.dmv.com> <20050523174415.GI959@funkthat.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1F46458B-2524-42AB-8B3D-0F54F485241B@khera.org> Content-Transfer-Encoding: 7bit From: Vivek Khera Date: Mon, 23 May 2005 17:17:16 -0400 To: freebsd-amd64@freebsd.org X-Mailer: Apple Mail (2.730) Cc: freebsd-stable@freebsd.org Subject: Re: Manipulating disk cache (buf) settings X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 21:17:18 -0000 On May 23, 2005, at 1:44 PM, John-Mark Gurney wrote: > This is incorrect... FreeBSD merged the vm and buf systems a while > back, > so all of memory is used as a disk cache.. The buf cache is still > used > for filesystem meta data (and for pending writes of files, but > those buf's > reference the original page, not local storage)... > Cool... So what would you recommend telling an application like Postgres what the cache size is? All of RAM? That seems unlikely given much of the ram is used for other things. Is there no upper bound in how much RAM will be used for the cache? Vivek Khera, Ph.D. +1-301-869-4449 x806