3 ms·
>Now with active memory defragmentation things are a bit more pleasant, specifically with high delete load actually freeing up unused memory in a timely manner
by FLUX-YOU 9y ago
>Now with active memory defragmentation things are a bit more pleasant, specifically with high delete load actually freeing up unused memory in a timely manner without impacting performance too much.
Is Redis managing this itself using simple calls to Jemalloc, or is Jemalloc doing it on its own because it has better algorithms than the OS?
- ihsw2 9y agoWith regards to better algorithms than the OS -- jemalloc is not quite there yet. Here is an illuminating discussion between Redis and Jemalloc devs regarding this: https://github.com/jemalloc/jemalloc/issues/566 https://github.com/jemalloc/jemalloc/issues/566 Redis will perform its own housekeeping, hence the usage of the term 'active.' AFAIK, rather than metadata being stored for this, there is a periodic active scan and manual measurement. See more here: https://github.com/antirez/redis/pull/3720 https://github.com/antirez/redis/pull/3720