atom feed1 message in ru.sysoev.nginxngx_slab_alloc memory size calculation
FromSent OnAttachments
Bernd DornMay 12, 2010 5:51 am 
Subject:ngx_slab_alloc memory size calculation
From:Bernd Dorn (bern@gmail.com)
Date:May 12, 2010 5:51:07 am
List:ru.sysoev.nginx

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