page/buffer cache usage "2.0.34"

Richard Scott Gray (sgray@naxs.net)
Wed, 24 Jun 1998 10:18:54 -0400


This is a multi-part message in MIME format.
--------------DA63DB25B6A16ACBD540260C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

--------------DA63DB25B6A16ACBD540260C
Content-Type: text/plain; charset=us-ascii; name="page-buffer.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="page-buffer.txt"

Hi,

As I understand it meta-data is cached in the buffer cache and file data is cached in the page
cache. Is this assertion correct? I've noticed that if I "cat /proc/meminfo" on one of my standard
user systems the "page cache" is always larger than the "buffer cache." For instance:

total: used: free: shared: buffers: cached:
Mem: 64864256 60985344 3878912 59654144 1679360 15728640
Swap: 131567616 958464 130609152
MemTotal: 63344 kB
MemFree: 3788 kB
MemShared: 58256 kB
Buffers: 1640 kB
Cached: 15360 kB
SwapTotal: 128484 kB
SwapFree: 127548 kB

However, on my dedicated squid based proxy servers the "buffer cache" seems to always be larger
than the "page cache." For instance:

total: used: free: shared: buffers: cached:
Mem: 131137536 129204224 1933312 7274496 72957952 3850240
Swap: 131084288 18731008 112353280
MemTotal: 128064 kB
MemFree: 1888 kB
MemShared: 7104 kB
Buffers: 71248 kB
Cached: 3760 kB
SwapTotal: 128012 kB
SwapFree: 109720 kB

Why? Is the Linux memory management architecture similar to the SVR4 VM
architecture?

Thanks,
Scott Gray

--------------DA63DB25B6A16ACBD540260C--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu