Re: Memory size using LFUDA

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 28 May 2000 14:08:50 +0200

The HEAP based policies uses a little more memory than the normal LRU
policy yes. Not sure if this memory is properly accounted for.

--
Henrik Nordstrom
Squid hacker
Chris Conn wrote:
> 
> Hi,
> 
> I recently switched to LFUDA as a replacement policy, and for the
> interested, my byte-hit ratio rose by a factor of approximately 5%...my
> 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,
> 
> Chris
Received on Sun May 28 2000 - 17:47:54 MDT

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