Welcome! Log In Create A New Profile

Advanced

ngx_slab_alloc memory size calculation

All files from this thread

File Name File Size   Posted by Date  
smime.p7s 3.8 KB open | download dobe 05/12/2010 Read message
May 12, 2010 08:56AM
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



_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Attachments:
open | download - smime.p7s (3.8 KB)
Subject Author Posted

ngx_slab_alloc memory size calculation Attachments

dobe May 12, 2010 08:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 130
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready