Re: ptmalloc2

看板DFBSD_kernel作者時間21年前 (2005/02/19 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/9 (看更多)
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
文章代碼(AID): #125YsC00 (DFBSD_kernel)
文章代碼(AID): #125YsC00 (DFBSD_kernel)