"657985552(at)qq(dot)com" <657985552(at)qq(dot)com> writes:
> thanks for you help . but the following config Indicate my OS THP is Disable
> [root(at)pg1 ~]# grep -i HugePages_Total /proc/meminfo
> HugePages_Total: 0
> [root(at)pg1 ~]# cat /proc/sys/vm/nr_hugepages
> 0
Those values reflect whether *explicit* huge pages are enabled. They do
not control *transparent* huge pages.
Red Hat's version of all this is documented here:
https://access.redhat.com/solutions/46111
regards, tom lane