diff options
Diffstat (limited to 'redis.conf')
-rw-r--r-- | redis.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf index 561aaa9db..119f7b6f9 100644 --- a/redis.conf +++ b/redis.conf @@ -1088,6 +1088,19 @@ oom-score-adj no oom-score-adj-values 0 200 800 + +#################### KERNEL transparent hugepage CONTROL ###################### + +# Usually the kernel Transparent Huge Pages control is set to "madvise" or +# or "never" by default (/sys/kernel/mm/transparent_hugepage/enabled), in which +# case this config has no effect. On systems in which it is set to "always", +# redis will attempt to disable it specifically for the redis process in order +# to avoid latency problems specifically with fork(2) and CoW. +# If for some reason you prefer to keep it enabled, you can set this config to +# "no" and the kernel global to "always". + +disable-thp yes + ############################## APPEND ONLY MODE ############################### # By default Redis asynchronously dumps the dataset on disk. This mode is |