Details
-
Improvement
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
None
-
None
Description
http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/
This will allow the existing THP guide of "do the init script, and maybe also do tuned/ktune (if necessary)" to be simplified back down to just "do the init script or tuned/ktune (as appropriate)".
The RHEL6 method is TBD.
The RHEL7 method will be the following (or substantially similar):
[main]
|
include=virtual-guest
|
|
[vm]
|
transparent_hugepages=never
|
|
[script]
|
script=script.sh
|
Then create the script /etc/tuned/no-thp/script.sh with the following contexts, and give it execution rights.
#!/bin/sh
|
|
. /usr/lib/tuned/functions
|
|
start() {
|
echo never > /sys/kernel/mm/transparent_hugepage/defrag
|
return 0
|
}
|
|
stop() {
|
return 0
|
}
|
|
process $@
|
Attachments
Issue Links
- related to
-
DOCS-6130 Comment on: "manual/tutorial/transparent-huge-pages.txt"
-
- Closed
-