-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
Labels:None
-
Service Arch
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