Redhat Huge Pages - Recommended or not?
Hello!
Is it recommended to enable Huge Pages in our redhat linux environment since in resource intensive applications, huge pages can lead to a significant performance improvement. Can someone please chime in on this?
-sh-4.1$ egrep 'trans|thp' /proc/vmstat
nr_anon_transparent_hugepages 3423
thp_fault_alloc 1345380
thp_fault_fallback 11
thp_collapse_alloc 33155
thp_collapse_alloc_failed 0
thp_split 27807
grep -i HugePages_Total /proc/meminfo
0 (zero) - not used.
It is hard to make a general recommendation yes or no as there are so many variables in terms of application performance. Normally you should perform extensive performance tuning in your own application/environment to see if it helps or not.