Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare to jemalloc-5.1.0, Mesh cost more memory #116

Open
segment11 opened this issue Dec 10, 2024 · 0 comments
Open

Compare to jemalloc-5.1.0, Mesh cost more memory #116

segment11 opened this issue Dec 10, 2024 · 0 comments

Comments

@segment11
Copy link

Hi,I just do a test, save 10 millions key value pairs to redis 6.2.x, value length is about 58 byte, key length is 16 byte.
info memory:

Memory

used_memory:1449434592
used_memory_human:1.35G
used_memory_rss:1481465856
used_memory_rss_human:1.38G
used_memory_peak:1449455600
used_memory_peak_human:1.35G
used_memory_peak_perc:100.00%
used_memory_overhead:535050224
used_memory_startup:811992
used_memory_dataset:914384368
used_memory_dataset_perc:63.12%
allocator_allocated:1449461048
allocator_active:1449730048
allocator_resident:1479041024
total_system_memory:67150794752
total_system_memory_human:62.54G
used_memory_lua:30720
used_memory_lua_human:30.00K
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.00
allocator_frag_bytes:269000
allocator_rss_ratio:1.02
allocator_rss_bytes:29310976
rss_overhead_ratio:1.00
rss_overhead_bytes:2424832
mem_fragmentation_ratio:1.02
mem_fragmentation_bytes:32072280
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:20504
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
lazyfreed_objects:0

Mesh:

Memory

used_memory:1554553600
used_memory_human:1.45G
used_memory_rss:1877864448
used_memory_rss_human:1.75G
used_memory_peak:1554571208
used_memory_peak_human:1.45G
used_memory_peak_perc:100.00%
used_memory_overhead:535121912
used_memory_startup:887136
used_memory_dataset:1019431688
used_memory_dataset_perc:65.61%
allocator_allocated:1554520760
allocator_active:1877833728
allocator_resident:1877833728
total_system_memory:67150794752
total_system_memory_human:62.54G
used_memory_lua:30720
used_memory_lua_human:30.00K
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.21
allocator_frag_bytes:323312968
allocator_rss_ratio:1.00
allocator_rss_bytes:0
rss_overhead_ratio:1.00
rss_overhead_bytes:30720
mem_fragmentation_ratio:1.21
mem_fragmentation_bytes:323343688
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:17048
mem_aof_buffer:0
mem_allocator:libc
active_defrag_running:0
lazyfree_pending_objects:0
lazyfreed_objects:0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant