develooper Front page | perl.perl5.porters | Postings from January 2008

Re: [perl #50352] Perl 5.10 Storable extremely slow for large trees of data

Thread Previous | Thread Next
From:
Clinton Pierce
Date:
January 29, 2008 18:03
Subject:
Re: [perl #50352] Perl 5.10 Storable extremely slow for large trees of data
Message ID:
9e01efbb0801290819x57bcfcdfnea9cdd0e08744fab@mail.gmail.com
>
> More detail:
>
> There is definitely a difference between 5.6.2 and 5.10.0, but a far
> more significant difference is brought about by using different mallocs:
>
> With 5.10.0 the freeze takes about 2.7 secs with the system malloc and
> 0.03 secs with perl's malloc.
> With 5.6.2 it takes about 0.9 secs with the system malloc and 0.03 secs
> with perl's malloc.
>
> Not sure why the system malloc figure is slower with 5.10.0, but if the
> 0.03 secs is more like the time that you were seeing previously, could
> it be that your 5.6.x build was using perl's malloc and now your 5.10.0
> build is using the system malloc? (ActivePerl builds use the system
> malloc because perl's malloc currently doesn't work with "-D
> PERL_IMPLICIT_SYS", which is required for the fork() emulation.)
>

Good find.

And that pretty much leaves me up a creek.  I can't really use a self-built
Perl for Production in my situation, and the supplied one is far, far too
slow.  Maybe I'll have to find another distribution source or stay on 5.6.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About