X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 0FE5F9FB2A0 for ; Mon, 14 Aug 2006 12:38:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 19270-04 for ; Mon, 14 Aug 2006 15:38:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 5EAE29FB1E8 for ; Mon, 14 Aug 2006 12:38:42 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 9449B56435; Mon, 14 Aug 2006 10:38:41 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Mon, 14 Aug 2006 10:38:41 -0500 Date: Mon, 14 Aug 2006 10:38:41 -0500 From: "Jim C. Nasby" To: pgsql-performance@postgresql.org Subject: Re: Postgresql Performance on an HP DL385 and Message-ID: <20060814153841.GF27928@pervasive.com> References: <3E37B936B592014B978C4415F90D662D03FFEF6E@MI8NYCMAIL06.Mi8.com> <721b21dc0608082245u6ee62e7dg522ff18e4d72683@mail.gmail.com> <20060809210539.GR40481@pervasive.com> <1155180553.13315.0.camel@amd64-gentoo-laptop> <20060810110935.GF2900@mathom.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060810110935.GF2900@mathom.us> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060814:pgsql-performance@postgresql.org::dxvtlLgK2xQk+SNL:00000 0000000000000000000000001KzW X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/210 X-Sequence-Number: 20395 On Thu, Aug 10, 2006 at 07:09:38AM -0400, Michael Stone wrote: > On Wed, Aug 09, 2006 at 08:29:13PM -0700, Steve Poe wrote: > >I tried as you suggested and my performance dropped by 50%. I went from > >a 32 TPS to 16. Oh well. > > If you put data & xlog on the same array, put them on seperate > partitions, probably formatted differently (ext2 on xlog). Got any data to back that up? The problem with seperate partitions is that it means more head movement for the drives. If it's all one partition the pg_xlog data will tend to be interspersed with the heap data, meaning less need for head repositioning. Of course, if ext2 provided enough of a speed improvement over ext3 with data=writeback then it's possible that this would be a win, though if the controller is good enough to make putting pg_xlog on the same array as $PGDATA a win, I suspect it would make up for most filesystem performance issues associated with pg_xlog as well. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461