开始清理
<b><font color="#c41230">active-defrag-ignore-bytes 100mb</font></b>:表示内存碎片的字节数达到 100MB 时,开始清理;
<b><font color="#c41230">active-defrag-threshold-lower 10</font></b>:表示内存碎片空间占操作系统分配给 Redis 的总空间比例达到 10% 时,开始清理。
<b><font color="#c41230">active-defrag-cycle-min 25</font></b>: 表示自动清理过程所用 CPU 时间的比例不低于 25%,保证清理能正常开展;
<b><font color="#c41230">active-defrag-cycle-max 75</font></b>:表示自动清理过程所用 CPU 时间的比例不高于 75%,一旦超过,就停止清理,从而避免在清理时,大量的内存拷贝阻塞 Redis,导致响应延迟升高。