> But then again, I work in a severely memory constrained environment Then likely you're dealing with a single-threaded application where dlmalloc will work just fine. No multi-threaded contention for…
My use of jemalloc in multithreaded servers shows the opposite to be true. Memory use is a little higher than the single mutex dlmalloc, but you'd expect this with a modern high performance thread aware malloc…
> One major limitation of malloc (and even the best implementations like jemalloc and dlmalloc) is that they try to use a single allocator for each data structure. This is a mistake: A huge performance gain can be had…
> But then again, I work in a severely memory constrained environment Then likely you're dealing with a single-threaded application where dlmalloc will work just fine. No multi-threaded contention for…
My use of jemalloc in multithreaded servers shows the opposite to be true. Memory use is a little higher than the single mutex dlmalloc, but you'd expect this with a modern high performance thread aware malloc…
> One major limitation of malloc (and even the best implementations like jemalloc and dlmalloc) is that they try to use a single allocator for each data structure. This is a mistake: A huge performance gain can be had…