ptmalloc2
David Xu
davidxu at t2t2.com
Fri Feb 18 06:44:56 PST 2005
David Rhodus wrote:
On Thu, 17 Feb 2005 15:03:35 -0500, Pedro F. Giffuni <giffunip at 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
More information about the Kernel
mailing list