Hello,

On 21/10/15 00:37, Tristan Mahé wrote:
Hi Daniel,

Same config, same server, only kamailio version is different, starting the timer in the beginning of the config, and ending it just after the save("location").
looking more at it, some few hints.

Because the tls does quite a lot of memory operations inside the ssl library, try with mem_join=0.

Also, based on the work done by Camille Oudot, you can try with tlsf memory manager, which ensures predictability of duration for memory operations in all cases. f malloc can be faster for common case, but in some corner cases (e.g., lots of tls connections dropped at the same time) can be slower than tlsf.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat