ngx_slab_alloc memory size calculation
Bernd Dorn
bernddorn at gmail.com
Wed May 12 16:51:37 MSD 2010
hi all
i am currently implementing a queue in shared memory for a module, now i want to calculate how much memory/pages an allocation via ngx_slab_alloc ocopies in order to approximate the number of items i can put into the queue.
the memory per item differs, because they contain strings
does anybody know how to do this?
thanks in advance, bernd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100512/518469d9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3913 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20100512/518469d9/attachment-0001.bin>
More information about the nginx
mailing list