一:普通大页类型
[root@xx ~]# free -g
total used free shared buffers cached
Mem: 15 7 8 0 0 4
-/+ buffers/cache: 2 12
Swap: 15 0 15[root@xx ~]# cat /proc/meminfo | grep Hu
AnonHugePages: 2430976 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB-----取消透明大页
[root@xx ~]# echo never > /sys/kernel/mm/transparent_hugepage/enabled
[root@xx ~]# more /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]
----设置大页可用共享内存[root@xx ~]# more /etc/sysctl.conf
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736# Controls the ma