Page MenuHomeDevCentral

Disable transparent hugepages on PaaS Docker
ClosedPublic

Authored by dereckson on Nov 10 2018, 18:02.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 12:03
Unknown Object (File)
Fri, Nov 22, 16:33
Unknown Object (File)
Fri, Nov 15, 07:31
Unknown Object (File)
Mon, Nov 11, 08:18
Unknown Object (File)
Sun, Nov 10, 08:34
Unknown Object (File)
Sun, Nov 10, 08:34
Unknown Object (File)
Sun, Nov 10, 08:33
Unknown Object (File)
Sat, Nov 9, 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.