X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 07AE052D3D for ; Thu, 14 Jul 2005 03:33:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90271-08 for ; Thu, 14 Jul 2005 06:33:42 +0000 (GMT) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by svr1.postgresql.org (Postfix) with ESMTP id 1555F52D4E for ; Thu, 14 Jul 2005 03:33:41 -0300 (ADT) Received: (qmail 7549 invoked from network); 14 Jul 2005 06:33:42 -0000 Received: from dsl081-060-184.sfo1.dsl.speakeasy.net (HELO noodles) ([64.81.60.184]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Jul 2005 06:33:41 -0000 Received: from jwb by noodles with local (Exim 3.36 #1 (Debian)) id 1DsxHx-0001lg-00 for ; Wed, 13 Jul 2005 23:33:41 -0700 Subject: JFS fastest filesystem for PostgreSQL? From: "Jeffrey W. Baker" To: pgsql-performance@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 13 Jul 2005 23:33:41 -0700 Message-Id: <1121322821.6719.0.camel@noodles> Mime-Version: 1.0 X-Mailer: Evolution 2.3.4 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/167 X-Sequence-Number: 13408 [reposted due to delivery error -jwb] I just took delivery of a new system, and used the opportunity to benchmark postgresql 8.0 performance on various filesystems. The system in question runs Linux 2.6.12, has one CPU and 1GB of system memory, and 5 7200RPM SATA disks attached to an Areca hardware RAID controller having 128MB of cache. The caches are all write-back. I ran pgbench with a scale factor of 1000 and a total of 100,000 transactions per run. I varied the number of clients between 10 and 100. It appears from my test JFS is much faster than both ext3 and XFS for this workload. JFS and XFS were made with the mkfs defaults. ext3 was made with -T largefile4 and -E stride=32. The deadline scheduler was used for all runs (anticipatory scheduler is much worse). Here's the result, in transactions per second. ext3 jfs xfs ----------------------------- 10 Clients 55 81 68 100 Clients 61 100 64 ---------------------------- -jwb