Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 1E7F39FCAAD; Fri, 26 Oct 2007 10:37:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 40186-02; Fri, 26 Oct 2007 10:36:54 -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-1.sun.com (brmea-mail-1.Sun.COM [192.18.98.31]) by postgresql.org (Postfix) with ESMTP id A356A9FC6CB; Fri, 26 Oct 2007 10:36:50 -0300 (ADT) Received: from fe-amer-10.sun.com ([192.18.109.80]) by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l9QDanqq012783; Fri, 26 Oct 2007 13:36:49 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 <0JQI00401TGFVJ00@mail-amer.sun.com> (original mail from J.K.Shah@Sun.COM) ; Fri, 26 Oct 2007 07:36:48 -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 <0JQI00IMRTT7OB60@mail-amer.sun.com>; Fri, 26 Oct 2007 07:36:44 -0600 (MDT) Date: Fri, 26 Oct 2007 09:36:53 -0400 From: "Jignesh K. Shah" Subject: Re: [HACKERS] 8.3beta1 testing on Solaris In-reply-to: <2139.1193369168@sss.pgh.pa.us> To: Tom Lane Cc: Josh Berkus , pgsql-performance@postgresql.org, Gregory Stark , pgsql-hackers@postgresql.org Message-id: <4721ED75.7090607@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> <871wbi95nb.fsf@oxford.xeocode.com> <29721.1193359867@sss.pgh.pa.us> <200710251956.56744.josh@agliodbs.com> <2139.1193369168@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/299 X-Sequence-Number: 27321 I agree with Tom.. somehow I think increasing NUM_CLOG_BUFFERS is just avoiding the symptom to a later value.. I promise to look more into it before making any recommendations to increase NUM_CLOG_BUFFERs. Because though "iGen" showed improvements in that area by increasing num_clog_buffers , EAStress had shown no improvements.. Plus the reason I think this is not the problem in 8.3beta1 since the Lock Output clearly does not show CLOGControlFile as to be the issue which I had seen in earlier case. So I dont think that increasing NUM_CLOG_BUFFERS will change thing here. Now I dont understand the code pretty well yet I see three hotspots and not sure if they are related to each other * ProcArrayLock waits - causing Waits as reported by 83_lockwait.d script * SimpleLRUReadPage - causing read IOs as reported by iostat/rsnoop.d * GetSnapshotData - causing CPU utilization as reported by hotuser But I will shut up and do more testing. Regards, Jignesh Tom Lane wrote: > Josh Berkus writes: > >> Actually, 32 made a significant difference as I recall ... do you still have >> the figures for that, Jignesh? >> > > I'd want to see a new set of test runs backing up any call for a change > in NUM_CLOG_BUFFERS --- we've changed enough stuff around this area that > benchmarks using code from a few months back shouldn't carry a lot of > weight. > > regards, tom lane >