Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BD63C63336F for ; Fri, 4 Jun 2010 11:33:34 -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 81243-05 for ; Fri, 4 Jun 2010 14:33:26 +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 93B6C632C85 for ; Fri, 4 Jun 2010 11:33:27 -0300 (ADT) Received: from alap2.localnet (p579FA9CD.dip.t-dialin.net [87.159.169.205]) by mail.anarazel.de (Postfix) with ESMTPSA id 351B8448003; Fri, 4 Jun 2010 16:33:25 +0200 (CEST) From: Andres Freund To: Tom Lane Subject: Re: How filesystems matter with PostgreSQL Date: Fri, 4 Jun 2010 16:33:22 +0200 User-Agent: KMail/1.13.2 (Linux/2.6.34-andres-08406-g52b0ace; KDE/4.4.2; x86_64; ; ) Cc: pgsql-performance@postgresql.org, Jon Schewe References: <4C08EEDF.7090403@mtu.net> <201006041504.03218.andres@anarazel.de> <2503.1275661530@sss.pgh.pa.us> In-Reply-To: <2503.1275661530@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006041633.23343.andres@anarazel.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/84 X-Sequence-Number: 38940 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