Kernel/Transparent Hugepages

From Gentoo Wiki
< Kernel
Jump to:navigation Jump to:search

Transparent Hugepages (THP) is a Linux kernel feature which enables a more efficient use of hardware for certain memory intensive workloads. This article provides direction on enabling support for Transparent Hugepages in the Linux kernel.



KERNEL Enable Transparent Hugepage support (CONFIG_TRANSPARENT_HUGEPAGE)
Memory Management options  --->
  Transparent Hugepage Support  --->
    Transparent Hugepage Support sysfs defaults (madvise)  --->
      ( ) always
      (X) madvise

Recompile and reboot as necessary. See the Kernel article for more details.

See also

  • Kernel — the core of the operating system.