[DOCS-12902] Separately disabling THP defrag is not necessary when THP is disabled Created: 21/Jul/19 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: | Improvement | Priority: | Minor - P4 |
| Reporter: | Eric Sommer | Assignee: | Andrew Feierabend (Inactive) |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | THP | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Days since reply: | 4 years, 12 weeks, 5 days ago | ||||||||||||||||||||||||||||||||||||||||
| Epic Link: | DOCSP-1769 | ||||||||||||||||||||||||||||||||||||||||
| Story Points: | 0.2 | ||||||||||||||||||||||||||||||||||||||||
| Description |
Descriptionhttps://docs.mongodb.com/manual/tutorial/transparent-huge-pages/#create-the-init-d-script This script includes steps for disabling THP and separately disabling THP defrag. In fact, when THP is disabled, separately disabling THP defrag is not necessary. While the extra step in not harmful, it is inconsistent with this article from RH, leading to potential confusion:
The extra step of disabling THP defrag should either be removed or qualified as not necessary. Note that leaving out the separate step of disabling defrag would also be consistent with `mongod`, whose startup warnings check for defrag only if it detects that THP is enabled. See https://github.com/mongodb/mongo/blob/1041dd848e25e879260d1015d8da4f72ee7993fe/src/mongo/db/startup_warnings_mongod.cpp#L261 Scope of changes
Impact to Other Docs
MVP (Work and Date)Resources (Scope or Design Docs, Invision, etc.) |
| Comments |
| Comment by maayan mordehai [ 15/Nov/19 ] |
|
Hi, if separately disabling defrag is not necessary, you can use only tuned to disable transparent hugepages - I think in the documentation it should be tuned or the init.d. Also in rhel 7 init.d is deprecated - systemd should be in use instead. |
| Comment by Githook User [ 31/Oct/19 ] |
|
Author: {'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com', 'name': 'Andrew Feierabend'}Message: |
| Comment by Githook User [ 31/Oct/19 ] |
|
Author: {'name': 'Andrew Feierabend', 'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com'}Message: |
| Comment by Githook User [ 31/Oct/19 ] |
|
Author: {'username': 'andf-mongodb', 'email': 'andrew.feierabend@mongodb.com', 'name': 'Andrew Feierabend'}Message: |
| Comment by Andrew Feierabend (Inactive) [ 31/Oct/19 ] |
|
Also resolves: • |