From 7e79dd3f4cf7a4236319f9ee1a408155eda4b881 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 21 Apr 2011 16:56:31 +0200 Subject: [PATCH] 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 --- src/redis.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/redis.c b/src/redis.c index b164fdd1..96786df9 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1317,7 +1317,6 @@ sds genRedisInfoString(char *section) { "used_memory_peak:%zu\r\n" "used_memory_peak_human:%s\r\n" "mem_fragmentation_ratio:%.2f\r\n" - "peak_mem_fragmentation_ratio:%.2f\r\n" "use_tcmalloc:%d\r\n", zmalloc_used_memory(), hmem, @@ -1325,7 +1324,6 @@ sds genRedisInfoString(char *section) { server.stat_peak_memory, peak_hmem, zmalloc_get_fragmentation_ratio(), - (float)zmalloc_get_rss()/server.stat_peak_memory, #ifdef USE_TCMALLOC 1 #else -- GitLab