Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 17:17:16 -0400
From:      Vivek Khera <vivek@khera.org>
To:        freebsd-amd64@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Manipulating disk cache (buf) settings
Message-ID:  <1F46458B-2524-42AB-8B3D-0F54F485241B@khera.org>
In-Reply-To: <20050523174415.GI959@funkthat.com>
References:  <1116860293.10083.43.camel@lanshark.dmv.com> <20050523174415.GI959@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1F46458B-2524-42AB-8B3D-0F54F485241B>