Memory size using LFUDA

From: Chris Conn <>
Date: Tue, 23 May 2000 22:36:24 -0400 (EDT)


I recently switched to LFUDA as a replacement policy, and for the
interested, my byte-hit ratio rose by a factor of approximately
hit ratio stayed steady at around 52%.

As for the memory however, I was using 100MB of cache_mem on a 512MB
system, and I was surprised to see my box swapping at 26MB!!! This never
happened before using simple LRU and such a large cache_mem.

Here are my mem stats after 7 days of uptime:

Memory usage for squid via mallinfo():
        Total space in arena: 437069 KB
        Ordinary blocks: 432612 KB 97547 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 18220 KB 8 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 4457 KB
        Total in use: 450832 KB 103%
        Total free: 4457 KB 1%
Memory accounted for:
        Total accounted: 305529 KB

Why the large difference between the total in use vs the accounted? Any
ideas? Box is a Intel PIII 500Mhz Linux 2.2.15, 36GB cache partitions
running Version 2.3.STABLE2. Compiled using --enable-dlmalloc.

Thanks in advance,

Received on Tue May 23 2000 - 20:39:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:33 MST