Does RHEL glibc support the "glibc.malloc.hugetlb" tunable?

Solution Verified - Updated -

Issue

  • Does RHEL glibc support the glibc.malloc.hugetlb tunable?
  • We would like to use the GNU C library memory allocation to use hugepages for increase application performance
  • Can glibc's memory allocator use Transparent HugePages or HugeTLB static huge pages?

Environment

  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9
  • glibc (GNU C library)
  • Huge memory pages - 2 MiB or 1 GiB on x86_64

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