https://access.redhat.com/solutions/377653
Why the system throws a "unknow key" error when try to set vm.nr_hugepages?
SOLUTION 已验证 - 已更新 2013年五月21日10:13 -
环境
Red Hat Enterprise Linux 5
kernel-xen
问题
Why the system throws a "unknow key" error when try to set vm.nr_hugepages?
决议
Hugepage is not supported on xen kernel
诊断步骤
From kernel config file:
xen kernel
# cat /boot/config-xen | grep HUGE
# CONFIG_HUGETLB_PAGE is not set
non-xen kernel
# cat /boot/config- | grep HUGE
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y