Re:Disable transparent hugepages
by myst on Tuesday November 28, 2017 @09:03AM
(#15797327)
Modern allocators use mmap(2).
[ Parent
| on HN ]
They do? Quite interesting. Tho it shouldn't really change the underlying mechanism; map only pages the process has touched.
May add, if you mmap(2) a memory segment (even a very large one, say 1Tb), nothing happens with regard to page mapping. It is not uncommon to see java tomcat processes allocating north of 80 Gb. But only a small percentage of these is actually used.