OT-CONTAINER-KIT / redis

A production optimized redis docker image
https://opstree.github.io
23 stars 51 forks source link

Transparent Huge Pages (THP) warning #1

Closed malte-behrendt-gr closed 3 years ago

malte-behrendt-gr commented 4 years ago

When deploying this docker image (via Redis Operator - thanks for that one!) I get a warning:

WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.

Is there a way to configure it/set THP settings by default?

iamabhishek-dubey commented 3 years ago

This more like a kernel setting, I would suggest handling this change on the node itself