Re: Memory size using LFUDA

From: Chris Conn <cconn@dont-contact.us>
Date: Sun, 28 May 2000 17:02:47 -0400 (EDT)

On Sun, 28 May 2000, Henrik Nordstrom wrote:

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

Hello,

Actually, I reduced my cache_mem to 50MB when I saw the swapping, and 24
hours later it was back up to 30MB of swap on the cache machine. I have
since gone back to LRU since left alone it would have eventually filled
the swap...

Chris

>
> --
> 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 - 15:05:54 MDT

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