Re: Reducing memory footprint?

Ilya Zakharevich (ilya@math.ohio-state.edu)
Thu, 11 Mar 1999 14:26:21 -0500


On Thu, Mar 11, 1999 at 08:45:10AM +0000, Nick Ing-Simmons wrote:
> Ilya Zakharevich <ilya@math.ohio-state.edu> writes:
> >> >Did not try 2.4.  With 2.6 it is: 2.5 times slower, and uses 20% more
> >> >memory than Perl's one.
> >> 
> >> I agree Solaris malloc is slower, I don't remember _that_ much difference
> >> you have not got one of thread libraries linked have you?
> >
> >I'm not discussing speed of perl, but of malloc/free API.  
> 
> I know.
> 
> My guess was that "Solaris malloc" may be a different beast when found
> via thread library - we are not the only ones that pay a thread-safe
> overhead. e.g. if libc malloc does no locking, but -lpthread malloc 
> does lots of locking it could be a lot slower.

It may be.  But the above figures are without threads.

Ilya