Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 3962B633155 for ; Thu, 12 Mar 2009 11:08:02 -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 33710-10 for ; Thu, 12 Mar 2009 11:07:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id DEA82632F82 for ; Thu, 12 Mar 2009 11:07:54 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Thu, 12 Mar 2009 09:07:52 -0500 Message-Id: <49B8D0DB.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.3 Date: Thu, 12 Mar 2009 09:07:39 -0500 From: "Kevin Grittner" To: "Jignesh K. Shah" Cc: Subject: Re: Proposal of tunable fix for scalability of 8.4 References: <49B824DD.7090302@sun.com> <49B7F470.EE98.0025.0@wicourts.gov> <49B85CAC.70807@sun.com> In-Reply-To: <49B85CAC.70807@sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200903/121 X-Sequence-Number: 33043 "Jignesh K. Shah" wrote: > On 03/11/09 18:27, Kevin Grittner wrote: >> "Jignesh K. Shah" wrote: >>> Rerunning similar tests on a 64-thread UltraSPARC T2plus based >>> server config >> >>> (IO is not a problem... all in RAM .. no disks): >>> Time:Users:Type:TPM: Response Time >>> 60: 100: Medium Throughput: 10552.000 Avg Medium Resp: 0.006 >>> 120: 200: Medium Throughput: 22897.000 Avg Medium Resp: 0.006 >>> 180: 300: Medium Throughput: 33099.000 Avg Medium Resp: 0.009 >>> 240: 400: Medium Throughput: 44692.000 Avg Medium Resp: 0.007 >>> 300: 500: Medium Throughput: 56455.000 Avg Medium Resp: 0.007 >>> 360: 600: Medium Throughput: 67220.000 Avg Medium Resp: 0.008 >>> 420: 700: Medium Throughput: 77592.000 Avg Medium Resp: 0.009 >> I'm a lot more interested in what's happening between 60 and 180 than >> over 1000, personally. If there was a RAID involved, I'd put it down >> to better use of the numerous spindles, but when it's all in RAM it >> makes no sense. > The problem is the CPUs are not all busy there is plenty of idle cycles > since PostgreSQL ends up in situations where they are all waiting for > lockacquires for exclusive.. Precisely. This is the area where it seems there is the most to gain. The area you're looking at seems to have less than a 2X gain available. This part of the curve clearly has much more. -Kevin