Page MenuHomeDevCentral

Disable transparent hugepages on PaaS Docker
ClosedPublic

Authored by dereckson on Nov 10 2018, 18:02.
Tags
None
Referenced Files
F3786634: D1999.diff
Tue, Nov 26, 16:35
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
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 Not Applicable
Unit
Tests Not Applicable

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.