Hello,

On 03/11/15 19:21, Tristan Mahé wrote:
Hello Daniel,

Thanks for the new pointers, we will try it !

For the record, we are now able to obtain an almost identical behavior ( still a loss of around 3% left )

Does this loss refer to performance?

by tuning:
- tls parameters.
- tcp parameters.
- optimizations of the config file in many ways.

Those optimisations/tuning were not necessary on 3.3, but it is with 4.2+.

if you want to list what you had to tune, specially the tcp/tls, then we can analyze if there were changes to those features or the impact is from somewhere else.

Cheers,
Daniel


Anyway, we are now satisfied with the performance, but any small new gain is always good to get :)

Best,

Tristan.

On 11/03/2015 01:50 AM, Daniel-Constantin Mierla wrote:
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



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
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