Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set Jemalloc --disable-cache-oblivious to reduce memory overhead
Apparently for large size classes Jemalloc allocate some extra memory in order to be CPU cache friendly, but the cost on memory usage is high (can be up to 25% overhead for allocations of 16kb). see jemalloc/jemalloc#1098 (comment) p.s. from redis's perspective that looks like external fragmentation, (i.e. allocated bytes will be low, and active pages bytes will be large) which can cause active-defrag to eat CPU cycles in vain.
- Loading branch information