How to disable Transparent Huge Pages (THP) in Ubuntu 16.04LTS

前端 未结 5 1770
南笙
南笙 2021-01-04 01:28

I am setting up an ambari cluster with 3 virtualbox VMs running Ubuntu 16.04LTS. However I get the below warning:

The following hosts have Transparent Huge P         


        
5条回答
  •  遥遥无期
    2021-01-04 02:31

    Install :

    sudo apt install hugepages

    Then run :

    sudo hugeadm --thp-never

    To persist the changes you can add this last command to /etc/rc.local

提交回复
热议问题