Comments (5)
comparing new version of mimalloc 2.1.4 to 2.0.9 shows degradation in unaccounted memory
with 2.0.9
127.0.0.1:6379> DEBUG POPULATE 300000 JSON 100 RAND TYPE JSON ELEMENTS 100
OK
(2.28s)
127.0.0.1:6379> info memory
Memory
used_memory:6679902592
used_memory_human:6.22GiB
used_memory_peak:6679902592
used_memory_peak_human:6.22GiB
fibers_stack_vms:1637600
fibers_count:50
used_memory_rss:6743437312
used_memory_rss_human:6.28GiB
used_memory_peak_rss:6743437312
maxmemory:18635944755
maxmemory_human:17.36GiB
object_used_memory:4800000
type_used_memory_JSON:4800000
table_used_memory:16912128
num_buckets:30720
num_entries:300000
inline_keys:300000
listpack_blobs:0
listpack_bytes:0
small_string_bytes:0
pipeline_cache_bytes:0
dispatch_queue_bytes:0
dispatch_queue_subscriber_bytes:0
dispatch_queue_peak_bytes:0
client_read_buffer_peak_bytes:256
tls_bytes:0
cache_mode:store
maxmemory_policy:noeviction
with 2.1.4
127.0.0.1:6379> DEBUG POPULATE 300000 JSON 100 RAND TYPE JSON ELEMENTS 100
OK
(2.29s)
127.0.0.1:6379> info memory
Memory
used_memory:6366138816
used_memory_human:5.93GiB
used_memory_peak:6366138816
used_memory_peak_human:5.93GiB
fibers_stack_vms:1637600
fibers_count:50
used_memory_rss:7705546752
used_memory_rss_human:7.18GiB
used_memory_peak_rss:7705546752
maxmemory:17508161945
maxmemory_human:16.31GiB
object_used_memory:4800000
type_used_memory_JSON:4800000
table_used_memory:16912128
num_buckets:30720
num_entries:300000
inline_keys:300000
listpack_blobs:0
listpack_bytes:0
small_string_bytes:0
pipeline_cache_bytes:0
dispatch_queue_bytes:0
dispatch_queue_subscriber_bytes:0
dispatch_queue_peak_bytes:0
client_read_buffer_peak_bytes:256
tls_bytes:0
cache_mode:store
maxmemory_policy:noeviction
from dragonfly.
i suggest checking memory malloc-stats
as well
from dragonfly.
from dragonfly.
the issue with bigger block allocation, 18488 160 65120 65120 65120
- old vs
22132 184 65280 65280 62560
- new
from dragonfly.
One issue I found we have problems with mi_heap_malloc_aligned
.
- 8 byte alignment should be a noop but in practice it can increase the effective size.
- with
(size % alignment) == 0
we may also have the unjustifiable overhead.
This is not related to theversion update, but was discovered when checking for differences in used memory
from dragonfly.
Related Issues (20)
- stable sync replication dcheck fails over long latency connections
- random crash on mimalloc when df was shut down via signal (ctrl+c) HOT 1
- Horizontal Scaling HOT 1
- fix mimalloc with 32MiB segments
- Running DragonFly on Mac M1 - getting error HOT 7
- cluster_fuzzymigration test failure
- FLUSHALL during slot migration causes assert failure HOT 1
- Memcached flags loses during load from snapshot
- implement CLIENT SETINFO
- Dragonfly (rarely) crashes on connection termination during migration HOT 1
- Search: Custom delimiter for tags HOT 2
- Search: FT.ALTER HOT 1
- Search: Escape sequences
- Keyspace notifications HOT 1
- acl smal compatibility changes
- Dragonfly sometimes fails with OOM even when `--cache_mode=true`
- Implement OPTOUT and NOLOOP for CLIENT TRACKING
- When build the dockerfile from tools/package i am not able to build it successfully HOT 7
- GEOSEARCH still "PARTIALLY SUPPORTED" HOT 1
- segment_allocator.cc:24] address_table_ map is growing too large: 4129 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dragonfly.