Philip M. Gollucci wrote:
> Philippe M. Chiasson wrote:
>> Philip M. Gollucci wrote:
>>> Philippe M. Chiasson wrote:
>>>   
>> Poking [EMAIL PROTECTED] about this issue could possibly help,
>> especially if
>> the reason this was done can be shown not to apply anymore.
>>
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/perl5.8/Makefile
> 
> rev 1.61

"Switch to perlmalloc by
default, unless threaded perl is built, to improve performance."

> rev 1.49

"WITH_PERL_MALLOC - to compile with perl's own malloc, as opposed to
    the freebsd system malloc. Some might find this useful, since perl's
    malloc is marginally faster in typical cases, and orders of
    magnitude faster in degenerate cases. Use with care."

Guess this does show the main reason for this is a performance problem with
Perl's usage of FreeBSD's malloc(). But I'd be curious to see if this
performance problem is still a problem. And if it still is a problem, maybe
there is something Perl isn't doing quite right.

In any case, getting to the bottom of this issue sure sounds interesting.

In the meantime, FreeBSD'ers that have growing problems on FreeBSD should
consider building their ports Perl with WITH_PERL_MALLOC=no

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to