This question already has an answer here:
- disable transparent hugepages 11 answers
I am trying to
disable Transparent Huge Pages in my
HDP2.2 installation. I am using this link for the reference but I am still getting the issue.
I tried to add this also:
Adding the following lines to
/etc/rc.d/rc.local and restarted the machine.
echo never > /sys/kernel/mm/transparent_hugepage/enabled echo never > /sys/kernel/mm/transparent_hugepage/defrag
And give execution rights to the file:
chmod +x /etc/rc.d/rc.local
Reference from Hortonworks link and disable transparent hugepages
I have tried editing
/etc/rc.local and restated the machine.
if test -f /sys/kernel/mm/redhat_transparent_hugepage/defrag; then echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag fi if test -f /sys/kernel/mm/redhat_transparent_hugepage/enabled; then echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled fi
When I do:
cat /sys/kernel/mm/transparent_hugepage/enabled I get below message on console:
[always] madvise never
Can you please explain the exact meaning of this message.
I rebooted the machine and restarted the Ambari but ambari installation wizard is still saying that
Transparent Huge Pages is still enabled . I am new in it and looking for some help to resolve the issue.