From: Tim Ellis <Tim.Ellis@gamet.com>
To: Curt Sampson <cjs@cynic.net>
Cc: stigmata@blackangel.net
Cc: pgsql-admin@postgresql.org
Subject: Re: memory strangeness (fwd)
Date: Mon, 8 Jul 2002 11:23:04 -0700
Message-ID: <20020708112304.733fbe30.Tim.Ellis@gamet.com> (raw)
In-Reply-To: <Pine.NEB.4.44.0207071301240.487-100000@angelic.cynic.net>
References: <20020705101359.V48217-100000@osiris.deathkeep.com>
<Pine.NEB.4.44.0207071301240.487-100000@angelic.cynic.net>
On Sun, 7 Jul 2002 13:06:00 +0900 (JST)
Curt Sampson <cjs@cynic.net> wrote:
> > On this particular system, though, it's doing
> > nothing except PG. 384 MB of RAM, I can give PG 160 of it, which
> > leaves me with some 170 MB of idle RAM.
>
> No, that's not idle RAM; that's buffer cache. (FreeBSD, like most
> modern Unix operating systems, will use any spare physical memory
> to cache blocks read from the disk.) If you allocate 160/170, you
> now have pretty much maximized your chances that postgres and the
> operating system will be buffering the same data, and made your
> memory as minimally effective as possible.
Is there not a method of reading a disk block and instructing the OS not
to buffer it, or am I hallucinating? (My main RDBMS experience experience
is on Solaris, and I could swear that major RDBMSs on that OS will ask the
OS not to buffer disk I/O on behalf of the database)
--
Tim Ellis
DBA, Gamet
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Tim.Ellis@gamet.com, cjs@cynic.net, stigmata@blackangel.net
Subject: Re: memory strangeness (fwd)
In-Reply-To: <20020708112304.733fbe30.Tim.Ellis@gamet.com>
References: <20020705101359.V48217-100000@osiris.deathkeep.com> <Pine.NEB.4.44.0207071301240.487-100000@angelic.cynic.net> <20020708112304.733fbe30.Tim.Ellis@gamet.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