Re: ptmalloc2
David Rhodus wrote:
> On Thu, 17 Feb 2005 15:03:35 -0500, Pedro F. Giffuni <giffunip@asme.org> wrote:
>
>>Hi;
>>
>>JIC you are not following freebsd-hackers, there was an interesting
>>discussion about the linux thread-aware malloc that is under a BSD
>>license. This link comes from an older thread:
>>
>>http://docs.freebsd.org/cgi/mid.cgi?420BB1FF.11156.68F6CEC
>>
>>It does look interesting (at least for SMP), but it looks like some
>>kernel support will be required.
>>
>>cheers,
>>
>> Pedro.
>>
>>
>
>
> I think Greg Lehey recently did some benchmarks that showed PHK malloc
> greatly out performs ptmalloc.
>
phkmalloc is slow when allocating large space, I ever tried to allocate
512M in a single malloc() call on AMD64, and it cames up to several
seconds to complete the request.
David Xu
討論串 (同標題文章)
完整討論串 (本文為第 8 之 9 篇):