Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 74C692E00E1 for ; Thu, 29 May 2008 21:28:20 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 28228-07 for ; Thu, 29 May 2008 21:27:45 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from oxford.xeocode.com (87-127-95-198.no-dns-yet.enta.net [87.127.95.198]) by developer.postgresql.org (Postfix) with ESMTP id E2F652E00DD for ; Thu, 29 May 2008 21:19:15 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.69) (envelope-from ) id 1K1sKt-0001TH-8Z; Fri, 30 May 2008 01:19:11 +0100 To: "Jignesh K. Shah" Cc: "Postgresql Performance" Subject: Re: ProcArrayLock (The Saga continues) In-Reply-To: <483F294A.9040108@sun.com> (Jignesh K. Shah's message of "Thu\, 29 May 2008 18\:08\:10 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.performance" 5829) References: <483F294A.9040108@sun.com> From: Gregory Stark Organization: EnterpriseDB Date: Fri, 30 May 2008 01:19:11 +0100 Message-ID: <87hccgy77k.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: 200805/377 X-Sequence-Number: 30345 "Jignesh K. Shah" writes: > Note with this no think time concept, each clients can be about 75% CPU busy > from what I observed. running it I found the clients scaling up saturates at > about 60 now (compared to 500 from the original test). The peak throughput was > at about 50 users (using synchrnous_commit=off) So to get the maximum throughput on the benchmark with think times you want to aggregate the clients about 10:1 with a connection pooler or some middleware layer of some kind, it seems. It's still interesting to find the choke points for large numbers of connections. But I think not because it's limiting your benchmark results -- that would be better addressed by using fewer connections -- just for the sake of knowing where problems loom on the horizon. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's PostGIS support!