X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CED5B8B9E18 for ; Wed, 23 Feb 2005 18:03:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82940-08 for ; Wed, 23 Feb 2005 18:03:43 +0000 (GMT) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by svr1.postgresql.org (Postfix) with ESMTP id 60E0F8B9D53 for ; Wed, 23 Feb 2005 18:03:42 +0000 (GMT) Received: from panix1.panix.com (panix1.panix.com [166.84.1.1]) by mail1.panix.com (Postfix) with ESMTP id A323558A9A; Wed, 23 Feb 2005 13:03:41 -0500 (EST) Received: (from adler@localhost) by panix1.panix.com (8.11.6p3/8.8.8/PanixN1.1) id j1NI3fY19847; Wed, 23 Feb 2005 13:03:41 -0500 (EST) Date: Wed, 23 Feb 2005 13:03:38 -0500 From: Michael Adler To: John Allgood Cc: pgsql-performance@postgresql.org Subject: Re: Peformance Tuning Opterons/ Hard Disk Layout Message-ID: <20050223180338.GA4259@pobox.com> References: <421CB1BF.2050708@turbocorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <421CB1BF.2050708@turbocorp.com> User-Agent: Mutt/1.4.2.1i X-Hashcash: 1:20:050223:john@turbocorp.com::WnnWWULBd63Erg8F:0000000000000000000 0000000000000000000000005KgE X-Hashcash: 1:20:050223:pgsql-performance@postgresql.org::xJRh2U31jMGDkkat:00000 0000000000000000000000004Q5B X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200502/329 X-Sequence-Number: 10658 On Wed, Feb 23, 2005 at 11:39:27AM -0500, John Allgood wrote: > Hello All > > I am setting up a hardware clustering solution. My hardware is Dual > Opteron 550 with 8GB ram. My external storage is a Kingston Fibre > channel Infostation. With 14 15000'k 36GB drives. The OS we are running > is Redhat ES 3.0. Clustering using Redhat Cluster Suite. Postgres > Version is Postgres 7.4.7. We will be setting up about 9 databases which > range in size from 100MB to 2.5GB on the config. The postgres > application is mostly read intensive. What would be the best way to > setup the hardrives on this server. Currently I have it partioned with 2 > seperate raid 5 with 1 failover per raid. I have two database clusters > configured with a seperate postmaster running for each. Running two > postmasters seems like a pain but that is the only way I knew to > seperate the load. I am mostly concerned about disk IO and performance. > Is my current setup a good way to accomplish the best performance or > would it be better to use all the drives in one huge raid five with a > couple of failovers. I have looked around in the archives and found some > info but I would like to here about some of the configs other people are > running and how they have them setup. http://www.powerpostgresql.com/PerfList/ Consider a separate array for pg_xlog. With tablespaces in 8.0, you can isolate much of the IO in a single cluster. -Mike Adler