Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 068E29FBDB2 for ; Wed, 25 Apr 2007 12:04:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 19716-01-10 for ; Wed, 25 Apr 2007 12:04:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 2B20E9FBCF7 for ; Wed, 25 Apr 2007 12:04:04 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 0759030952; Wed, 25 Apr 2007 17:04:03 +0200 (MET DST) From: Chris Browne X-Newsgroups: pgsql.performance Subject: Re: What`s wrong with JFS configuration? Date: Wed, 25 Apr 2007 10:46:28 -0400 Organization: cbbrowne Computing Inc Lines: 49 Message-ID: <608xcgo6kb.fsf@dba2.int.libertyrms.com> References: <462EFA63.1030306@inea.com.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.20 (linux) Cancel-Lock: sha1:QyZc7wSKgITgrgDVpOlAiscZt/s= To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.356 tagged_above=0 required=5 tests=AWL=0.355, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200704/415 X-Sequence-Number: 24292 pawel.gruszczynski@inea.com.pl (Paweł Gruszczyński) writes: > To test I use pgBench with default database schema, run for 25, 50, 75 > users at one time. Every test I run 5 time to take average. > Unfortunetly my result shows that ext is fastest, ext3 and jfs are > very simillar. I can understand that ext2 without jurnaling is faster > than ext3, it is said that jfs is 40 - 60% faster. I cant see the > difference. Part of My results: (transaction type | scaling factor | > num of clients | tpl | num on transactions | tps including connection > time | tps excliding connection time) > > EXT2: > > TPC-B (sort of),50,75,13,975|975,338.286682,358.855582 > TPC-B (sort of),50,75,133,9975|9975,126.777438,127.023687 > TPC-B (sort of),50,75,1333,99975|99975,125.612325,125.636193 > > EXT3: > > TPC-B (sort of),50,75,13,975|975,226.139237,244.619009 > TPC-B (sort of),50,75,133,9975|9975,88.678922,88.935371 > TPC-B (sort of),50,75,1333,99975|99975,79.126892,79.147423 > > JFS: > > TPC-B (sort of),50,75,13,975|975,235.626369,255.863271 > TPC-B (sort of),50,75,133,9975|9975,88.408323,88.664584 > TPC-B (sort of),50,75,1333,99975|99975,81.003394,81.024297 > > > Can anyone tell me what`s wrong with my test? Or maybe it is normal? For one thing, this test is *probably* staying mostly in memory. That will be skewing results away from measuring anything about the filesystem. When I did some testing of comparative Linux filesystem performance, back in 2003, I found that JFS was maybe 20% percent faster on a "write-only" workload than XFS, which was a few percent faster than ext3. The differences weren't terribly large. If you're seeing such huge differences with pgbench (which includes read load, which should be virtually unaffected by one's choice of filesystem), then I can only conclude that something about your testing methodology is magnifying the differences. -- let name="cbbrowne" and tld="cbbrowne.com" in String.concat "@" [name;tld];; http://cbbrowne.com/info/oses.html "On the Internet, no one knows you're using Windows NT" -- Ramiro Estrugo, restrugo@fateware.com