diff --git a/source/includes/steps-disable-thp-in-initd.yaml b/source/includes/steps-disable-thp-in-initd.yaml index 40700da725d..57bcf6439f7 100644 --- a/source/includes/steps-disable-thp-in-initd.yaml +++ b/source/includes/steps-disable-thp-in-initd.yaml @@ -83,4 +83,14 @@ action: - .. code:: sh sudo chkconfig --add disable-transparent-hugepages +--- +title: "Override tuned and ktune, if applicable" +stepnum: 4 +level: 4 +ref: override-tuned-ktune +action: + - pre: | + If you are using ``tuned`` or ``ktune`` (for example, if you are running + Red Hat or CentOS 6+) you must now configure them to preserve the above + settings. ... diff --git a/source/tutorial/transparent-huge-pages.txt b/source/tutorial/transparent-huge-pages.txt index 4b97fbeb6ff..86067aaf83f 100644 --- a/source/tutorial/transparent-huge-pages.txt +++ b/source/tutorial/transparent-huge-pages.txt @@ -16,18 +16,23 @@ with MongoDB. Init Script ----------- -Procedure -~~~~~~~~~ +.. important:: + + If you are using ``tuned`` or ``ktune`` (for example, if you are running + Red Hat or CentOS 6+), you must additionally configure them so that THP is + not re-enabled. See :ref:`configure-thp-tuned`. .. include:: /includes/steps/disable-thp-in-initd.rst +.. _configure-thp-tuned: + Using ``tuned`` and ``ktune`` ----------------------------- .. important:: - If installed, you must configure ``tuned`` and ``ktune`` to prevent them from - re-enabling THP. + If using ``tuned`` or ``ktune``, you must perform this step in addition + to installing the init script. ``tuned`` and ``ktune`` are dynamic kernel tuning tools available on Red Hat and CentOS that can disable transparent huge pages.