redis/redis-rcp

Need an update on this WARNING message

JOduMonT opened this issue · 0 comments

Jun 24 11:56:39 14:M 24 Jun 04:56:39.893 # 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.

this message is so 2015

since then, ubuntu, centos and debian, (probably others linux too) switch the config to madvise which leave the process can control the behavior on its own.

ref: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages