From: Chris Albertson <chrisja@jps.net>
To: Jack Zhu <jzhu@netcom-sys.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 'postmaster -B [nBuffers]'
Date: Fri, 14 Apr 2000 15:46:16 -0700
Message-ID: <38F79FB8.65CC745@jps.net> (raw)
References: <38F5D75C.AF9C6655@netcom-sys.com>
Jack Zhu wrote:
>
> The default for disk buffers number is 64. I think it's not big enough.
> If my box has 128 or 256 MB RAM, what's the percentage of RAM should be
> assigned to postmaster by using '-B' option? Any experience about the
> performence regarding to the change of buffer size?
Try this: Run the "top" display and watch the CPU utilization.
Add buffers and/or more physical RAM untill your Postgresql
server becomes CPU bound. You can tell if it is when the
utilization is close to 100%. If the CPU utilization is low
it means the CPU is waiting on the disk.
A direct answer is "B = a few thousand"
--Chris Albertson home: chrisja@jps.net
Redondo Beach, California work: calbertson@logicon.com
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: chrisja@jps.net, jzhu@netcom-sys.com
Subject: Re: 'postmaster -B [nBuffers]'
In-Reply-To: <38F79FB8.65CC745@jps.net>
References: <38F5D75C.AF9C6655@netcom-sys.com> <38F79FB8.65CC745@jps.net>
* 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