From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 05:47:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92EF816A4CE for ; Wed, 14 Jan 2004 05:47:09 -0800 (PST) Received: from mail.gactr.uga.edu (mail.gactr.uga.edu [128.192.37.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55C8243D45 for ; Wed, 14 Jan 2004 05:47:08 -0800 (PST) (envelope-from robin.blanchard@gactr.uga.edu) Received: from 127.0.0.1 (localhost [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id 7770F76FCF for ; Wed, 14 Jan 2004 08:47:07 -0500 (EST) Received: from EBE1.gc.nat (E2K2.gc.nat [10.10.11.22]) by mail.gactr.uga.edu (Postfix) with ESMTP id 6023276FCB for ; Wed, 14 Jan 2004 08:47:07 -0500 (EST) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Date: Wed, 14 Jan 2004 08:47:07 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: perl malloc slow? Thread-Index: AcPalNYFj+wPKujlQT6m/CpLCc/BGQAD50zQ From: "Robin P. Blanchard" To: Subject: RE: perl malloc slow? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 13:47:09 -0000 > -----Original Message----- > From: owner-freebsd-current@freebsd.org=20 > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Holger Kipp > Sent: Wednesday, January 14, 2004 6:51 AM > To: kris@obsecurity.org; des@des.no > Cc: stable@freebsd.org; current@freebsd.org > Subject: Re: perl malloc slow? >=20 > Kris Kennaway (kris@obsecurity.org) wrote:=20 > > > >> This is basically a bug in Perl (poor choice of algorithm=20 > for growing=20 > >> strings). Perl's malloc() implementation knows about and=20 > compensates=20 > >> for this bug. FreeBSD's malloc() implementation does not. >=20 > >I heard someone say it was fixed in perl 5. (8?) >=20 > As I now know, at least the perl(5.8.2) port is build with=20 > perl malloc as default. >=20 > Sorry for starting this thread - but I learned a lot about=20 > malloc this way ;-) and with perl v5.8.2 performance is very=20 > good again! Just another piece of possible useful information for the list... Building mod_perl2-1.99r12 against perl-5.6.1_15 with -DWITH_PERL_MALLOC causes apache2 to core dump; without -DWITH_PERL_MALLOC, all's well. --------------------------------------- Robin P. Blanchard Systems Integration Specialist Georgia Center for Continuing Education fon: 706.542.2404 < > fax: 706.542.6546 ---------------------------------------