Check out the performance these guys were able to obtain by using the Google Malloc patches:
The glibc malloc library is known to have issues with threading. Since these allocation calls are all wrapped in the THR_LOCK_heap mutex, these negative effects could be multiplied.
Google have written an alternate malloc library that is known to perform better with threads. Debian has packaged it, so it is a simple matter of downloading and using LD_PRELOAD













2 Replies
[...] Malloc and MySQL PerformanceSource:Kevin Burton’s NEW FeedBlog2007-06-03 [...]
[...] June 3rd, 2007 – maybe it is worth the effort, I have to confess that my test ran a single thread only. I will have to set up a multi-threaded [...]