vi /etc/grub.conf
kernel项增加 transparent_hugepage=never
例如:
title Red Hat Enterprise Linux (2.6.32-431.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-431.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root transparent_hugepage=never
initrd /initramfs-2.6.32-431.el6.x86_64.img
原文链接:https://www.f2er.com/centos/379942.html