<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><base href="x-msg://55704/"><!--[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";}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {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]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>We&#8217;re using VMWare ESXi 5.1 (Free Version).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>NIC version: Intel I350 Gigabit 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>&nbsp;</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"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Michael Jerris<br><b>Sent:</b> Tuesday, October 22, 2013 3:28 PM<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>&nbsp;</o:p></p><p class=MsoNormal>I wouldn't be shocked if the virtual nic's are bottlenecking on pps. &nbsp;I've seen this before. &nbsp;Also possible you have a crap physical nic. &nbsp;What kind of nic is it and what virtualization technology?<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal>On Oct 22, 2013, at 6:01 AM, Grant Bagdasarian &lt;<a href="mailto:GB@cm.nl">GB@cm.nl</a>&gt; wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The network shouldn&#8217;t be an issue, since we have at least 1Gbps lines. The tests stay within the network.</span><o:p></o:p></p></div></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><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.</span><o:p></o:p></p></div><div><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.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPU load reaches about 70% per machine.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><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&#8217;t that much compared to physical.</span><o:p></o:p></p></div><div><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.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><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.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><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.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:freeswitch-<a href="mailto:users-bounces@lists.freeswitch.org">users-bounces@lists.freeswitch.org</a>]<span class=apple-converted-space>&nbsp;</span><b>On Behalf Of<span class=apple-converted-space>&nbsp;</span></b>Stanislav Sinyagin<br><b>Sent:</b><span class=apple-converted-space>&nbsp;</span>Tuesday, October 22, 2013 11:11 AM<br><b>To:</b><span class=apple-converted-space>&nbsp;</span>FreeSWITCH Users Help<br><b>Subject:</b><span class=apple-converted-space>&nbsp;</span>Re: [Freeswitch-users] Audio quality issues</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt;background:white;background-position:initial initial;background-repeat:initial initial'><span style='font-family:"Helvetica","sans-serif"'>800 calls at 64kbps is 51Mbps.<span class=apple-converted-space>&nbsp;</span><br>Could there be a network issue, like a 100Mbps line between the endpoints?<br><br>How heavy is your CPU load?&nbsp; &quot;htop&quot; command would be helpful in this.<br><br><br></span><o:p></o:p></p><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><div class=MsoNormal align=center style='text-align:center;background:white'><span style='font-family:"Helvetica","sans-serif"'><hr size=1 width="100%" align=center></span></div><div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span></span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Grant Bagdasarian &lt;<a href="mailto:GB@cm.nl"><span style='color:purple'>GB@cm.nl</span></a>&gt;<br><b>To:</b><span class=apple-converted-space>&nbsp;</span>&quot;FreeSWITCH Users Help (<a href="mailto:freeswitch-users@lists.freeswitch.org"><span style='color:purple'>freeswitch-users@lists.freeswitch.org</span></a>)&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org"><span style='color:purple'>freeswitch-users@lists.freeswitch.org</span></a>&gt;<span class=apple-converted-space>&nbsp;</span><br><b>Sent:</b><span class=apple-converted-space>&nbsp;</span>Tuesday, October 22, 2013 10:14 AM<br><b>Subject:</b><span class=apple-converted-space>&nbsp;</span>[Freeswitch-users] Audio quality issues</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div><div id=yiv6659450688><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>Hello,</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>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.</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>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&#8217;s.</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>Going above these numbers screws up the audio quality: choppy sound, audio drops etc. We aren&#8217;t doing any heavy media processing, just simply playing a file (G711-Alaw) which lasts about 2 minutes during the load test.</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>These numbers are for one way audio, where Sipp doesn&#8217;t echo the RTP back. These numbers get lower once Sipp echo&#8217;s the RTP.</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>I&#8217;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&#8217;t that much.</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>I disabled all the modules we don&#8217;t need, like CDR&#8217;s, conferencing, etc.</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>Are there any parameters(config files)/modules that can affect the quality of the audio stream?</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>Regards,</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>&nbsp;</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='background:white'><span style='font-family:"Helvetica","sans-serif"'>Grant</span><o:p></o:p></p></div></div></div></div></div></div></div></blockquote></div></div></div></body></html>