X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7C81532BEF9 for ; Fri, 15 Oct 2004 17:58:11 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92621-03 for ; Fri, 15 Oct 2004 16:57:52 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id E561E32BEF3 for ; Fri, 15 Oct 2004 17:57:51 +0100 (BST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i9FGvZQ13745; Fri, 15 Oct 2004 12:57:35 -0400 (EDT) From: Bruce Momjian Message-Id: <200410151657.i9FGvZQ13745@candle.pha.pa.us> Subject: Re: [Testperf-general] Re: First set of OSDL Shared Memscalability In-Reply-To: <10202.1097858894@sss.pgh.pa.us> To: Tom Lane Date: Fri, 15 Oct 2004 12:57:35 -0400 (EDT) Cc: Simon Riggs , "Timothy D. Witham" , josh@agliodbs.com, pgsql-performance@postgresql.org, testperf-general@pgfoundry.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/221 X-Sequence-Number: 8697 Tom Lane wrote: > > I've been thinking about implementing a scheme that helps you decide how > > big the shared_buffers SHOULD BE, by making the LRU list bigger than the > > cache itself, so you'd be able to see whether there is beneficial effect in > > increasing shared_buffers. > > ARC already keeps such a list --- couldn't you learn what you want to > know from the existing data structure? It'd be fairly cool if we could > put out warnings "you ought to increase shared_buffers" analogous to the > existing facility for noting excessive checkpointing. Agreed. ARC already keeps a list of buffers it had to push out recently so if it needs them again soon it knows its sizing of recent/frequent might be off (I think). Anyway, such a log report would be super-cool, say if you pushed out a buffer and needed it very soon, and the ARC buffers are already at their maximum for that buffer pool. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073