Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
ubuntu_hortonworks [2016/01/28 11:20]
steve
ubuntu_hortonworks [2016/01/28 11:21]
steve
Line 39: Line 39:
 sysctl -w vm.swappiness=0 sysctl -w vm.swappiness=0
 sysctl -w fs.epoll.max_user_instances=2048 sysctl -w fs.epoll.max_user_instances=2048
 +</​code>​
 +
 +HortonWorks recommends disabling transparent hugepages as well. Add to ''/​etc/​rc.local'':​
 +
 +<​code>​
 +echo never > /​sys/​kernel/​mm/​transparent_hugepage/​enabled
 +echo never > /​sys/​kernel/​mm/​transparent_hugepage/​defrag
 </​code>​ </​code>​