Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id B09F76328B2 for ; Thu, 12 Mar 2009 14:53:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 90134-01 for ; Thu, 12 Mar 2009 14:53:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 6884B632489 for ; Thu, 12 Mar 2009 14:53:20 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n2CHrHnk011840; Thu, 12 Mar 2009 13:53:17 -0400 (EDT) To: "Kevin Grittner" cc: "pgsql-performance@postgresql.org" , "Scott Carey" , "Jignesh K. Shah" Subject: Re: Proposal of tunable fix for scalability of 8.4 In-reply-to: <49B8E044.EE98.0025.0@wicourts.gov> References: <49B7F470.EE98.0025.0@wicourts.gov> <49B8E044.EE98.0025.0@wicourts.gov> Comments: In-reply-to "Kevin Grittner" message dated "Thu, 12 Mar 2009 10:13:24 -0500" Date: Thu, 12 Mar 2009 13:53:17 -0400 Message-ID: <11839.1236880397@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.02 tagged_above=0 required=5 tests=AWL=0.020 X-Spam-Level: X-Archive-Number: 200903/131 X-Sequence-Number: 33053 "Kevin Grittner" writes: > You misunderstood me. I wasn't addressing the affects of his change, > but rather the fact that his test shows a linear improvement in TPS up > to 1000 connections for a 64 thread machine which is dealing entirely > with RAM -- no disk access. Where's the bottleneck that allows this > to happen? Without understanding that, his results are meaningless. Yeah, that is a really good point. For a CPU-bound test you would ideally expect linear performance improvement up to the point at which number of active threads equals number of CPUs, and flat throughput with more threads. The fact that his results don't look like that should excite deep suspicion that something is wrong somewhere. This does not in itself prove that the idea is wrong, but it does say that there is some major effect happening in this test that we don't understand. Without understanding it, it's impossible to guess whether the proposal is helpful in any other scenario. regards, tom lane