[zeromq-dev] On hooking memory allocations

Steven McCoy steven.mccoy at miru.hk
Sun Dec 4 14:32:38 CET 2016

On 2 December 2016 at 04:50, Auer, Jens <jens.auer at cgi.com> wrote:

> thanks for the suggestion. I will definitely gie it a try. I tried
> tcmalloc and jemalloc once, but the improvement was not so big. If I
> understood tcmalloc correctly they use a per-thread cache for allocations.
> I didn't think of gc.

These are redundant on FreeBSD where jemalloc is already the default
allocator and Linux where ptmalloc3 also implements a per-thread cache
(SLAB).  On Windows you can use the Concurrency CRT API for similar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20161204/2af942ee/attachment.htm>

More information about the zeromq-dev mailing list