perl malloc slow?
Robin P. Blanchard
robin.blanchard at gactr.uga.edu
Wed Jan 14 05:47:09 PST 2004
> -----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
---------------------------------------
More information about the freebsd-current
mailing list