Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id C6ECE9F9F39 for ; Sat, 8 Sep 2007 18:39:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 17879-06 for ; Sat, 8 Sep 2007 18:39:44 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.196]) by postgresql.org (Postfix) with ESMTP id 08F309F9F30 for ; Sat, 8 Sep 2007 18:39:48 -0300 (ADT) Received: from localhost.enta.net ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1IU81p-0003E5-Nb; Sat, 08 Sep 2007 22:39:45 +0100 To: "Tom Lane" Cc: Subject: Re: WIP patch for latestCompletedXid method of computing snapshot xmax In-Reply-To: <28198.1189282917@sss.pgh.pa.us> (Tom Lane's message of "Sat\, 08 Sep 2007 16\:21\:57 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.hackers" 13257) References: <3018.1189214811@sss.pgh.pa.us> <28198.1189282917@sss.pgh.pa.us> From: Gregory Stark Organization: EnterpriseDB Date: Sat, 08 Sep 2007 22:39:45 +0100 Message-ID: <87r6l8x2e6.fsf@oxford.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/369 X-Sequence-Number: 107521 "Tom Lane" writes: > My desktop machine has a single consumer-grade IDE drive, and even with > fsync off and synchronous_commit off, it can barely make 190 tps sustained > pgbench throughput --- it's just disk write bound all the time. On a run > with 8 clients, 10000 transactions per client, DB scale factor 25, I get > this distribution of transaction times from CVS HEAD: Wouldn't you expect to see more of an effect on cpu-bound environments? Is there any i/o going on while these locks are being held? I suppose there's a WAL commit record that has to be synced? Have you tried with a smaller scale factor? -- Gregory Stark EnterpriseDB http://www.enterprisedb.com