cached - any tools to explain what has been cached on linux

Dave Cramer davec-zxk95TxsVYDyHADnj0MGvQC/G2K4zDHf at public.gmane.org
Sun Oct 14 22:39:32 UTC 2007


tleslie wrote:
> I set up a machine with postgres,
> and a 16GB of RAM and its really quick as compared to
> a similar machine running postgres with similar DB
> and only 3GB RAM.
>
> Does anyone know of any utils or profiling tools
> that would explain what the cache in linux
> is doing?
>
> TOP: 
>
> Mem:  16440144k total, 12889668k used,  3550476k free,    69076k buffers
> Swap:  2104472k total,    10732k used,  2093740k free, 10203404k cached
>
> i'd love to know how/what is in that 10 GB of cache
>   
Postgresql relies on your file cache. This is what the effective_cache 
setting in pg is.

> i know it stores allocation blocks for programs to use, but its
> got to be so much more then that.
>
> -tl
>
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
>   

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list