Re: squid die (malloc error) on AIX 4.2.1

From: Henny Bekker <H.Bekker@dont-contact.us>
Date: Thu, 11 Sep 1997 23:27:11 +0200 (METDST)

> At 09:33 11.09.97 -0400, you wrote:
> >On Thu, 11 Sep 1997, Mike Shoyher wrote:
> >> Try NOVM flavor. I use NOVM with 16 Gb cache and it is working fine.
> >Is there a performance degradation involved by not letting Squid use all
> >the memory it needs?
>
> In 'classic' flavor you simply cannot limit amount of used memory.
> Squid will use all memory it need plus some memory for URL index and for
> cache_mem.
>
> I see no difference in perfomance between NOVM and 'classic' versions. Look
> at the test on http://squid.nlanr.net.
>
Every object takes about 64-Byte in core memory.. The main objective is to
have no paging and/or swapping activity.. It's easy to calculate the needed
memory when you know the size of the disk..
If you have a cache disk of 16-GByte, and assuming the average object-size is
4-KByte, and the HOT-Cache is "0-bytes" (the NOVM uses no Hot-cache) and the
RAM usage of the AIX system is about 64-MByte, the total RAM needed in the
system is: 64M+ (16*1024 * 64/(1024*4)) = 320-MByte

I always use a simple formula to calculatie the average disk-size:
   DS = 60 * (M - H - S)
DS = Disk size in MByte
 M = RAM size in MByte
 H = Size in MByte of Hot-cache
 S = size of needed RAM by OS etc..

 DS = 60 * (320 - 0 -64) = 15360-MByte

Cheers, Henny

-- 
-----------------------------------------------------------------------------
E-Mail: Henny.Bekker@cc.ruu.nl    ! Disclaimer: The main obstacle to progress
http    http://www.ruu.nl/~henny  !             progress is not ignorance,but
PTT:    Voice: +31 30 2536971 Fax: +31 30 2531633 ! the illusion of knowledge
X400:   /G=Henny/S=Bekker/OU=cc/O=ruu/PRMD=surf/ADMD=400net/C=nl         o
Paper:  H.J.Bekker, Utrecht University, Computer Centre              _  /- _
        Po Box 80011, 3508 TA  Utrecht  Nederland                   (_) > (_)
-----------------------------------------------------------------------------
Received on Thu Sep 11 1997 - 14:32:36 MDT

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