MongoDB requires disabling of transparent_hugepages in Ubuntu 16.04 for performance enhancements. In order to achieve this we need to make a script that is automatically executed when system reboots. Follow the following steps to enable this in your linux installation: