A multi-threaded application not seem to use Transparent HugePages in RHEL-6

Solution Unverified - Updated -

Issue

  • A custom application multi-threaded application seems to allocate a lot of memory in arenas, but all of that memory seems to be backed by regular pages and not Transparent HugePages (THP), as seen from /proc/meminfo.
  • Waiting for a while results in consolidation of the pages into THP, but the allocation should have been backed by THP from the beginning.

Environment

  • Red Hat Enterprise Linux 6
  • glibc
  • Multi-threaded applications

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In