Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id E0488632943 for ; Wed, 1 Apr 2009 17:38:45 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21855-02 for ; Wed, 1 Apr 2009 17:38:43 -0300 (ADT) Received: from mx1.hub.org (mx1.hub.org [200.46.208.106]) by mail.postgresql.org (Postfix) with ESMTP id 3FE2D6324E6 for ; Wed, 1 Apr 2009 17:38:44 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from bifrost.lang.hm (mail.lang.hm [64.81.33.126]) by mx1.hub.org (Postfix) with ESMTP id 8A9FF125A589 for ; Wed, 1 Apr 2009 17:38:43 -0300 (ADT) Received: from asgard.lang.hm (asgard.lang.hm [10.0.0.100]) by bifrost.lang.hm (8.13.4/8.13.4/Debian-3) with ESMTP id n31KcYZq001309; Wed, 1 Apr 2009 12:38:34 -0800 Date: Wed, 1 Apr 2009 13:38:34 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: Mark Kirkwood cc: Scott Carey , Stef Telford , "pgsql-performance@postgresql.org" Subject: Re: Raid 10 chunksize In-Reply-To: <49D31E85.8050405@paradise.net.nz> Message-ID: References: <49D31E85.8050405@paradise.net.nz> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/28 X-Sequence-Number: 33395 On Wed, 1 Apr 2009, Mark Kirkwood wrote: > Scott Carey wrote: >> >> A little extra info here >> md, LVM, and some other tools do not allow the >> file system to use write barriers properly.... So those are on the bad list >> for data integrity with SAS or SATA write caches without battery back-up. >> However, this is NOT an issue on the postgres data partition. Data fsync >> still works fine, its the file system journal that might have out-of-order >> writes. For xlogs, write barriers are not important, only fsync() not >> lying. >> >> As an additional note, ext4 uses checksums per block in the journal, so it >> is resistant to out of order writes causing trouble. The test compared to >> here was on ext4, and most likely the speed increase is partly due to that. >> >> > > [Looks at Stef's config - 2x 7200 rpm SATA RAID 0] I'm still highly > suspicious of such a system being capable of outperforming one with the same > number of (effective) - much faster - disks *plus* a dedicated WAL disk > pair... unless it is being a little loose about fsync! I'm happy to believe > ext4 is better than ext3 - but not that much! given how _horrible_ ext3 is with fsync, I can belive it more easily with fsync turned on than with it off. David Lang > However, its great to have so many different results to compare against! > > Cheers > > Mark > > >