[erlang-questions] Pre-allocating memory

Rick Payne rickp@REDACTED
Mon Nov 6 20:20:34 CET 2017



> On 7 Nov 2017, at 04:13, Mikael Pettersson <mikpelinux@REDACTED> wrote:
> 
> By default mmap() only sets up address space, but doesn't necessarily bind that address space to actual RAM.  Normally that binding is populated "on demand" via page faults.  (There are various flags to mmap() to modify this behaviour.)

Ah, that could be it - it looks like adding MAP_POPULATE may help me. I'll see if modifying erts to do that will help...

Cheers,
Rick


More information about the erlang-questions mailing list