[Interest] memory fragmentation?

Alex Malyushytskyy alexmalvtk at gmail.com
Thu Aug 23 22:27:37 CEST 2012


>On Linux, you wouldn't allocate 1 GB of memory with sbrk. You'd use an
>anonymous mmap, which reserves address space but provides no memory backing.
>The allocation is done on faulting the page.
>
>That's how glibc's malloc() serves allocations above a certain adaptive
>threshold.

Thiago,

Many thanks for a good comment,
It looks like what we actually needed.
I will check if anonymous mapping maps  are supported on all systems
we have to support,
this might be a great improvement for our Linux clients :)

Alex



More information about the Interest mailing list