X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B0B09DAC68 for ; Mon, 24 Oct 2005 12:32:59 -0300 (ADT) 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 63329-08 for ; Mon, 24 Oct 2005 15:32:57 +0000 (GMT) Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by svr1.postgresql.org (Postfix) with ESMTP id 336F3DAC38 for ; Mon, 24 Oct 2005 12:32:55 -0300 (ADT) Received: from sesse by cassarossa.samfundet.no with local (Exim 4.50) id 1EU4Jc-0006Pj-MR; Mon, 24 Oct 2005 17:32:48 +0200 Date: Mon, 24 Oct 2005 17:32:48 +0200 From: "Steinar H. Gunderson" To: Alex Turner Cc: Neil Conway , Martin Nickel , pgsql-performance@postgresql.org Subject: Re: What gets cached? Message-ID: <20051024153248.GA24601@samfundet.no> References: <1129931087.19971.12.camel@localhost.localdomain> <33c6269f0510240809k47f91a71t387a0b5ab0339f4c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33c6269f0510240809k47f91a71t387a0b5ab0339f4c@mail.gmail.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 required=5 tests=[AWL=0.010] X-Spam-Level: X-Archive-Number: 200510/333 X-Sequence-Number: 15101 On Mon, Oct 24, 2005 at 11:09:55AM -0400, Alex Turner wrote: > Just to play devils advocate here for as second, but if we have an algorithm > that is substational better than just plain old LRU, which is what I believe > the kernel is going to use to cache pages (I'm no kernel hacker), then why > don't we apply that and have a significantly larger page cache a la Oracle? There have (AFAIK) been reports of setting huge amounts of shared_buffers (close to the total amount of RAM) performing much better in 8.1 than in earlier versions, so this might actually be okay these days. I haven't heard of anybody reporting increase setting such values, though. /* Steinar */ -- Homepage: http://www.sesse.net/