In-Memory Computing at Scale: When to Choose and How to Effectively Use JEMalloc
highscalability.com
highscalability.com
On the CentOS 6.4 / Linux 2.6.32-358.11.1 kernel systems described in the paper, Transparent Huge Pages were enabled, and according to all my investigations, THP was working automatically and effectively as expected.
Specifically, correlating the "AnonHugePages" numbers between "/proc/meminfo" (system-wide) and "/proc/<PID>/smaps" (for the Aerospike database daemon), showed substantial amounts of the process VM was in huge pages, and the page table space ("VmPTE" in "/proc/<PID>/status") was not excessive.
Do you have a compelling use-case / metrics for manually controlling huge pages vs. simply relying on THP managed by the kernel?