Date: Thu, 30 Sep 2010 09:24:58 +0200 From: Bas Smeelen <b.smeelen@ose.nl> To: freebsd-questions@freebsd.org Subject: Re: Cache Memory in top command Message-ID: <4CA43B4A.6030508@ose.nl> In-Reply-To: <20100929183657.13dfea89@gumby.homeunix.com> References: <800348.43799.qm@web113901.mail.gq1.yahoo.com> <AANLkTinxG2k082x=PQoHAq1d8h_Wn0vUwiXO1cssy4Er@mail.gmail.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA43B4A.6030508>