Received: from mta04.mail.mel.aone.net.au (mta04.mail.au.uu.net [203.2.192.84]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6BKvBa68328 for ; Wed, 11 Jul 2001 16:57:11 -0400 (EDT) (envelope-from justin@postgresql.org) Received: from postgresql.org ([63.60.247.200]) by mta04.mail.mel.aone.net.au with ESMTP id <20010711205707.VCDQ12944.mta04.mail.mel.aone.net.au@postgresql.org>; Thu, 12 Jul 2001 06:57:07 +1000 Message-ID: <3B4CBC2C.53E8187B@postgresql.org> Date: Thu, 12 Jul 2001 06:50:52 +1000 From: Justin Clift X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Adam Manock CC: pgsql-general@postgresql.org Subject: Re: Performance tuning for linux, 1GB RAM, dual CPU? References: <5146853DD571D411AC54000102070D611C7F10@MINGBGNTS02> <5146853DD571D411AC54000102070D611C7F10@MINGBGNTS02> <5.1.0.14.2.20010711151558.00ac0590@pop.planetcable.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200107/404 X-Sequence-Number: 12376 Hi Adam, There are a few links to benchmark-type things you might find useful at : http://techdocs.postgresql.org/oresources.php#benchmark Hope they're useful. :-) Regards and best wishes, Justin Clift Adam Manock wrote: > > >This is almost certainly a lousy idea. You do *not* want to chew up all > >available memory for PG shared buffers; you should leave a good deal of > >space for kernel-level disk buffers. > > I decided to start high on buffers because of Bruce's: > http://www.ca.postgresql.org/docs/hw_performance/ > From that I get the impression that operations using kernel disk buffer > cache are considerably more expensive than if the data was in shared > buffer cache, and that increasing PG's memory usage until the system > is almost using swap is The Right Thing To Do. Has anyone got real > world test data to confirm or refute this?? > If not, then I am going to need to find or create a benchmarking program > to load down PG against a fake multi-gigabyte "production" database. > Or I could wait a week to see what RedHat does to tune their > implementation of PG :-) > > Adam > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org