[zeromq-dev] Memory management

Steven McCoy steven.mccoy at miru.hk
Fri May 15 10:16:57 CEST 2009


2009/5/15 Martin Sustrik <sustrik at fastmq.com>

> Ok, I see. However, if tx/rx are stored in a single preallocated chunk of
> memory, it ceases to be a problem as all the memory allocation is done in
> advance, no?
>
>
Each page still has to be accessed at least once, but that can be done with
the initial allocation.  It could also be pinned with mlock() but that seems
a little overkill.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090515/31431130/attachment.htm>


More information about the zeromq-dev mailing list