Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 944209F9693; Thu, 25 Oct 2007 19:43:59 -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 34163-10; Thu, 25 Oct 2007 19:43:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.196]) by postgresql.org (Postfix) with ESMTP id 687FC9F95C2; Thu, 25 Oct 2007 19:43:55 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1IlBQe-0004DX-Mb; Thu, 25 Oct 2007 23:43:52 +0100 To: "Tom Lane" Cc: "Jignesh K. Shah" , , Subject: Re: [HACKERS] 8.3beta1 testing on Solaris In-Reply-To: <26010.1193345641@sss.pgh.pa.us> (Tom Lane's message of "Thu\, 25 Oct 2007 16\:54\:01 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.performance" 2949) References: <4720FB72.8060800@sun.com> <26010.1193345641@sss.pgh.pa.us> From: Gregory Stark Organization: EnterpriseDB Date: Thu, 25 Oct 2007 23:43:52 +0100 Message-ID: <871wbi95nb.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: 200710/290 X-Sequence-Number: 27312 "Tom Lane" writes: > "Jignesh K. Shah" writes: >> CLOG data is >> not cached in any PostgreSQL shared memory segments > > The above statement is utterly false, so your trace seems to indicate > something broken. Are you sure these were the only reads of pg_clog > files? Can you extend the tracing to determine which page of the file > got read? I am wondering if your (unspecified) test load was managing > to touch more pages of the clog than there is room for in shared memory. 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. Also it seemed there were only modest improvements from raising the value and there would always be a ceiling to bump into so just raising the number of buffers isn't particularly interesting unless there's some magic numbers we're trying to hit. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com