A multi-threaded application not seem to use Transparent HugePages in RHEL-6
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.