<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Daniel,<br>
    <br>
    Thanks for the new pointers, we will try it !<br>
    <br>
    For the record, we are now able to obtain an almost identical
    behavior ( still a loss of around 3% left ) by tuning:<br>
    - tls parameters.<br>
    - tcp parameters.<br>
    - optimizations of the config file in many ways.<br>
    <br>
    Those optimisations/tuning were not necessary on 3.3, but it is with
    4.2+.<br>
    <br>
    Anyway, we are now satisfied with the performance, but any small new
    gain is always good to get :)<br>
    <br>
    Best,<br>
    <br>
    Tristan.<br>
    <br>
    <div class="moz-cite-prefix">On 11/03/2015 01:50 AM,
      Daniel-Constantin Mierla wrote:<br>
    </div>
    <blockquote cite="mid:56388356.5080508@gmail.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      Hello,<br>
      <br>
      <div class="moz-cite-prefix">On 21/10/15 00:37, Tristan Mahé
        wrote:<br>
      </div>
      <blockquote cite="mid:5626C225.4060206@b-and-c.net" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        Hi Daniel,<br>
        <br>
        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").<br>
      </blockquote>
      looking more at it, some few hints.<br>
      <br>
      Because the tls does quite a lot of memory operations inside the
      ssl library, try with mem_join=0.<br>
      <br>
      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.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://asipto.com/kat">http://asipto.com/kat</a></pre>
    </blockquote>
    <br>
  </body>
</html>