Disable Transparent Huge Pages [THP] in CentOS 8

On CentOS 8, In file editor open /etc/default/grub file, and add “transparent_hugepage=never” kernel parameter on the GRUB_CMDLINE_LINUX in options as shown below; GRUB_CMDLINE_LINUX="options transparent_hugepage=never" On command line execute grub2-mkconfig to build /boot/grub2/grub.cfg grub2-mkconfig -o /boot/grub2/grub.cfg [System with BIOS] grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg [System with UEFI] Reboot Server to apply changes. If THP is still not disabled, stop tuned with tuned-adm off Add “transparent_hugepage=never” kernel parameter in /etc/default/grub file and reboot server.

Leave a Reply

Your email address will not be published. Required fields are marked *