Redis身份验证内存使用情况

时间:2018-12-10 16:30:04

标签: authentication memory redis

在Redis上启用密码身份验证时,在Redis测试中我发现'used_memory_rss_human'的额外400MiB内存大小。

这是我关闭密码认证前后的redis-cli'info memory'命令结果,

任何人都知道这是预期的还是意外的?关于什么是确切的“ used_memory_rss”以及Redis如何计算400Mib的任何解释?

谢谢, 培东

============================在关闭密码验证之前===============

内存

used_memory:8533117760 used_memory_human:7.95G used_memory_rss:9197273088 used_memory_rss_human:8.57G used_memory_peak:8847161832 used_memory_peak_human:8.24G used_memory_peak_perc:96.45% used_memory_overhead:348789144 used_memory_startup:1458832 used_memory_dataset:8184328616 used_memory_dataset_perc:95.93% total_system_memory:135084605440 total_system_memory_human:125.81G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:小说 mem_fragmentation_ratio:1.08 mem_allocator:jemalloc-4.0.3 active_defrag_running:0 lazyfree_pending_objects:0 =============================关闭密码验证后==============

内存

used_memory:8535654496 used_memory_human:7.95G used_memory_rss:8767234048 used_memory_rss_human:8.17G used_memory_peak:8546810984 used_memory_peak_human:7.96G used_memory_peak_perc:99.87% used_memory_overhead:348628960 used_memory_startup:1458720 used_memory_dataset:8187025536 used_memory_dataset_perc:95.93% total_system_memory:135084605440 total_system_memory_human:125.81G used_memory_lua:37888 used_memory_lua_human:37.00K maxmemory:0 maxmemory_human:0B maxmemory_policy:小说 mem_fragmentation_ratio:1.03 mem_allocator:jemalloc-4.0.3 active_defrag_running:0 lazyfree_pending_objects:0

0 个答案:

没有答案