Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2006 12:51:20 +0100
From:      bert hubert <bert.hubert@netherlabs.nl>
To:        Jason Evans <jasone@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: unsatisfying c++/boost::multi_index_container::erase	performance on	at least FreeBSD 6.0
Message-ID:  <20060317115120.GA28624@outpost.ds9a.nl>
In-Reply-To: <441A6FE1.4010909@FreeBSD.org>
References:  <20060316224912.GA14905@outpost.ds9a.nl> <441A150A.6000003@FreeBSD.org> <20060317075459.GA24298@outpost.ds9a.nl> <441A6FE1.4010909@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 17, 2006 at 12:14:25AM -0800, Jason Evans wrote:
> >I'd hate to force PowerDNS users to recompile their libc for me :-)
> 
> Yes, you should be able to use LD_PRELOAD to pre-load a shared library 
> that has nothing but malloc.o in it.  In order to build jemalloc on 6.x, 
> you will also need sys/tree.h from -current.

Ok, it turned out to be easier to use nedmalloc
(http://www.nedprod.com/programs/portable/nedmalloc/).

The FreeBSD version of the PowerDNS recursor now has performance on par with
other platforms, happily serving 3000 queries/second.

Thanks for your quick help Jason!

I do hope FreeBSD makes the move to your allocator quickly.

Regards,

bert

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services



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