Transparent Huge Pages 禁用

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


你可能感兴趣的:(Transparent Huge Pages 禁用)