Page MenuHomeDevCentral

Disable transparent hugepages on PaaS Docker
ClosedPublic

Authored by dereckson on Nov 10 2018, 18:02.
Tags
None
Referenced Files
F7781250: D1999.diff
Fri, May 2, 19:01
Unknown Object (File)
Sat, Apr 26, 19:13
Unknown Object (File)
Fri, Apr 25, 16:37
Unknown Object (File)
Thu, Apr 24, 05:05
Unknown Object (File)
Mon, Apr 21, 23:22
Unknown Object (File)
Mon, Apr 21, 20:43
Unknown Object (File)
Mon, Apr 21, 20:42
Unknown Object (File)
Mon, Apr 21, 15:23
Subscribers
None

Details

Summary

Redis and MongoDB both advise to disable Transparent Hughe Pages (THP).

The RedHat documentation indicates this default option
isn't suitable for databases workloads.

As it's reasonable to consider a Docker engine will host
MySQL, PostgreSQL, Redis or some NoSQL containers, we can
disable this setting.

Test Plan

cat /sys/kernel/mm/transparent_hugepage/enabled

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
disable-transparent-huge-pages (branched from master)
Build Status
Buildable 3112
Build 3360: arc lint + arc unit

Event Timeline

dereckson created this revision.
Equatower
$ cat /sys/kernel/mm/transparent_hugepage/enabled                                                                                       
always madvise [never]
This revision is now accepted and ready to land.Nov 10 2018, 18:06
This revision was automatically updated to reflect the committed changes.