From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 14:10:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45E7716A4CE for ; Tue, 17 Aug 2004 14:10:40 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D243343D1F for ; Tue, 17 Aug 2004 14:10:38 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i7HEAXfO090246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Aug 2004 15:10:33 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i7HEAX9m090245; Tue, 17 Aug 2004 15:10:33 +0100 (BST) (envelope-from matthew) Date: Tue, 17 Aug 2004 15:10:33 +0100 From: Matthew Seaman To: Mipam Message-ID: <20040817141033.GA89945@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mipam , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Tue, 17 Aug 2004 15:10:34 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: memory usage question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 14:10:40 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 17, 2004 at 03:39:40PM +0200, Mipam wrote: > I have a question about usage of memory. > Despite the well documented articles about it some things are still > unclear. In top we see memory devided in several items: Try this article, buy the guy who wrote some very large chunks of the VM system: http://www.daemonnews.org/200001/freebsd_vm.html As for the meaning of the different labels top(1) shows attached to memory sizes: those indicate a sequence of memory caches for different age levels of pages. Note that the system doesn't overwrite cached pages on a timed basis, but rather picks the oldest unused memory to recycle as and when some other application requests it. Stuff can stay in the memory caches for a very long time on a quiet system. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREE= MEM Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBIhHZiD657aJF7eIRAiWHAJ41sPZ3vTj7LkdUeu0uC2yrAPxYvgCeNmKL y2dKsZtsG75ZfuWE/CRwFQI= =UfHB -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--