-
Notifications
You must be signed in to change notification settings - Fork 547
Open
Description
https://google.github.io/tcmalloc/tuning.html#system-level-optimizations says:
TCMalloc heavily relies on Transparent Huge Pages (THP)
And requires that /sys/kernel/mm/transparent_hugepage/enabled be set to always.
This requirement is not ideal because:
- The default for
/sys/kernel/mm/transparent_hugepage/enabledis oftenmadvise. - Some legacy applications exhibit performance degradation with
alwaysoption.
I wonder why wouldn't TCMalloc explicitly request transparent huge pages using madvise(..., MADV_HUGEPAGE), to not have this requirement, please?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels