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 987DF52C32 for ; Thu, 14 Jul 2005 15:29:57 -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 60982-09 for ; Thu, 14 Jul 2005 18:29:56 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id CA42252C2D for ; Thu, 14 Jul 2005 15:29:54 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id 22AC715234; Thu, 14 Jul 2005 13:29:48 -0500 (CDT) Date: Thu, 14 Jul 2005 13:29:48 -0500 From: "Jim C. Nasby" To: "Jeffrey W. Baker" Cc: pgsql-performance@postgresql.org Subject: Re: JFS fastest filesystem for PostgreSQL? Message-ID: <20050714182948.GC92165@decibel.org> References: <1121322821.6719.0.camel@noodles> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1121322821.6719.0.camel@noodles> X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/184 X-Sequence-Number: 13425 On Wed, Jul 13, 2005 at 11:33:41PM -0700, Jeffrey W. Baker wrote: > [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 > ---------------------------- BTW, it'd be interesting to see how UFS on FreeBSD compared. -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"