Changes from V1:
* Add note to HOWTO that the HEAPBASE option is not used with THP morecore
* Change warning in thp_morecore to more accurately reflect the problem
  discovered

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.

Cc: [email protected]
Cc: [email protected]

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                   |   11 ++++-
 hugeadm.c               |  105 +++++++++++++++++++++++++++++++++++++++++++++++
 hugectl.c               |   17 +++++++-
 hugeutils.c             |    9 ++++
 libhugetlbfs_internal.h |    1 +
 man/hugeadm.8           |   35 ++++++++++++++++
 man/hugectl.8           |    5 ++
 morecore.c              |   92 +++++++++++++++++++++++++++++++++++++++--
 8 files changed, 266 insertions(+), 9 deletions(-)

-- 
1.7.5.4


------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to