How to get HugePages to be used on Linux?

Vans S vans_163@REDACTED
Thu May 7 17:33:45 CEST 2020


 It seems the +MMscrpm true flag does not work on linux.  It seems to only reverse the virtual memory not physical.  
    On Wednesday, May 6, 2020, 10:58:23 a.m. EDT, Luke Bakken <luke@REDACTED> wrote:  
 
 Hello,

This is pretty much a guess, but you may want to read about the super
carrier - https://erlang.org/doc/apps/erts/SuperCarrier.html

On Wed, May 6, 2020 at 7:51 AM Vans S <vans_163@REDACTED> wrote:
>
> Has anyone gotten Erlang to use hugepages on linux?  I allocated the default 2MB pages via kernel param, but I see they are not used when I run erlang, I also made it allocated in 2047 sized blocks as recommended by WhatsApp team (tho why 2047 and not 2048).
>
> Also what about disabling THP, anyone tested with and without?  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200507/453ee42a/attachment.htm>


More information about the erlang-questions mailing list