How to fix «You have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis»?

redis

(Dmitry Fedyuk) #1

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.

How to fix «Cannot create /sys/kernel/mm/transparent_hugepage/enabled: Read-only file system» for Docker?


How to fix «Cannot create /sys/kernel/mm/transparent_hugepage/enabled: Read-only file system» for Docker?