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 BDDD352802 for ; Wed, 17 Aug 2005 17:28:34 -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 30915-09 for ; Wed, 17 Aug 2005 20:28:31 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id D170E52968 for ; Wed, 17 Aug 2005 17:28:30 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 7742974; Wed, 17 Aug 2005 13:30:47 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-performance@postgresql.org Subject: Re: Tuning Effective Cache Question Date: Wed, 17 Aug 2005 13:31:38 -0700 User-Agent: KMail/1.8 Cc: Chris Hoover References: <1d219a6f05081710146acb9d40@mail.gmail.com> In-Reply-To: <1d219a6f05081710146acb9d40@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508171331.38980.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.049 required=5 tests=[AWL=-0.001, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/215 X-Sequence-Number: 13962 Chris, > I have a RHEL 2.1 box running with dual Xeon (2.6 GHz I believe and > they have HT on). The box has 8GB memory. In my postgresql.conf, I > have set the effective_cache_size = 530505 (~4GB). > > However, I am noticing on this machine, top is telling me that I have > ~3.5GB in the buff and only 3GB in cached. effective_cache_size is just information for the query planner; it does not affect the actually system file cache. -- --Josh Josh Berkus Aglio Database Solutions San Francisco