[erlang-questions] How to tune erlang memory allocator to use 25 GB of ram and stop munmaping it?
Wed Aug 14 16:55:54 CEST 2013
Looking quickly at the binary_alloc info you have a lot of the data
allocated by sys_alloc. sys_alloc uses malloc directly, so there is no
cache there. Maybe try setting +MBmmsbc 2048, I got 2048 by adding
mseg_alloc_carriers to sys_alloc_carriers for sbcs and then adding a small
On Wed, Aug 14, 2013 at 4:41 PM, Max Lapshin <> wrote:
> I'm running erlang R16B01 on Debian linux (kernel 3.2.0)
> Here is my binary allocator info:
> here is mseg_allocator: https://gist.github.com/maxlapshin/6231710
> I've restarted erlang with +MMmcs 30:
> erts-5.10.2/bin/beam.smp -K true -A 160 -MMmcs 30 -stbt s -- ...
> Looks like number of mmap/munmap has lowered.
> Will try to understand this allocator information.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions