Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 66BA56335D4 for ; Fri, 4 Jun 2010 10:04:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 43972-05 for ; Fri, 4 Jun 2010 13:04:05 +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 7FFDA63257B for ; Fri, 4 Jun 2010 10:04:07 -0300 (ADT) Received: from alap2.localnet (p579FA9CD.dip.t-dialin.net [87.159.169.205]) by mail.anarazel.de (Postfix) with ESMTPSA id 9AF6C448006; Fri, 4 Jun 2010 15:04:04 +0200 (CEST) From: Andres Freund To: pgsql-performance@postgresql.org Subject: Re: How filesystems matter with PostgreSQL Date: Fri, 4 Jun 2010 15:04:02 +0200 User-Agent: KMail/1.13.2 (Linux/2.6.34-andres-08406-g52b0ace; KDE/4.4.2; x86_64; ; ) Cc: Jon Schewe References: <4C08EEDF.7090403@mtu.net> In-Reply-To: <4C08EEDF.7090403@mtu.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006041504.03218.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/79 X-Sequence-Number: 38935 On Friday 04 June 2010 14:17:35 Jon Schewe wrote: > Some interesting data about different filesystems I tried with > PostgreSQL and how it came out. > > I have an application that is backed in postgres using Java JDBC to > access it. The tests were all done on an opensuse 11.2 64-bit machine, > on the same hard drive (just ran mkfs between each test) on the same > input with the same code base. All filesystems were created with the > default options. > > 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. Andres