> -----Original Message----- > From: owner-freebsd-current_at_freebsd.org > [mailto:owner-freebsd-current_at_freebsd.org] On Behalf Of Holger Kipp > Sent: Wednesday, January 14, 2004 6:51 AM > To: kris_at_obsecurity.org; des_at_des.no > Cc: stable_at_freebsd.org; current_at_freebsd.org > Subject: Re: perl malloc slow? > > Kris Kennaway (kris_at_obsecurity.org) wrote: > > > >> This is basically a bug in Perl (poor choice of algorithm > for growing > >> strings). Perl's malloc() implementation knows about and > compensates > >> for this bug. FreeBSD's malloc() implementation does not. > > >I heard someone say it was fixed in perl 5.<mumble> (8?) > > As I now know, at least the perl(5.8.2) port is build with > perl malloc as default. > > Sorry for starting this thread - but I learned a lot about > malloc this way ;-) and with perl v5.8.2 performance is very > 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 ---------------------------------------Received on Wed Jan 14 2004 - 04:47:09 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC