[erlang-questions] How to tune erlang memory allocator to use 25 GB of ram and stop munmaping it?

Jon Schneider jon@REDACTED
Wed Aug 14 16:52:08 CEST 2013


You should also be aware that by default Linux is rather optimistic (over
committing). It has various knobs under /proc .

Jon

> I'm running erlang R16B01 on Debian linux (kernel 3.2.0)
>
>
> Here is my binary allocator info:
> https://gist.github.com/maxlapshin/6231659
>
> 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.





More information about the erlang-questions mailing list