Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 475EB6342D1 for ; Fri, 13 Mar 2009 10:37:40 -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 73418-06 for ; Fri, 13 Mar 2009 10:37:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by mail.postgresql.org (Postfix) with ESMTP id 7040C634116 for ; Fri, 13 Mar 2009 10:37:36 -0300 (ADT) Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n2DDbYuZ018972 for ; Fri, 13 Mar 2009 13:37:34 GMT MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; format=flowed; charset=ISO-8859-1 Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7.0-5.01 64bit (built Feb 19 2009)) id <0KGG005004B32S00@mail-amer.sun.com> for pgsql-performance@postgresql.org; Fri, 13 Mar 2009 07:37:34 -0600 (MDT) Received: from Macintosh-8.local ([unknown] [129.150.33.46]) by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7.0-5.01 64bit (built Feb 19 2009)) with ESMTPSA id <0KGG00CMI5THU330@mail-amer.sun.com>; Fri, 13 Mar 2009 07:36:54 -0600 (MDT) Date: Fri, 13 Mar 2009 09:36:53 -0400 From: "Jignesh K. Shah" Subject: Re: Proposal of tunable fix for scalability of 8.4 In-reply-to: <871vt1609r.fsf@oxford.xeocode.com> To: Gregory Stark Cc: Scott Carey , Tom Lane , Kevin Grittner , "pgsql-performance@postgresql.org" Message-id: <49BA6175.4060809@sun.com> References: <49BA53CF.4020702@sun.com> <871vt1609r.fsf@oxford.xeocode.com> User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200903/155 X-Sequence-Number: 33077 Gregory Stark wrote: > "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. > > Greg, Unfortuately the problem is that.. I am trying to reach 100% CPU which I cannot and hence I am increasing the user count :-) -Jignesh