-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
Workload Scheduling
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Calling madvise() with MADV_NOHUGEPAGE (added in Linux 2.6.38) would allow MongoDB to effectively mark regions unsuited for transparent hugepages. On 3.15 kernels and above we can use PR_SET_THP_DISABLE to disable THP process-wide.
This approach should be more effective than simply instructing users to disable THP via warnings.
- is related to
-
SERVER-86263 Verify that prctrl will work to selectively disable THP on a process.
-
- Closed
-