From owner-freebsd-hackers Wed Mar 14 5:49:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from lombardiacom.it (mail.lombardiacom.it [212.34.224.130]) by hub.freebsd.org (Postfix) with ESMTP id B7B7B37B718 for ; Wed, 14 Mar 2001 05:49:40 -0800 (PST) (envelope-from p.losi@lombardiacom.it) Received: from [10.1.255.1] (HELO lombardiacom.it) by lombardiacom.it (CommuniGate Pro SMTP 3.3) with SMTP id 3848161; Wed, 14 Mar 2001 14:49:34 +0100 Message-ID: <3AAF76EB.42D070F9@lombardiacom.it> Date: Wed, 14 Mar 2001 14:49:31 +0100 From: Paolo Losi Organization: Lombardia.com S.p.A. X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG, dillon@earth.backplane.com Subject: Re: systat -vmstat or iostat IO help Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, >:Mem: 138M Active, 661M Inact, 114M Wired, 48M Cache, 112M Buf, 44M Free >:Swap: 1612M Total, 16K Used, 1612M Free >: >:Yes I know it has too much memory, but I'm surprised why more isn't used >:for disk caching .... It will use all available memory for disk caching if possible, but it only caches things you've accessed at least once so I would say you simply haven't accessed more then 650MB or so worth of file data. Is it correct to say that cached file data (file content) is taken into account in Active/Inactive/Cached page counters if and only if accessed through the mmap interface? What does it happen when a process access file data through the filesystem interface (open/read/close)? Is it correct to say that in this case the Buffer counter gives you the detail on how much file data is cached? This should be how the old 4.4BSD works.... I know that the buffer cache management has been merged with the paging system in FreeBSD but I do not know if the above statements still hold true. Thanks Paolo P.S. Matt, your mentoring job is invaluable :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message