From owner-freebsd-questions@FreeBSD.ORG Thu Sep 30 07:25:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F02B106564A for ; Thu, 30 Sep 2010 07:25:00 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id E7D8B8FC13 for ; Thu, 30 Sep 2010 07:24:59 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 30 Sep 2010 09:24:58 +0200 Message-ID: <4CA43B4A.6030508@ose.nl> Date: Thu, 30 Sep 2010 09:24:58 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <246095.42115.qm@web113905.mail.gq1.yahoo.com> <4CA2E345.7070006@ose.nl> <20100929124230.00004796@unknown> <4CA333EC.40704@ose.nl> <20100929183657.13dfea89@gumby.homeunix.com> In-Reply-To: <20100929183657.13dfea89@gumby.homeunix.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Cache Memory in top command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2010 07:25:00 -0000 On 09/29/2010 07=3A36 PM=2C RW wrote=3A =3E=3E=3E Bas Smeelen =3Cb=2Esmeelen=40ose=2Enl=3E wrote=3A =3E=3E=3E =3E=3E=3E =20 =3E=3E=3E=3E *Cache=3A* number of clean pages caching data that are availa= ble for =3E=3E=3E=3E immediate reallocation =3E=3E=3E=3E http=3A//www=2Efreebsd=2Eorg/cgi/man=2Ecgi=3Fquery=3Dtop=26sek= tion=3D1 =3E=3E=3E=3E =20 =3E=3E=3E=3E =20 =3E=3E=3E =3E I don=27t see why it would be included in wired=2C and I=27m pretty sur= e =3E that=27s wrong=2E=20 =3E =20 >From the man page=3A *Wired=3A* number of pages wired down=2C including cached file data pages= =3E The cache queue is a stock of clean pages=2C it=27s sort of an intermed= iate =3E state between inactive and free=2E Most memory allocations can be =3E performed directly from the cache queue=2C which allows memory to hold= =3E useful data right up to the moment it=27s reallocated=2C and it allows= =3E FreeBSD to run with very little free =28i=2Ee=2E wasted=29 memory=2E =3E =3E Cache memory is topped-up with memory from the inactive queue in the =3E background=2E Likewise inactive memory is topped-up from active memory= =2E =3E Since that=27s done on demand the values are virtually meaningless=2E= =20 =3E =3E =20 Thanks for your detailed explanation DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Acce= ss=2C disclosure=2C copying=2C distribution or reliance on any of it by anyone else is prohibited=2E If yo= u have received it by mistake please let us know by reply and then delete it from your system= =2E