<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Your network may be rated for 1 gbps,
      but that may assume packets at or near the MTU size, and that MTU
      used in the rating might be around 9000 bytes.  RTP packets are
      typically around 200 or less bytes each, sent every ptime (default
      is 20ms).  You may saturate your network infrastructure long
      before you saturate your FreeSWITCH.<br>
      <br>
      -Yossi<br>
      <br>
      <br>
      On 10/22/2013 05:01 AM, Grant Bagdasarian wrote:<br>
    </div>
    <blockquote
cite="mid:FB7D97A214987F458242ACBDF87614073B1C8B8C1F@clubvirtual40.ClubMessage.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.yiv6659450688msonormal, li.yiv6659450688msonormal, div.yiv6659450688msonormal
        {mso-style-name:yiv6659450688msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.yiv6659450688msochpdefault, li.yiv6659450688msochpdefault, div.yiv6659450688msochpdefault
        {mso-style-name:yiv6659450688msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.yiv6659450688msohyperlink
        {mso-style-name:yiv6659450688msohyperlink;}
span.yiv6659450688msohyperlinkfollowed
        {mso-style-name:yiv6659450688msohyperlinkfollowed;}
span.yiv6659450688emailstyle17
        {mso-style-name:yiv6659450688emailstyle17;}
p.yiv6659450688msonormal1, li.yiv6659450688msonormal1, div.yiv6659450688msonormal1
        {mso-style-name:yiv6659450688msonormal1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.yiv6659450688msohyperlink1
        {mso-style-name:yiv6659450688msohyperlink1;
        color:blue;
        text-decoration:underline;}
span.yiv6659450688msohyperlinkfollowed1
        {mso-style-name:yiv6659450688msohyperlinkfollowed1;
        color:purple;
        text-decoration:underline;}
span.yiv6659450688emailstyle171
        {mso-style-name:yiv6659450688emailstyle171;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
p.yiv6659450688msochpdefault1, li.yiv6659450688msochpdefault1, div.yiv6659450688msochpdefault1
        {mso-style-name:yiv6659450688msochpdefault1;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle27
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The
            network shouldn’t be an issue, since we have at least 1Gbps
            lines. The tests stay within the network.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
            forgot to mention the calls are being distributed across two
            machines by a Kamailio instance.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">So
            for a total of 800 concurrent calls generated by Sipp, each
            machine has 400 active calls.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">CPU
            load reaches about 70% per machine.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">At
            this point both FS machines are virtualized, since the
            performance gain wasn’t that much compared to physical. <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The
            VM host shows it is using ~3/4 of its CPU resources.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Htop
            shows that the normal priority threads(green) and the kernel
            threads(red) are about the same length. <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Also,
            FS is running on Ubuntu Server 12.04 x64.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
                <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
                [<a class="moz-txt-link-freetext" href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On
                  Behalf Of </b>Stanislav Sinyagin<br>
                <b>Sent:</b> Tuesday, October 22, 2013 11:11 AM<br>
                <b>To:</b> FreeSWITCH Users Help<br>
                <b>Subject:</b> Re: [Freeswitch-users] Audio quality
                issues<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal"
            style="margin-bottom:12.0pt;background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">800
              calls at 64kbps is 51Mbps. <br>
              Could there be a network issue, like a 100Mbps line
              between the endpoints?<br>
              <br>
              How heavy is your CPU load?  "htop" command would be
              helpful in this.<br>
              <br>
              <o:p></o:p></span></p>
          <div>
            <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
          </div>
          <div>
            <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
          </div>
          <div>
            <div>
              <div>
                <div class="MsoNormal"
                  style="text-align:center;background:white"
                  align="center"><span
style="font-family:"Helvetica","sans-serif";color:black">
                    <hr size="1" width="100%" align="center"></span></div>
                <p class="MsoNormal" style="background:white"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">From:</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">
                    Grant Bagdasarian <<a moz-do-not-send="true"
                      href="mailto:GB@cm.nl">GB@cm.nl</a>><br>
                    <b>To:</b> "FreeSWITCH Users Help (<a
                      moz-do-not-send="true"
                      href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>)"
                    <<a moz-do-not-send="true"
                      href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>
                    <br>
                    <b>Sent:</b> Tuesday, October 22, 2013 10:14 AM<br>
                    <b>Subject:</b> [Freeswitch-users] Audio quality
                    issues</span><span
style="font-family:"Helvetica","sans-serif";color:black"><o:p></o:p></span></p>
              </div>
              <div>
                <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"><o:p> </o:p></span></p>
                <div id="yiv6659450688">
                  <div>
                    <div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">Hello,<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">I
                            was wondering what the maximum concurrent
                            calls for FS before audio quality becomes an
                            issue? I assume the specs of the machine
                            would also affect this.<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">We
                            are currently running FS on a Six Core (12
                            Threads) Intel E5-2430 CPU and get about 800
                            concurrent calls at 10-20 CPS. The audio
                            quality at these rates is still fair, but we
                            do notice some quality issue’s. <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">Going
                            above these numbers screws up the audio
                            quality: choppy sound, audio drops etc. We
                            aren’t doing any heavy media processing,
                            just simply playing a file (G711-Alaw) which
                            lasts about 2 minutes during the load test.<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">These
                            numbers are for one way audio, where Sipp
                            doesn’t echo the RTP back. These numbers get
                            lower once Sipp echo’s the RTP.<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">I’ve
                            tried FS on a physical box and also on a
                            virtual box (ESXi 5.1), but the performance
                            gain on physical vs virtual isn’t that much.
                            <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">I
                            disabled all the modules we don’t need, like
                            CDR’s, conferencing, etc.<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">Are
                            there any parameters(config files)/modules
                            that can affect the quality of the audio
                            stream?<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">Regards,<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black">Grant<o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                      <div>
                        <p class="MsoNormal" style="background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"> <o:p></o:p></span></p>
                      </div>
                    </div>
                  </div>
                </div>
                <p class="MsoNormal"
                  style="margin-bottom:12.0pt;background:white"><span
style="font-family:"Helvetica","sans-serif";color:black"><br>
_________________________________________________________________________<br>
                    Professional FreeSWITCH Consulting Services:<br>
                    <a moz-do-not-send="true"
                      href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://www.freeswitchsolutions.com/"
                      target="_blank">http://www.freeswitchsolutions.com</a><br>
                    <br>
                    FreeSWITCH-powered IP PBX: The CudaTel Communication
                    Server<br>
                    <a moz-do-not-send="true"
                      href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
                    <br>
                    Official FreeSWITCH Sites<br>
                    <a moz-do-not-send="true"
                      href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
                    <br>
                    FreeSWITCH-users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                    UNSUBSCRIBE:<a moz-do-not-send="true"
                      href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                      target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                    <a moz-do-not-send="true"
                      href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
                    <br>
                    <o:p></o:p></span></p>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>