Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

2 commands to disable hugepage on linux

2 commands to disable hugepage on linux

Contributor

When install HDP at registration step, we always see thewarning on hugepage is enabled. here are the commands to disable hugepage on linux. I found them when I install CDH 5 on AWS.

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

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

also, it is recommended to add to /etc/rc.d, so it is disabled after each reboot.

1 REPLY 1
Highlighted

Re: 2 commands to disable hugepage on linux

Rising Star
Don't have an account?
Coming from Hortonworks? Activate your account here