Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 246D09F995D for ; Fri, 21 Sep 2007 16:24:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 04957-08 for ; Fri, 21 Sep 2007 16:24:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from westnet.com (westnet.com [216.187.52.2]) by postgresql.org (Postfix) with ESMTP id 4808E9F9952 for ; Fri, 21 Sep 2007 16:24:07 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id l8LJO6DF005791 for ; Fri, 21 Sep 2007 15:24:06 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id l8LJO630005787 for ; Fri, 21 Sep 2007 15:24:06 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Fri, 21 Sep 2007 15:24:06 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: pgsql-performance@postgresql.org Subject: Re: Linux mis-reporting memory In-Reply-To: <20070920230400.GM95343@decibel.org> Message-ID: References: <20070920230400.GM95343@decibel.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/383 X-Sequence-Number: 26928 On Thu, 20 Sep 2007, Decibel! wrote: > I'm finding this rather interesting report from top on a Debian box... > how is it that linux thinks that 30G is cached? top on Linux gives weird results when faced with situations where there's shared memory involved. I look at /proc/meminfo and run ipcs when I want a better idea what's going on. As good of an article on this topic as I've found is http://gentoo-wiki.com/FAQ_Linux_Memory_Management which recommends using free to clarify how big the disk cache really is. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD