Cache Memory in top command

Bas Smeelen b.smeelen at ose.nl
Thu Sep 30 07:25:00 UTC 2010


On 09/29/2010 07:36 PM, RW wrote:
>>> Bas Smeelen <b.smeelen at 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.



More information about the freebsd-questions mailing list