[DOCS-9197] Comment on: "manual/tutorial/transparent-huge-pages.txt" Created: 24/Oct/16  Updated: 30/Oct/23  Resolved: 31/Oct/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Howard Lee Assignee: Andrew Feierabend (Inactive)
Resolution: Done Votes: 0
Labels: THP, collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Amazon Linux

Location: https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
Referrer: https://www.google.com/
Screen Resolution: 1920 x 1080


Issue Links:
Related
related to DOCS-12902 Separately disabling THP defrag is no... Closed
Participants:
Days since reply: 4 years, 14 weeks, 6 days ago
Epic Link: DOCSP-1769

 Description   
Documentation Changes

Shell redirection cannot be sudo'd. In the installation guide we've been moving to tee for this reason.

s/shell redirection/tee

Description

The script https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/#create-the-init-d-script does not work on Amazon Linux, due to permission issue:

    echo 'never' > ${thp_path}/enabled
    echo 'never' > ${thp_path}/defrag

However, this fix will work on Amazon Linux, as well as other Linux:

    echo 'never' | tee ${thp_path}/enabled
    echo 'never' | tee ${thp_path}/defrag



 Comments   
Comment by Githook User [ 31/Oct/19 ]

Author:

{'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com', 'name': 'Andrew Feierabend'}

Message: DOCS-12902,DOCS-9197,DOCS-10088,DOCS-12501 update THP and tuned tutorial with current best practices
Branch: v3.6
https://github.com/mongodb/docs/commit/300bae303279839ab092097a76f8b859d29f7798

Comment by Githook User [ 31/Oct/19 ]

Author:

{'name': 'Andrew Feierabend', 'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com'}

Message: DOCS-12902,DOCS-9197,DOCS-10088,DOCS-12501 update THP and tuned tutorial with current best practices
Branch: v4.0
https://github.com/mongodb/docs/commit/0e506d050d4175a90b177ecf1cd00b0fe03f5ca0

Comment by Githook User [ 31/Oct/19 ]

Author:

{'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com', 'name': 'Andrew Feierabend'}

Message: DOCS-12902,DOCS-9197,DOCS-10088,DOCS-12501 update THP and tuned tutorial with current best practices
Branch: master
https://github.com/mongodb/docs/commit/4f9f3cd189147033ca9e5d0367849ab9ea4edec7

Comment by Andrew Feierabend (Inactive) [ 31/Oct/19 ]

Resolved inĀ DOCS-12902.

Comment by Andrew Aldridge [ 24/Oct/16 ]

Thank you very much for the report, holee@expedia.com!

Generated at Thu Feb 08 07:57:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.