Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

All OS settings for RedHat Cluster?



I'm planning to install the Ambari 2.1.1 HDP 2.4 on RedHat 7.2 Operating System. Does anyone have a complete checklist of OS settings need to be done before installation? I need something other than this link





Changing THP to never

Thanks in advance for providing any information.



Super Guru


I think this link is what you are looking for.

Also, I am pretty sure in the newer version of Redhat, you need to setup swappiness to 1 instead of 0. I would also disable transparent_hugepage

do a cat on the the following file on your OS and see if it's set to never or always. If it's at always, change it to never.


Use the following command to change this value to never

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

I am not hundred percent sure but I think this requires a restart.



Thanks for the quick response, I have already made all the changes which are in that link. Even I have made changes which I mentioned in the example. Now I need more OS level setting which improves cluster performance.

Super Guru

sure. change swappiness to 1 not 0 which is what you have. Also disable transparent_huge_page as well as transparent_hugepage defrag.

When you are using Hadoop, your files are in Hadoop file system. So you don't really need to track last access time for your files. Disable that for your mount points using "noatime". This will stop linux from keeping track of last access times which is not used anyway.

If you could, in your BIOS settings, change CPU and CPU frequency governance to performance mode. This is a tradeoff between power and performance. So make sure you know what you are doing. your current loads may not already be CPU bound so there may not be any point in doing this. Same things with power settings. you change those to performance for power/performance tradeoff. These are more meant to be sucking juice out of your hardware after you have done everything at OS level, so ideally you don't want to go this far.



Please find the below linkto do more tunning if it's help you 🙂

If this is helps plz let us know..


@Ashnee Sharma

Perfect, I have done all these in prior. Are they anything left?



If this is the your answer, then lets close this.