mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
peak fragmentation ratio removed as it is a confusing field for users and trivial to compute at hand now that there is peak memory information in INFO output
This commit is contained in:
parent
b93fdb7bbb
commit
7e79dd3f4c
@ -1317,7 +1317,6 @@ sds genRedisInfoString(char *section) {
|
|||||||
"used_memory_peak:%zu\r\n"
|
"used_memory_peak:%zu\r\n"
|
||||||
"used_memory_peak_human:%s\r\n"
|
"used_memory_peak_human:%s\r\n"
|
||||||
"mem_fragmentation_ratio:%.2f\r\n"
|
"mem_fragmentation_ratio:%.2f\r\n"
|
||||||
"peak_mem_fragmentation_ratio:%.2f\r\n"
|
|
||||||
"use_tcmalloc:%d\r\n",
|
"use_tcmalloc:%d\r\n",
|
||||||
zmalloc_used_memory(),
|
zmalloc_used_memory(),
|
||||||
hmem,
|
hmem,
|
||||||
@ -1325,7 +1324,6 @@ sds genRedisInfoString(char *section) {
|
|||||||
server.stat_peak_memory,
|
server.stat_peak_memory,
|
||||||
peak_hmem,
|
peak_hmem,
|
||||||
zmalloc_get_fragmentation_ratio(),
|
zmalloc_get_fragmentation_ratio(),
|
||||||
(float)zmalloc_get_rss()/server.stat_peak_memory,
|
|
||||||
#ifdef USE_TCMALLOC
|
#ifdef USE_TCMALLOC
|
||||||
1
|
1
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user