active memory defragmentation

This commit is contained in:
oranagra
2016-12-30 03:37:52 +02:00
committed by antirez
parent b4f3c5a499
commit 67def2611f
13 changed files with 755 additions and 8 deletions

View File

@ -1228,3 +1228,23 @@ aof-rewrite-incremental-fsync yes
#
# lfu-log-factor 10
# lfu-decay-time 1
########################### ACTIVE DEFRAGMENTATION #######################
# enabled active defragmentation
# activedefrag yes
# minimum amount of fragmentation waste to start active defrag
# active-defrag-ignore-bytes 100mb
# minimum percentage of fragmentation to start active defrag
# active-defrag-threshold-lower 10
# maximum percentage of fragmentation at which we use maximum effort
# active-defrag-threshold-upper 100
# minimal effort for defrag in CPU percentage
# active-defrag-cycle-min 25
# maximal effort for defrag in CPU percentage
# active-defrag-cycle-max 75