[SR-Users] what exactly is "shmeme:fragments" ?

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 13 10:42:57 CEST 2012


Hello,


On 7/12/12 10:48 AM, Uri Shacked wrote:
> Hi,
> can someone please explain a little about the "shmem" params that i 
> see when doing "kamctl fifo get_statistics shmeme:"
cannot remember all by hart at this moment, but you get there the value 
of shared memory, how much is effectively used (data stored in memory), 
how much is actually (real) used due to overhead of memory chunks (each 
chunk has some extra fields, e.g., linking to next chunk, etc.) and the 
number of fragments (how many structures are stored in shared memory, 
e.g., if you do $shv(x) = "abc"; then "abc" will be stored in a memory 
chunk, creating one fragment for it and the second will be with the 
remaining free space).

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw




More information about the sr-users mailing list