Transparent huge pages (THP) make using huge pages on x86(_64) incredibly easy. However, the standard glibc malloc is not setup to optimixe allocations to be fulfilled as THP, relying on khugepaged to scan and merge huge pages when possible. This patch set extends the morecore idea that was originally used to back the heap with hugetlbfs huge pages to ensure that the heap is grown in huge page sized increments. This allows the kernel allocator to start the new area as a huge page rather than wait for promotion.
Eric B Munson (3): Add support for THP in morecore Add support to hugeadm for configuring transparent huge pages Add controls to hugectl for new THP related env variables HOWTO | 7 +++- hugeadm.c | 105 +++++++++++++++++++++++++++++++++++++++++++++++ hugectl.c | 17 +++++++- hugeutils.c | 4 ++ libhugetlbfs_internal.h | 1 + man/hugeadm.8 | 35 ++++++++++++++++ man/hugectl.8 | 11 +++++ morecore.c | 84 +++++++++++++++++++++++++++++++++++-- 8 files changed, 258 insertions(+), 6 deletions(-) -- 1.7.4.1 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Libhugetlbfs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel
