X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5A82DD1B8A3 for ; Thu, 28 Aug 2003 06:52:43 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 66619-10 for ; Thu, 28 Aug 2003 03:52:13 -0300 (ADT) Received: from smtp.pspl.co.in (unknown [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id C493FD1B8B3 for ; Thu, 28 Aug 2003 03:51:58 -0300 (ADT) Received: (from root@localhost) by smtp.pspl.co.in (8.12.9/8.12.9) id h7S6uPKI026911 for ; Thu, 28 Aug 2003 12:26:25 +0530 Received: from daithan (daithan.intranet.pspl.co.in [192.168.7.161]) (authenticated bits=0) by persistent.co.in (8.12.9/8.12.9) with ESMTP id h7S6uOhi026898 for ; Thu, 28 Aug 2003 12:26:24 +0530 From: "Shridhar Daithankar" To: pgsql-performance@postgresql.org Date: Thu, 28 Aug 2003 12:23:54 +0530 MIME-Version: 1.0 Subject: Re: Comparing postgresql7.4 CVS head on linux 2.4.20 and 2.6.0-test4 Reply-To: shridhar_daithankar@persistent.co.in Message-ID: <3F4DF45A.20421.33AABBF@localhost> In-reply-to: <20030827230014.GA63737@home.samurai.com> References: <200308272102.26319.shridhar_daithankar@persistent.co.in> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/394 X-Sequence-Number: 3210 On 27 Aug 2003 at 19:00, Neil Conway wrote: > On Wed, Aug 27, 2003 at 09:02:25PM +0530, Shridhar Daithankar wrote: > > IIRC in a kernel release note recently, it was commented that IO scheduler is > > still being worked on and does not perform as much for random seeks, which > > exaclty what database needs. > > Yeah, I've read that as well. It would be interesting to see how 2.6 > performs with the traditional (non-anticipatory) scheduler -- I believe > you can switch from one I/O scheduler to another via a sysctl. I will repeat the tests after get that setting. Will google for it.. > > > pgbench -c10 -t100 test1 > > tps = 64.917044 (including connections establishing) > > tps = 65.438067 (excluding connections establishing) > > Interesting that the performance of 2.4.20 for this particular > benchmark is a little less than 3 times faster than 2.6 Yeah but 2.4 drops like anything.. > > 4) noatime enabled Shared buffers 3000 > > > > pgbench -c5 -t100 test > > tps = 90.850600 (including connections establishing) > > tps = 92.053686 (excluding connections establishing) > > > > pgbench -c5 -t1000 test > > tps = 92.209724 (including connections establishing) > > tps = 92.329682 (excluding connections establishing) > > > > pgbench -c10 -t100 test > > tps = 79.264231 (including connections establishing) > > tps = 80.145448 (excluding connections establishing) > > I'm a little skeptical of the consistency of these numbers > (several people have observed in the past that it's difficult > to get pgbench to produce reliable results) -- how is it > possible that using noatime can possibly *reduce* performance > by 50%, in the case of the first and third benchmarks? I know. I am puzzled too. Probably I didn't put noatime properly in /etc/fstab. Unfortunately I have only one linux partition. So I prefer to boot rather than remounting root. I will redo the bechmarks and post the results.. Bye Shridhar -- Law of Communications: The inevitable result of improved and enlarged communications between different levels in a hierarchy is a vastly increased area of misunderstanding.