Hi,
I recently moved from jemalloc 3.x to 4.0.4 and I noticed my 513MB allocations jumped to over 600MB allocations. Digging into the code I see huge allocations are now done using size classes (https://github.com/jemalloc/jemalloc/commit/560a4e1e01d3733c2f107cdb3cc3580f3ed84442).

This leads to huge internal fragmentation for such allocations. Did anyone consider this degradation when making the change? Is there any clean way to revert to non size classed huge allocations? What's the advantage of size classed huge allocations?

 - Yoav.


_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss

Reply via email to