当前位置: > Linux集群 > Hadoop >

Transparent Huge Pages 禁用

时间:2015-10-07 14:19来源:linux.it.net.cn 作者:IT

ambari 安装Hortonworks HDP 时在检测host时异常。

 The following hosts have Transparent Huge Pages (THP) enabled。THP should be disabled to avoid potential Hadoop performance issues.

解决办法,在Linux下执行:

echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag
echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/defrag

 

(责任编辑:IT)
------分隔线----------------------------