Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id CBCDA632B4E for ; Mon, 26 Jul 2010 19:28:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 04660-04 for ; Mon, 26 Jul 2010 22:28:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.anarazel.de (mail.anarazel.de [217.115.131.40]) by mail.postgresql.org (Postfix) with ESMTP id 98BD76329E1 for ; Mon, 26 Jul 2010 19:28:25 -0300 (ADT) Received: by mail.anarazel.de (Postfix, from userid 108) id 48789448003; Tue, 27 Jul 2010 00:28:22 +0200 (CEST) Received: from anarazel.de (e178213249.adsl.alicedsl.de [85.178.213.249]) by mail.anarazel.de (Postfix) with ESMTPSA id 2FB00448003; Tue, 27 Jul 2010 00:28:18 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id F1E1E1C00A3; Tue, 27 Jul 2010 00:28:04 +0200 (CEST) Date: Tue, 27 Jul 2010 00:28:04 +0200 From: Andres Freund To: Greg Spiegelberg Cc: Greg Smith , Yeb Havinga , pgsql-performance@postgresql.org Subject: Re: Testing Sandforce SSD Message-ID: <20100726222804.GA3054@anarazel.de> References: <4C4A9452.9070100@gmail.com> <4C4B1F84.5030306@2ndquadrant.com> <4C4C83DF.3010703@gmail.com> <4C4C8CCC.7080406@gmail.com> <4C4D6396.5020707@gmail.com> <4C4DAAE8.3060501@2ndquadrant.com> <4C4DE50B.1060102@gmail.com> <4C4DE5C9.8090004@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/393 X-Sequence-Number: 39782 On Mon, Jul 26, 2010 at 03:23:20PM -0600, Greg Spiegelberg wrote: > On Mon, Jul 26, 2010 at 1:45 PM, Greg Smith wrote: > > Yeb Havinga wrote: > >> I did some ext3,ext4,xfs,jfs and also ext2 tests on the just-in-memory > >> read/write test. (scale 300) No real winners or losers, though ext2 isn't > >> really faster and the manual need for fix (y) during boot makes it > >> impractical in its standard configuration. > >> > > > > That's what happens every time I try it too. The theoretical benefits of > > ext2 for hosting PostgreSQL just don't translate into significant > > performance increases on database oriented tests, certainly not ones that > > would justify the downside of having fsck issues come back again. Glad to > > see that holds true on this hardware too. > I know I'm talking development now but is there a case for a pg_xlog block > device to remove the file system overhead and guaranteeing your data is > written sequentially every time? For one I doubt that its a relevant enough efficiency loss in comparison with a significantly significantly complex implementation (for one you cant grow/shrink, for another you have to do more complex, hw-dependent things like rounding to hardware boundaries, page size etc to stay efficient) for another my experience is that at a relatively low point XlogInsert gets to be the bottleneck - so I don't see much point in improving at that low level (yet at least). Where I would like to do some hw dependent measuring (because I see significant improvements there) would be prefetching for seqscan, indexscans et al. using blktrace... But I currently dont have the time. And its another topic ;-) Andres