Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 9AD649FA551; Fri, 26 Oct 2007 10:25:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 55826-02; Fri, 26 Oct 2007 10:24:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by postgresql.org (Postfix) with ESMTP id 58C959F926E; Fri, 26 Oct 2007 10:24:56 -0300 (ADT) Received: from fe-amer-09.sun.com ([192.18.109.79]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l9QDOsEH004607; Fri, 26 Oct 2007 13:24:54 GMT Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JQI00001T7MGW00@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) ; Fri, 26 Oct 2007 07:24:54 -0600 (MDT) Received: from jignesh-shahs-computer.local ([24.61.66.129]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JQI00LZNT9HGX00@mail-amer.sun.com>; Fri, 26 Oct 2007 07:24:54 -0600 (MDT) Date: Fri, 26 Oct 2007 09:25:02 -0400 From: "Jignesh K. Shah" Subject: Re: [HACKERS] 8.3beta1 testing on Solaris In-reply-to: <29721.1193359867@sss.pgh.pa.us> To: Tom Lane Cc: Gregory Stark , pgsql-performance@postgresql.org, pgsql-hackers@postgresql.org Message-id: <4721EAAE.3020801@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <4720FB72.8060800@sun.com> <26010.1193345641@sss.pgh.pa.us> <871wbi95nb.fsf@oxford.xeocode.com> <29721.1193359867@sss.pgh.pa.us> User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/298 X-Sequence-Number: 27320 The problem I saw was first highlighted by EAStress runs with PostgreSQL on Solaris with 120-150 users. I just replicated that via my smaller internal benchmark that we use here to recreate that problem. EAStress should be just fine to highlight it.. Just put pg_clog on O_DIRECT or something so that all IOs go to disk making it easier to observe. In the meanwhile I will try to get more information. Regards, Jignesh Tom Lane wrote: > Gregory Stark writes: > >> Didn't we already go through this? He and Simon were pushing to bump up >> NUM_CLOG_BUFFERS and you were arguing that the test wasn't representative and >> some other clog.c would have to be reengineered to scale well to larger >> values. >> > > AFAIR we never did get any clear explanation of what the test case is. > I guess it must be write-mostly, else lazy XID assignment would have > helped this by reducing the rate of XID consumption. > > It's still true that I'm leery of a large increase in the number of > buffers without reengineering slru.c. That code was written on the > assumption that there were few enough buffers that a linear search > would be fine. I'd hold still for 16, or maybe even 32, but I dunno > how much impact that will have for such a test case. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match >