[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Memory usage: buffer and cache



On Fri, 2004-10-22 at 04:23, Ron Johnson wrote:
> 
> No, because Linux doesn't see the CPU cache.  I'd bet my last 
> kopek that Paul is talking about:
> 
> $ cat /proc/meminfo
> MemTotal:      1003760 kB
> MemFree:         89652 kB
> Buffers:        138752 kB   <<<<<<<<<<<<<<<
> Cached:         326116 kB   <<<<<<<<<<<<<<<
> SwapCached:       7260 kB

Actually in this context (meminfo) "Cached" refers to pagecache (i.e.
the amount of memory used to cache physical pages).

It is pagecache - swapcache

> Slab:           203148 kB

This shows cache used by the slab layer (i.e. cached data structures).

-- 
Eric Gaumer <gaumerel@ecs.fullerton.edu>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: