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             |    9 ++++
 libhugetlbfs_internal.h |    1 +
 man/hugeadm.8           |   35 ++++++++++++++++
 man/hugectl.8           |    5 ++
 morecore.c              |   84 +++++++++++++++++++++++++++++++++++--
 8 files changed, 257 insertions(+), 6 deletions(-)

-- 
1.7.4.1


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to