thread aware malloc

Niall Douglas s_sourceforge at nedprod.com
Wed Apr 13 16:14:46 PDT 2005


On 14 Apr 2005 at 0:52, Ivan Voras wrote:

> 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 :)
> 
> <bad joke>
> 
> No, don't do that - with this in current and the new libthr, when
> someone tries to benchmark mysql it will run so fast that time itself
> will start running backwards!
> 
> </bad joke>

Well even with ptmalloc2, my code runs at about eight times slower 
than on Linux :(. FreeBSD threads implementation still has a long way 
to go.

Cheers,
Niall





More information about the freebsd-threads mailing list