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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual, Server
    • Labels:

      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

              Assignee:
              andrew.feierabend Andrew Feierabend (Inactive)
              Reporter:
              eric.sommer Eric Sommer
              Participants:
              Last commenter:
              Andrew Feierabend Andrew Feierabend (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                2 years, 13 weeks, 3 days ago
                Date of 1st Reply: