[asterisk-dev] Hoard Memory Allocator

Russell Bryant russell at digium.com
Mon Jun 4 08:23:59 MST 2007

I saw this library mentioned in an article I read recently.  Here is a 
copy/paste description from their web site:


"The Hoard memory allocator is a fast, scalable, and memory-efficient 
memory allocator. It runs on a variety of platforms, including Linux, 
Solaris, and Windows. Hoard is a drop-in replacement for malloc() that 
can dramatically improve application performance, especially for 
multithreaded programs running on multiprocessors. No change to your 
source is necessary. Just link it in or set just one environment 
variable (see Using Hoard for more information)."

People running Asterisk on Solaris have reported significant scalability 
improvements by using the mtmalloc library.  For example:


The Hoard web site claims that hoard is even better than mtmalloc.  If 
anyone is interested in doing some load testing, I would really be 
interested in seeing what kind of improvements this would do for an 
Asterisk system.

Russell Bryant
Software Engineer
Digium, Inc.

More information about the asterisk-dev mailing list