DragonFly BSD
DragonFly kernel List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ptmalloc2


To: drhodus@xxxxxxxxxxx
From: David Xu <davidxu@xxxxxxxx>
Date: Fri, 18 Feb 2005 22:44:56 +0800

David Rhodus wrote:
On Thu, 17 Feb 2005 15:03:35 -0500, Pedro F. Giffuni <giffunip@xxxxxxxx> 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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]