Page MenuHomeDevCentral

Disable transparent hugepages on PaaS Docker
ClosedPublic

Authored by dereckson on Nov 10 2018, 18:02.
Tags
None
Referenced Files
F2829950: D1999.id5046.diff
Fri, Apr 19, 10:28
F2829658: D1999.id5045.diff
Fri, Apr 19, 09:13
Unknown Object (File)
Mon, Apr 15, 02:27
Unknown Object (File)
Mon, Apr 15, 02:01
Unknown Object (File)
Sun, Apr 14, 21:05
Unknown Object (File)
Sun, Apr 14, 19:01
Unknown Object (File)
Sun, Apr 14, 05:05
Unknown Object (File)
Sat, Apr 13, 09:00
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.