Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

On 09/29/2010 07:36 PM, RW wrote:
>>> Bas Smeelen <b.smeelen@ose.nl> wrote:
>>>
>>>       
>>>>  *Cache:* number of clean pages caching data that are available for
>>>> immediate reallocation
>>>> http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1
>>>>     
>>>>         
>>>
> I don't see why it would be included in wired, and I'm pretty sure
> that's wrong. 
>   
>From the man page:

*Wired:* number of pages wired down, including cached file data pages

> The cache queue is a stock of clean pages, it's sort of an intermediate
> state between inactive and free. Most memory allocations can be
> performed directly from the cache queue, which allows memory to hold
> useful data right up to the moment it's reallocated, and it allows
> FreeBSD to run with very little free (i.e. wasted) memory.
>
> Cache memory is topped-up with memory from the inactive queue in the
> background. Likewise inactive memory is topped-up from active memory.
> Since that's done on demand the values are virtually meaningless. 
>
>   
Thanks for your detailed explanation


DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have received it
by mistake please let us know by reply and then delete it from your system.



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA43B4A.6030508>