[erlang-questions] Memory allocator

Bjorn Gustavsson <>
Sat Mar 21 09:40:28 CET 2009


2009/3/21 Tony Arcieri <>:
> I noticed in Ulf Wiger's presentation Erlang Programming for Multicore:
>
> http://ulf.wiger.net/weblog/2009/01/23/erlang-programming-for-multicore/
>
> ...that the main contention point in R13A is now the memory allocator.
>
> Are there any plans for addressing this, such as moving to a different
> memory allocator, maybe:
>
> tcmalloc: http://goog-perftools.sourceforge.net/doc/tcmalloc.html
> hoard: http://www.hoard.org
>
> I'm curious how much something like this would improve Erlang's
> performance.  Perhaps I'll try benchmarking Erlang with these allocators
> versus plain vanilla libc.

Yes, we have plans for addressing this issue, but not by switching
to another allocator. The Erlang emulator by default already uses its
own memory allocator.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list