Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12903

Requirement for disabling THP in both init.d and tuned needs clarification

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • None
    • manual, Server

    Description

      Description

      https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/#init-script

      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 Using tuned and ktune.

      This is not 100% accurate. Disabling THP in tuned/ktune is sufficient. The motivation for disabling in both places (inti.d and tuned/ktune) is because conflicting settings can overwrite one another. But if THP is disabled in tuned, as long as it is not explicitly enabled in init.d, disabling in init.d is not technically necessary for THP to be disabled.

      If the documentation is going to recommend both steps, it might be worth clarifying that the reason is to prevent a conflict. Otherwise, a reader might question why both steps are necessary.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Issue Links

          Activity

            People

              andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
              eric.sommer@mongodb.com Eric Sommer
              Andrew Feierabend Andrew Feierabend (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 49 weeks, 6 days ago