[SR-Users] Huge TLS performance regression migrating from 3.3.7 to 4.2.6

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 3 10:50:14 CET 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151103/f02f912c/attachment.html>


More information about the sr-users mailing list