From owner-freebsd-current Tue Aug 27 01:08:25 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA23053 for current-outgoing; Tue, 27 Aug 1996 01:08:25 -0700 (PDT) Received: from render.gu.kiev.ua (render.gu.kiev.ua [193.124.51.65]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA23034 for ; Tue, 27 Aug 1996 01:07:55 -0700 (PDT) Received: from creator.gu.kiev.ua (root@creator.gu.kiev.ua [193.124.51.73]) by render.gu.kiev.ua with ESMTP id KAA20128; Tue, 27 Aug 1996 10:46:25 +0300 Received: (from stesin@localhost) by creator.gu.kiev.ua id KAA20433; Tue, 27 Aug 1996 10:44:13 +0300 From: Andrew Stesin Message-Id: <199608270744.KAA20433@creator.gu.kiev.ua> Subject: Re: FreeBSD malloc.c, -lmalloc, and squid. To: angio@aros.net (Dave Andersen) Date: Tue, 27 Aug 1996 10:44:12 +0300 (EET DST) Cc: squid-users@nlanr.net, current@freebsd.org Reply-To: stesin@gu.kiev.ua In-Reply-To: <199608262251.QAA07775@terra.aros.net> from "Dave Andersen" at Aug 26, 96 04:51:09 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, As a result of a pre-2.1.5-release discussion, I was under impression that libmalloc in FreeBSD-2.1.5 was going to be a "libPHKmalloc" really, with old libmalloc going elsewhere. >From your message I got an impression that I was wrong. :( As for me, I strongly suggest using phkmalloc with Squid on any platform. Or gnumalloc at least. Default (standard?) BSD malloc isn't usable. Yours -- Andrew Stesin | | As an interesting point to note: | | Recompiling squid with*out* -lmalloc and using phkmalloc (malloc from | -current) resulted in squid stabalizing, after about 13 hours of moderate | to light use (1 hit/second) at 21M used. With the standard malloc and | linking against -lmalloc, this usage was at about 35M under the same load | after the same period of time. | | If someone's developing a FAQ, the above may wish to be a part of it. | :) (Or mail me, and I'll send you a better formatted entry). | | Has anyone tried changing the configure script to _not_ link to | -lmalloc under stock 2.1.5? I'd be curious about the results. My guess | is that linking against the now-antiquated libmalloc causes squid to | waste memory like there's no tomorrow, even when not using phkmalloc. | | -Dave Andersen | | -- | angio@aros.net Complete virtual hosting and business-oriented | system administration Internet services. (WWW, FTP, email) | http://www.aros.net/ http://www.aros.net/about/virtual | "There are only two industries that refer to their customers as 'users'." | -- nic-hdl: ST73-RIPE