Received: from mail003.mail.onemain.com (SMTP-OUT001.ONEMAIN.COM [63.208.208.71]) by hub.org (8.9.3/8.9.3) with SMTP id SAA24689 for ; Fri, 14 Apr 2000 18:54:14 -0400 (EDT) (envelope-from chrisja@jps.net) Received: (qmail 10054 invoked from network); 14 Apr 2000 22:46:32 -0000 Received: from unknown (HELO jps.net) ([208.237.197.77]) (envelope-sender ) by mail003.mail.onemain.com (qmail-ldap-1.03) with SMTP for ; 14 Apr 2000 22:46:32 -0000 Message-ID: <38F79FB8.65CC745@jps.net> Date: Fri, 14 Apr 2000 15:46:16 -0700 From: Chris Albertson Reply-To: chrisja@jps.net X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i586) X-Accept-Language: en MIME-Version: 1.0 To: Jack Zhu CC: pgsql-admin@postgresql.org Subject: Re: 'postmaster -B [nBuffers]' References: <38F5D75C.AF9C6655@netcom-sys.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200004/49 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