Re: [squid-users] dlmalloc "new" release

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 25 Mar 2001 14:58:42 +0200

Simply because no problems have been seen with the 2.6.4 version, thus
there has been no reason for us to look for a newer dlmalloc release.

And no, using DL malloc is not the 1st way to optimize Squid. It is a
baindaid for certain OS:es where malloc() is not performing well at all,
but most OS:es have quite alright malloc implementations today.

Quick guide when to switch to dlmalloc:

If using cachemgr "General runtime information", "total space in arena"
is constantly growing and "total free" is growing at about the same
speed, then switching to dlmalloc is most likely a good idea.

--
Henrik Nordstrom
Squid hacker
Fabrice Laborie wrote:
> 
> Hi guys,
> since using DL malloc seems to be one of the 1st way to optimize squid,
> i am just curious to know
> why  the ./squid-2.4.STABLE1/lib/dlmalloc.c is based on DLmalloc 2.6.4
> -----------------------8<----------------------
> *
> * $Id: dlmalloc.c,v 1.2.10.1 2001/01/10 20:27:40 wessels Exp $
> */
> 
> /* ---------- To make a malloc.h, start cutting here ------------ */
> 
> /*
>   A version of malloc/free/realloc written by Doug Lea and released to the
>   public domain.  Send questions/comments/complaints/performance data
>   to dl@cs.oswego.edu
> 
> * VERSION 2.6.4  Thu Nov 28 07:54:55 1996  Doug Lea  (dl at gee)
> 
> ----------------------->8----------------------
> 
> this version seems to be FOUR releases behind ! :
> 
> lynx http://gee.cs.oswego.edu/pub/misc
> -----------------------8<----------------------
> [TXT]  malloc-2.5.1.c          31-Dec-1999 09:12    33k
> [TXT]  malloc-2.5.3b.c         31-Dec-1999 09:12    39k
> [TXT]  malloc-2.5.c            31-Dec-1999 09:12    36k
> [TXT]  malloc-2.6.1.c          31-Dec-1999 09:12    47k
> [TXT]  malloc-2.6.2.c          31-Dec-1999 09:12    83k
> [TXT]  malloc-2.6.4.c          31-Dec-1999 09:12    98k
> [TXT]  malloc-2.6.5.c          31-Dec-1999 09:12    99k
> [TXT]  malloc-2.6.6.c          05-Mar-2000 19:12   102k
> [TXT]  malloc-2.7.0.c          11-Mar-2001 15:06   175k
> [TXT]  malloc-2.7.0.h          25-Feb-2001 18:38    24k
> ----------------------->8----------------------
> 
> any reason for that ??? are 2.6.5 , 2.6.6 not running as well with squid ??
> if those were misbehaving, has someone given a try with the recent 2.7.0 ?
> 
> regards,
> 
> f
Received on Sun Mar 25 2001 - 06:23:16 MST

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