From: Christopher Weimann <cweimann@k12hq.com>
To: Dror Matalon <dror@zapatec.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: FreeBSD config
Date: Thu, 26 Feb 2004 18:06:06 -0500
Message-ID: <20040226230606.GG49146@smtp.k12us.com> (raw)
In-Reply-To: <20040226191616.GA26787@rlx11.zapatec.com>
References: <20040226180345.GU26787@rlx11.zapatec.com>
<Pine.LNX.4.33.0402261153490.10449-100000@css120.ihs.com>
<20040226191616.GA26787@rlx11.zapatec.com>
On 02/26/2004-11:16AM, Dror Matalon wrote:
> >
> > effective_cache_size changes no cache settings for postgresql, it simply
> > acts as a hint to the planner on about how much of the dataset your OS /
> > Kernel / Disk cache can hold.
>
> I understand that. The question is why have the OS, in this case FreeBsd
> use only 200 Megs for disk cache and not more. Why not double the
> vfs.hibufspace to 418119680 and double the effective_cache_size to 51040.
>
FreeBSD uses ALL ram that isn't being used for something else as
its disk cache. The "effective_cache_size" in the PostGreSQL config
has no effect on how the OS chooses to use memory, it is just hint
to the PostGreSQL planner so it can guess the the likelyhood of
what it is looking for being in the cache.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: cweimann@k12hq.com, dror@zapatec.com
Subject: Re: FreeBSD config
In-Reply-To: <20040226230606.GG49146@smtp.k12us.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox