oh .thanks i understand . but i still have a question .
[root@pg1 pgdata]# uname -a
Linux pg1 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@pg1 pgdata]# cat /etc/redhat-release
CentOS Linux release 7.0.1406 (Core)
my os is centos7 . is there THP problem in it ?
Date: 2015-11-25 10:21
Subject: Re: [GENERAL] ??: postgres cpu 100% need help
"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