-
Type: Task
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
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 $@
- related to
-
DOCS-6130 Comment on: "manual/tutorial/transparent-huge-pages.txt"
- Closed