From owner-freebsd-stable Tue Apr 29 00:18:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA01258 for stable-outgoing; Tue, 29 Apr 1997 00:18:37 -0700 (PDT) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA01251 for ; Tue, 29 Apr 1997 00:18:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with SMTP id AAA11888; Tue, 29 Apr 1997 00:20:09 -0700 (PDT) Message-Id: <199704290720.AAA11888@implode.root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: Brian Tao cc: FREEBSD-STABLE Subject: Re: Memory usage on NFS server In-reply-to: Your message of "Tue, 29 Apr 1997 00:54:53 EDT." From: David Greenman Reply-To: dg@root.com Date: Tue, 29 Apr 1997 00:20:09 -0700 Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 2.2-970420-RELENG on an NFS server that does only that. The ~20 >processes normally running on the machine add up to less than 10MB, >yes `top' reports that 78MB is "active". I would have though most of >the memory would be allocated as cache (which is only reported at >25MB). Am I interpreting the numbers incorrectly? ... >Mem: 78M Active, 4984K Inact, 17M Wired, 25M Cache, 8343K Buf, 616K Free The numbers lie; don't believe them. :-) It's not as simple as looking at the "cache" number - pages in "active" and "inactive" are also part of the file cache. I know this makes it very difficult to see how much memory is actually available for caching...I have the same problem on wcarchive. We need to provide an additional metric, but I don't know at the moment how to create the desired information (it's difficult and perhaps impossible in the current architecture). -DG David Greenman Core-team/Principal Architect, The FreeBSD Project