Home > Storage > PowerScale (Isilon) > Industry Solutions and Verticals > Hadoop and Big Data > Dell PowerScale and Cloudera CDP Private Cloud Base Reference Architecture > Memory
Minimize anonymous page faults by setting vm.swappiness = 1, which frees them from the page cache before swapping application pages (this reduces the OOM-killer invocation).
Edit the /etc/sysctl.conf file in your editor of choice, and add following line.
vm.swappiness=1
Then, run the following:
# sysctl –p
# sysctl –a|grep "vm.swappiness"
echo "never" >
/sys/kernel/mm/redhat_transparent_hugepage/enabled
echo "never" > /sys/kernel/mm/redhat_transparent_hugepage/defrag
Add these commands to /etc/rc.local to ensure that transparent huge page compaction and defragmentation remain disabled across reboots.