Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 07:13:18 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Niall Douglas <s_sourceforge@nedprod.com>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: thread aware malloc
Message-ID:  <425DA78E.2050701@freebsd.org>
In-Reply-To: <425DAE1F.5558.EDA8BD7@localhost>
References:  <425D8546.2050306@he.iki.fi> <425DAE1F.5558.EDA8BD7@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Niall Douglas wrote:

>I've already ported ptmalloc2 to FreeBSD. The performance increase is 
>steller to put it mildly, even with FreeBSD's poor multithreading 
>performance. You're talking ten or more times faster in heavily 
>multithreaded code :)
>
>  
>
Poor multithreading performance? I don't know what library you are
talking about.
I admit that malloc/free is the main bottleneck in userland, a SMP-aware
and CPU locality allocator is welcome.

>http://www.nedprod.com/programs/Win32/ptmalloc2/index.html
>
>All it requires is someone to merge it with FreeBSD's libc. The 
>licence is LGPL but the original ptmalloc2 is BSD-like. You almost 
>certainly could replicate the glibc changes and thus maintain the BSD 
>license in very little time.
>
>Cheers,
>Niall
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425DA78E.2050701>