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

本文探讨了在Red Hat Enterprise Linux 5的Xen内核中尝试设置vm.nr_hugepages时出现“未知键”错误的原因。文中指出,Xen内核不支持巨大页功能,而在非Xen内核下,该功能通过CONFIG_HUGETLB_PAGE配置项启用。

被折叠的 条评论
为什么被折叠?



