"657985552@qq.com" <657985552@qq.com> writes:
> thanks for you help . but the following config Indicate my OS THP is Disable
> [root@pg1 ~]# grep -i HugePages_Total /proc/meminfo
> HugePages_Total: 0
> [root@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