redict/src
Oran Agra 0bc3dab095 Adjustments for active defrag defaults and tuning
Reduce default minimum effort, so that when fragmentation is just detected,
the impact on the latency will be minor.

Reduce the default maximum effort, mainly to prevent a case were a sudden
massive deletions, won't trigger an aggressive defrag that will cause latency.

When activedefrag is disabled mid-run, reset the 'running' info field, and
clear the scan cursor, so that when it'll be re-enabled, a new fresh scan will
start.

Clearing the 'running' variable is important since lowering the defragger
tunables mid-scan won't help, the defragger only considers new threshold when
a new scan starts, and during a scan it can only become more aggressive,
(when more severe fragmentation is detected), it'll never go less aggressive.
So by temporarily disabling activedefrag, one can lower th the tunables.

Removing the experimantal warning.
2019-11-12 15:05:29 +02:00
..
modules Modules: block ok keys: improve example. 2019-10-31 12:31:22 +01:00
.gitignore
acl.c ACLs: change hashed passwords opcode to also remove them. 2019-09-30 18:28:45 +02:00
adlist.c adlist: fix listJoin() in the case the second list is empty. 2017-11-28 18:25:14 +01:00
adlist.h Modules TSC: Handling of RM_Reply* functions. 2017-05-02 15:05:39 +02:00
ae_epoll.c diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
ae_evport.c ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
ae_kqueue.c No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
ae_select.c Include 'fd_set' type name 2016-06-07 16:46:00 -04:00
ae.c Code review minor changes (names, comments). 2019-10-15 17:21:51 +03:00
ae.h Code review minor changes (names, comments). 2019-10-15 17:21:51 +03:00
anet.c TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
anet.h TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
aof.c Modules hooks: complete missing hooks for the initial set of hooks 2019-10-29 17:59:09 +02:00
asciilogo.h
atomicvar.h several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
bio.c Fix typo in design comment of bio.c. 2018-10-05 18:29:23 +02:00
bio.h Threaded lazyfree WIP #1. 2015-10-01 13:02:25 +02:00
bitops.c Fix memleak in bitfieldCommand 2019-04-09 09:24:22 +08:00
blocked.c Modules: block on keys: fix stale comment. 2019-10-31 17:45:07 +01:00
childinfo.c Module API for Forking 2019-07-17 16:40:24 +03:00
cluster.c Merge remote-tracking branch 'upstream/unstable' into tls 2019-10-16 17:08:07 +03:00
cluster.h TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
config.c Merge remote-tracking branch 'upstream/unstable' into tls 2019-10-16 17:08:07 +03:00
config.h OpenBSD support. 2018-11-25 08:10:26 +00:00
connection.c Code review minor changes (names, comments). 2019-10-15 17:21:51 +03:00
connection.h TLS: Implement support for write barrier. 2019-10-07 21:06:30 +03:00
connhelpers.h Code review minor changes (names, comments). 2019-10-15 17:21:51 +03:00
crc16_slottable.h Added basic support for clusters to redis-benchmark. 2019-03-01 17:53:14 +01:00
crc16.c RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. 2015-07-26 15:17:18 +02:00
crc64.c Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
crc64.h Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
db.c Merge branch 'unstable' of github.com:/antirez/redis into unstable 2019-11-06 17:44:42 +01:00
debug.c Modules hooks: complete missing hooks for the initial set of hooks 2019-10-29 17:59:09 +02:00
debugmacro.h Use the standard predefined identifier __func__ (since C99) 2016-08-04 15:12:12 +08:00
defrag.c Adjustments for active defrag defaults and tuning 2019-11-12 15:05:29 +02:00
dict.c Set dictGetFairRandomKey() samples to 20 for final version. 2019-02-19 17:27:42 +01:00
dict.h Better distribution for set get-random-element operations. 2019-02-18 18:27:18 +01:00
endianconv.c Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
endianconv.h Fix typo 2018-07-03 18:19:46 +02:00
evict.c fix issues found by a static analyzer 2019-10-07 09:09:32 +03:00
expire.c Client side caching: call the invalidation functions always. 2019-07-22 12:29:54 +02:00
fmacros.h Silence _BSD_SOURCE warnings in glibc 2.20 and forward 2014-12-05 12:41:59 +11:00
geo.c Geo: output 10 chars of geohash, not 11. 2019-10-08 17:09:37 +02:00
geo.h RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. 2015-07-26 15:17:18 +02:00
geohash_helper.c Fix GEORADIUS edge case with huge radius. 2017-07-03 19:38:31 +02:00
geohash_helper.h Fix definition of M_PI in geohash_helper.c. 2016-07-06 16:31:11 +02:00
geohash.c Use geohash limit defines in constraint check 2018-09-02 00:06:20 -07:00
geohash.h Multiple GEORADIUS bugs fixed. 2016-07-27 11:34:25 +02:00
gopher.c Gopher: don't add the Lastline. 2019-02-24 21:38:15 +01:00
help.h Update help.h for redis-cli. 2018-10-17 12:57:21 +02:00
hyperloglog.c Fix typo 2019-09-17 06:18:01 +09:00
intset.c several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
intset.h Use const in Redis Module API where possible. 2016-06-20 23:08:06 +03:00
latency.c Module API for LatencyAddSample 2019-10-24 14:24:55 +03:00
latency.h Module API for LatencyAddSample 2019-10-24 14:24:55 +03:00
lazyfree.c refactor dbOverwrite to make lazyfree work 2018-07-31 12:07:57 +08:00
listpack_malloc.h Streams: change listpack allocator to zmalloc. 2017-12-01 10:24:24 +01:00
listpack.c Listpack: optionally force reallocation on inserts. 2018-10-02 19:37:36 +02:00
listpack.h Streams: 12 commits squashed into the initial Streams implementation. 2017-12-01 10:24:24 +01:00
localtime.c update leap year comment 2018-07-13 09:46:30 -06:00
lolwut5.c LOLWUT: version 6 initial output. May change a bit. 2019-10-07 18:24:34 +02:00
lolwut6.c LOLWUT 6: always pick a default color sequence. 2019-10-28 11:10:58 +01:00
lolwut.c LOLWUT: version 6 initial output. May change a bit. 2019-10-07 18:24:34 +02:00
lolwut.h LOLWUT: version 6 initial output. May change a bit. 2019-10-07 18:24:34 +02:00
lzf_c.c Upgrade LZF to 3.6 (2011) from 3.5 (2009) 2015-01-02 11:16:10 -05:00
lzf_d.c Try to avoid issues with GCC pragmas and older compilers. 2018-09-28 13:00:44 +02:00
lzf.h No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
lzfP.h Fix undefined behavior constant defined. 2017-11-19 16:23:42 +00:00
Makefile Fix Makefile merge issue. 2019-10-16 17:31:02 +03:00
memtest.c Hopefully better memory test on crash. 2015-12-16 17:41:22 +01:00
mkreleasehdr.sh Use SOURCE_DATE_EPOCH over unreproducible uname + date calls. 2016-04-29 16:45:53 +01:00
module.c Merge pull request #6531 from oranagra/rm_save_long_double 2019-11-04 17:33:35 +01:00
multi.c ACL: protect MULTI/EXEC transactions after rules change. 2019-09-11 19:42:10 +02:00
networking.c Merge pull request #6531 from oranagra/rm_save_long_double 2019-11-04 17:33:35 +01:00
notify.c added special flag for keyspace miss notifications 2019-03-21 11:47:14 +02:00
object.c Merge pull request #6531 from oranagra/rm_save_long_double 2019-11-04 17:33:35 +01:00
pqsort.c No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
pqsort.h
pubsub.c RESP3: Pubsub messages in new push format if client is in RESP3 mode. 2019-01-09 17:00:30 +01:00
quicklist.c Fix typo 2018-07-03 18:19:46 +02:00
quicklist.h several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
rand.c Use 'void' for zero-argument functions 2014-08-08 10:05:32 +02:00
rand.h
rax_malloc.h Cluster: hash slots tracking using a radix tree. 2017-03-27 16:37:22 +02:00
rax.c fix issues found by a static analyzer 2019-10-07 09:09:32 +03:00
rax.h Rax: radix tree updated to latest version from antirez/rax. 2018-10-13 14:17:38 +02:00
rdb.c Merge branch 'unstable' of github.com:/antirez/redis into unstable 2019-11-06 17:44:42 +01:00
rdb.h Modules hooks: complete missing hooks for the initial set of hooks 2019-10-29 17:59:09 +02:00
redis-benchmark.c Client side caching: redis-cli ability to enable tracking. 2019-07-22 18:45:47 +02:00
redis-check-aof.c Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string 2019-05-08 12:13:45 +01:00
redis-check-rdb.c Modules hooks: complete missing hooks for the initial set of hooks 2019-10-29 17:59:09 +02:00
redis-cli.c fix comment typo in redis-cli.c 2019-10-25 22:31:55 +09:00
redis-trib.rb Redis-trib deprecated: it no longer works and it 2018-07-13 10:51:58 +02:00
redisassert.h Fix typo 2018-07-03 18:19:46 +02:00
redismodule.h Merge pull request #6531 from oranagra/rm_save_long_double 2019-11-04 17:33:35 +01:00
release.c Speedup INFO server section. 2019-10-02 11:30:20 +02:00
replication.c Modules hooks: complete missing hooks for the initial set of hooks 2019-10-29 17:59:09 +02:00
rio.c diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
rio.h diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
scripting.c Merge remote-tracking branch 'upstream/unstable' into tls 2019-10-16 17:08:07 +03:00
sds.c SDS: make sdscatfmt() faster by pre-allocating a bit. 2019-10-02 11:30:20 +02:00
sds.h Merge pull request #3828 from oranagra/sdsnewlen_pr 2018-02-27 04:04:32 -08:00
sdsalloc.h SDS: changes to unify Redis SDS with antirez/sds repo. 2015-07-25 17:25:44 +02:00
sentinel.c Fix compile warnings when BUILD_TLS=no. 2019-10-15 15:24:32 +03:00
server.c Adjustments for active defrag defaults and tuning 2019-11-12 15:05:29 +02:00
server.h Adjustments for active defrag defaults and tuning 2019-11-12 15:05:29 +02:00
setproctitle.c DragonFlyBSD little build fix 2018-11-11 18:49:55 +00:00
sha1.c sha1.c: use standard uint32_t. 2015-04-27 12:07:49 +02:00
sha1.h sha1.c: use standard uint32_t. 2015-04-27 12:07:49 +02:00
sha256.c ACL: add slightly modified version of sha256.c for password hashing. 2019-09-12 12:21:37 +02:00
sha256.h ACL: add slightly modified version of sha256.c for password hashing. 2019-09-12 12:21:37 +02:00
siphash.c The aarch64 architecture is support normal memory unaligned accesses, 2019-09-04 12:14:25 +00:00
slowlog.c RESP3: Use new aggregate reply API in slowlog.c. 2019-01-09 17:00:29 +01:00
slowlog.h Merge pull request #4056 from season89/unstable 2017-06-20 16:55:29 +02:00
solarisfixes.h Check for __sun macro in solarisfixes.h, not in includers. 2015-01-09 11:23:22 +01:00
sort.c change SORT and SPOP to use lookupKeyWrite rather than lookupKeyRead 2019-03-20 17:06:22 +02:00
sparkline.c RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. 2015-07-26 15:17:18 +02:00
sparkline.h LATENCY GRAPH implemented. 2014-07-02 16:31:22 +02:00
stream.h stream.h: fix typo 2019-10-07 11:01:01 -07:00
syncio.c syncWithMaster(): non blocking state machine. 2015-08-06 18:12:20 +02:00
t_hash.c Module API for loading and saving long double 2019-11-03 16:42:31 +02:00
t_list.c Fix handleClientsBlockedOnKeys() names in comments. 2019-09-05 13:05:57 +02:00
t_set.c RESP3: fix cases of NULL reported instead of empty aggregate. 2019-09-02 12:50:47 +02:00
t_stream.c fix unreported overflow in autogerenared stream IDs 2019-11-04 16:36:06 +01:00
t_string.c RESP3: most null replies converted. 2019-01-09 17:00:29 +01:00
t_zset.c RESP3: fix cases of NULL reported instead of empty aggregate. 2019-09-02 12:50:47 +02:00
testhelp.h
tls.c TLS: Improve CA certifiate configuration options. 2019-10-08 17:58:50 +03:00
tracking.c Client side caching: show tracking slots usage in INFO. 2019-07-23 11:02:14 +02:00
util.c Module API for loading and saving long double 2019-11-03 16:42:31 +02:00
util.h Module API for loading and saving long double 2019-11-03 16:42:31 +02:00
valgrind.sup
version.h Mark version of unstable branch in an unique way. 2015-09-29 17:30:24 +02:00
ziplist.c Update ziplist.c 2019-05-08 12:53:56 +08:00
ziplist.h DEBUG: new "ziplist" subcommand added. Dumps a ziplist on stdout. 2016-12-16 09:02:50 +01:00
zipmap.c Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
zipmap.h Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
zmalloc.c Merge remote-tracking branch 'antirez/unstable' into jemalloc_purge_bg 2019-10-04 13:53:40 +03:00
zmalloc.h make redis purge jemalloc after flush, and enable background purging thread 2019-06-02 15:33:14 +03:00