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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content