Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 05E2C634332 for ; Fri, 13 Mar 2009 10:05:50 -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 65419-04 for ; Fri, 13 Mar 2009 10:05:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by mail.postgresql.org (Postfix) with SMTP id 12F1F633C1B for ; Fri, 13 Mar 2009 10:05:41 -0300 (ADT) Received: from source ([209.85.219.165]) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKSbpaI/GFFD8ZX5Ul53adKIK2Ecvl0rJL@postini.com; Fri, 13 Mar 2009 06:05:42 PDT Received: by mail-ew0-f165.google.com with SMTP id 9so93390ewy.38 for ; Fri, 13 Mar 2009 06:05:39 -0700 (PDT) Received: by 10.216.54.207 with SMTP id i57mr644974wec.114.1236949538997; Fri, 13 Mar 2009 06:05:38 -0700 (PDT) Received: from oxford.xeocode.com.enterprisedb.com ([82.16.16.210]) by mx.google.com with ESMTPS id c5sm3216307nfi.28.2009.03.13.06.05.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Mar 2009 06:05:38 -0700 (PDT) To: "Jignesh K. Shah" Cc: Scott Carey , Tom Lane , Kevin Grittner , "pgsql-performance\@postgresql.org" Subject: Re: Proposal of tunable fix for scalability of 8.4 In-Reply-To: <49BA53CF.4020702@sun.com> (Jignesh K. Shah's message of "Fri\, 13 Mar 2009 08\:38\:39 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+imap.gmail.com:PG" 112935) References: <49BA53CF.4020702@sun.com> From: Gregory Stark Organization: EnterpriseDB Date: Fri, 13 Mar 2009 13:05:36 +0000 Message-ID: <871vt1609r.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: 200903/153 X-Sequence-Number: 33075 "Jignesh K. Shah" writes: > Scott Carey wrote: >> On 3/12/09 11:37 AM, "Jignesh K. Shah" wrote: >> >> In general, I suggest that it is useful to run tests with a few different >> types of pacing. Zero delay pacing will not have realistic number of >> connections, but will expose bottlenecks that are universal, and less >> controversial > > I think I have done that before so I can do that again by running the users at > 0 think time which will represent a "Connection pool" which is highly utilized" > and test how big the connection pool can be before the throughput tanks.. This > can be useful for App Servers which sets up connections pools of their own > talking with PostgreSQL. Keep in mind when you do this that it's not interesting to test a number of connections much larger than the number of processors you have. Once the system reaches 100% cpu usage it would be a misconfigured connection pooler that kept more than that number of connections open. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's PostGIS support!