Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 1FB2863234F for ; Fri, 4 Jun 2010 15:23:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 61831-08 for ; Fri, 4 Jun 2010 18:23:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mtu.net (mtu.net [204.11.35.17]) by mail.postgresql.org (Postfix) with ESMTP id B32E26334EC for ; Fri, 4 Jun 2010 15:23:09 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mtu.net (Postfix) with ESMTP id F1FCA143E517; Fri, 4 Jun 2010 14:23:08 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mtu.net Received: from mtu.net ([127.0.0.1]) by localhost (mtu.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qYujzLoOqHGc; Fri, 4 Jun 2010 14:23:07 -0400 (EDT) Received: from min-dhcp33-251-158.bbn.com (75-149-146-105-Minnesota.hfc.comcastbusiness.net [75.149.146.105]) (Authenticated sender: jpschewe) by mtu.net (Postfix) with ESMTPSA id DCBEC143E516; Fri, 4 Jun 2010 14:23:06 -0400 (EDT) Message-ID: <4C09448A.9040700@mtu.net> Date: Fri, 04 Jun 2010 13:23:06 -0500 From: Jon Schewe User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Bryan Hinton CC: Andres Freund , Tom Lane , pgsql-performance@postgresql.org Subject: Re: How filesystems matter with PostgreSQL References: <4C08EEDF.7090403@mtu.net> <201006041504.03218.andres@anarazel.de> <2503.1275661530@sss.pgh.pa.us> <201006041633.23343.andres@anarazel.de> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: multipart/alternative; boundary="------------050604010502020207050408" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/101 X-Sequence-Number: 38957 This is a multi-part message in MIME format. --------------050604010502020207050408 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I'm running on Linux, so that's not really an option here. On 6/4/10 1:20 PM, Bryan Hinton wrote: > UFS2 w/ soft updates on FreeBSD might be an interesting addition to > the list of test cases > > On Fri, Jun 4, 2010 at 9:33 AM, Andres Freund > wrote: > > On Friday 04 June 2010 16:25:30 Tom Lane wrote: > > Andres Freund > > writes: > > > On Friday 04 June 2010 14:17:35 Jon Schewe wrote: > > >> XFS (logbufs=8): ~4 hours to finish > > >> ext4: ~1 hour 50 minutes to finish > > >> ext3: 15 minutes to finish > > >> ext3 on LVM: 15 minutes to finish > > > > > > My guess is that some of the difference comes from barrier > differences. > > > ext4 uses barriers by default, ext3 does not. > > Or, to put it more clearly: the reason ext3 is fast is that it's > unsafe. > Jon: To verify you can enable it via the barrier=1 option during > mounting.. > > Andres > > -- > Sent via pgsql-performance mailing list > (pgsql-performance@postgresql.org > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance > > -- Jon Schewe | http://mtu.net/~jpschewe If you see an attachment named signature.asc, this is my digital signature. See http://www.gnupg.org for more information. --------------050604010502020207050408 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit I'm running on Linux, so that's not really an option here.

On 6/4/10 1:20 PM, Bryan Hinton wrote:
UFS2 w/ soft updates on FreeBSD might be an interesting addition to the list of test cases

On Fri, Jun 4, 2010 at 9:33 AM, Andres Freund <andres@anarazel.de> wrote:
On Friday 04 June 2010 16:25:30 Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On Friday 04 June 2010 14:17:35 Jon Schewe wrote:
> >> XFS (logbufs=8): ~4 hours to finish
> >> ext4: ~1 hour 50 minutes to finish
> >> ext3: 15 minutes to finish
> >> ext3 on LVM: 15 minutes to finish
> >
> > My guess is that some of the difference comes from barrier differences.
> > ext4 uses barriers by default, ext3 does not.
> Or, to put it more clearly: the reason ext3 is fast is that it's unsafe.
Jon: To verify you can enable it via the barrier=1 option during mounting..

Andres

--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


-- 
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital
signature. See http://www.gnupg.org for more information.
--------------050604010502020207050408--