<p dir="ltr">Hi Bob, what kit are you using on avaya side, is this a communication manager? Also what version u using. .. r u connecting directly to CM or via session manager.</p>
<p dir="ltr">If CM, have u checked IP network region where you placed freeswitch and if direct ip to ip on inter region is disabled</p>
<p dir="ltr">Send the teunk config and I will be able to help u on communication manager or session manager side.<br>
Thanks<br>
Kaleem</p>
<div class="gmail_quote">On 7 Sep 2015 18:37,  &lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send FreeSWITCH-users mailing list submissions to<br>
        <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of FreeSWITCH-users digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Re: OneWay audio after hold-&gt;unhold (Bob Hartwig)<br>
   2. Re: FreeSwitch - Performance issues (Michael Giagnocavo)<br>
<br><br>---------- Forwarded message ----------<br>From: Bob Hartwig &lt;<a href="mailto:bobjectsfreeswitch@gmail.com">bobjectsfreeswitch@gmail.com</a>&gt;<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Cc: <br>Date: Mon, 7 Sep 2015 11:41:55 -0500<br>Subject: Re: [Freeswitch-users] OneWay audio after hold-&gt;unhold<br><div dir="ltr">Is this an Avaya AS5300 by any chance?  Those have some serious interop issues when it comes to transfers.  I had to struggle mightily to get a client&#39;s product (not Freeswitch) to interoperate with it.  I&#39;m really interested to hear if this gets resolved for Freeswitch.<div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 4, 2015 at 11:09 AM, Prashanth Devarajappa <span dir="ltr">&lt;<a href="mailto:Prashanth.Devarajappa@enghouse.com" target="_blank">Prashanth.Devarajappa@enghouse.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am connecting to Avaya switch using SIP trunk interface from FS with TLS &amp; SRTP connection. This works well for inbound and outbound calls. I have an issue with media, when I try hold -&gt; unhold operation from FS for an outbound call.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When FS tries to unhold the call by sending Re-INVITE, avaya responds with 200 OK. Then sends INVITE w/o SDP to shuffle the media(IP Shuffling, to make media flow directly b/w endpoints). FS responds with 200 OK + SDP as expected. Now avaya
 sends ACK + SDP where SDP has the updated connection info(IP and port of endpoint) where media should be sent. Along with this it also changes the crypto master key as per RFC due to change in connection info(c=).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">On seeing this ACK, FS update the connection info(which is good) and change its own crypto master key in response. however this new master key is not sent to far end, meaning FS can decode the media it receives but other end can&#39;t decode
 the media FS is sending to it resulting in one way audio.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Has anyone come across this issue ?  <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any way to trigger Re-INVITE or UPDATE from FS so other end gets new master key ?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<span><font color="#888888"><u></u><u></u></font></span></p><span><font color="#888888">
<p class="MsoNormal">Prashanth<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br><br>---------- Forwarded message ----------<br>From: Michael Giagnocavo &lt;<a href="mailto:mgg@giagnocavo.net">mgg@giagnocavo.net</a>&gt;<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Cc: <br>Date: Mon, 7 Sep 2015 17:35:49 +0000<br>Subject: Re: [Freeswitch-users] FreeSwitch - Performance issues<br>





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Email me direct (<a href="mailto:mgg@giagnocavo.net" target="_blank">mgg@giagnocavo.net</a>) next week and I’ll help out on this if you’d like.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Bote Man<br>
<b>Sent:</b> Friday, September 4, 2015 7:53 AM<br>
<b>To:</b> &#39;FreeSWITCH Users Help&#39; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Subject:</b> Re: [Freeswitch-users] FreeSwitch - Performance issues<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">This thread contains a great deal of useful intelligence that would be a shame to lose.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">There is a recent discussion of developing a proven High Availability configuration for FreeSWITCH; might there be a better way to track these findings so that
 they can be documented as part of that effort, both by the Documentation Team and by those doing the research? This is really good stuff.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">My personal time is being consumed close to 100% right now so I won’t be able to do anything with it until next week.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Thanks.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Bote<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Docs Team guy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<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:&quot;Tahoma&quot;,sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif"> Shaun Stokes<br>
<b>Sent:</b> Friday, 04 September, 2015 09:25<br>
<b>Subject:</b> Re: [Freeswitch-users] FreeSwitch - Performance issues<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Hi
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Michael,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">We’re now seeing suitable performance on Hyper-V, but as we’re processing media\RTP we will be moving to physical hardware. If we need FreeSwitch servers to process
 SIP messages only we will consider these for virtualization.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Thanks for your help,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Shaun</span><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Michael Giagnocavo<br>
<b>Sent:</b> 02 September 2015 21:19<br>
<b>To:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Subject:</b> Re: [Freeswitch-users] FreeSwitch - Performance issues<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Years back, I used to run FS *<b>on Windows</b>*, under Hyper-V (2008), on a Q6600 and had considerably higher perf numbers. Hundreds of CPS (shit traffic), with
 1000-2000 in progress channels (no media, ASR like 10% maybe). So something is certainly pathologically wrong if you’re seeing things get maxed out at the numbers you show. I didn’t do anything special, and did routing both in-process via mod_managed as well
 as xml_curl. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Do you have a reason not to put the FS core SQLite db on a tmpfs? That’s a big win. Also make sure FS’s temp dir is a tmpfs. Unless you’re persisting and using
 stuff between sessions, there’s no point in going to disk right? And your random, small, IOPS are gonna be an order of magnitude less than what you posted, at least.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">One thing to be aware of is CPU pinning and scheduling. First, on multi-socket systems, you have NUMA. This really hurts. Raw memory bandwidth takes a 40% hit.
 More importantly, you’re toasting your caches (which with tons of threads happens a lot anyways). One number I like to reference is that single ownership transfer of one cache line from socket to another takes ~300 cycles (vs ~10 cycles for L2 and ~40 cycles
 for L3). Hyper-V has an option to lock servers to a single NUMA node. Make sure this is enabled (it may cause VMs not to start if it cannot allocate all the resources requested – this is a good thing for VoIP apps). Then cap the individual VMs so they aren’t
 scheduling all over the place (34 should not need more than 1 CPU). FS spawns tons of threads and they’ll end up running on all CPUs even if they don’t need all that time, and that then screws up cache usage even more. But more importantly, it sounds like
 this is a busy server? Are you sure you’re not just way oversubscribed and the VM is losing out? Your steal% is 0 so I’m guessing HV isn’t reporting that accurately.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Only other thing that comes to mind is that Hyper-V does terrible with time, so if you’re relying on HV time service you’re gonna be skewing all over. I don’t
 think this should hurt FS directly, but you should run ntp anyways to be safe.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">If you end up needing to scale up on a single server, you’re better off running multiple FS instances, each pinned to specific cores. And you should have OpenSIPS
 or something in front to do LB (and it provides a ton of flexibility and handiness anyways). This probably only matters if you’re doing high CPS (dialer or shit traffic that mostly isn’t completing). I’m not sure what exactly you’re benching, but it sounds
 like your actual use case is different than the test, eh?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Email me directly and we can chat more about this.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">-Michael<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Shaun Stokes<br>
<b>Sent:</b> Wednesday, September 2, 2015 5:09 AM<br>
<b>To:</b> &#39;FreeSWITCH Users Help&#39; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Subject:</b> Re: [Freeswitch-users] FreeSwitch - Performance issues<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Hi Jay,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Thanks for the suggestion.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">We’re actually using PostgreSQL, the file system is a 2TB RAID5 with 10x 278GB SAS 10K RPM disks, read is 1GB/s (23,000 IOPS) write is 500MB/s (15,000
 IOPS) but we’re only using a fraction of this.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Shaun<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>jay binks<br>
<b>Sent:</b> 02 September 2015 11:37<br>
<b>To:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Subject:</b> Re: [Freeswitch-users] FreeSwitch - Performance issues<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB">I may have missed it in your previous emails, but im assuming you have the core DB on a tempfs<br>
 or somewhere other than the default location on spinning rust ?<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Jay<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB">On 2 September 2015 at 18:53, Shaun Stokes &lt;<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a>&gt; wrote:<u></u><u></u></span></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Hi Brian,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’m a huge fan of virtualization, but in our environment it simply doesn’t provide the performance we’re looking for. The tests carried out were 10 second calls
 which were routed to a Call Centre Queue with one registered SIP extension as a member.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">There was a significant improvement when we tested on an Amazon VM in comparison to Hyper-V, but we’d like a system which can handle large volumes of call traffic,
 based on our tests this will need to be physical hardware to achieve the best performance.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Further to this, we have managed to resolve our initial problem with CPU spikes on Hyper-V following these steps:<u></u><u></u></span></p>
<p><span lang="EN-GB" style="font-family:Symbol">·</span><span lang="EN-GB" style="font-size:7.0pt">        
</span><span lang="EN-GB">Disable VMQ on all physical and virtual adapters on the Hyper-V host which are linked to the FreeSwitch VM<u></u><u></u></span></p>
<p><span lang="EN-GB" style="font-family:Symbol">·</span><span lang="EN-GB" style="font-size:7.0pt">        
</span><span lang="EN-GB">Reduce the virtual cores on all VMs to at least half of the available physical cores<u></u><u></u></span></p>
<p><span lang="EN-GB" style="font-family:Symbol">·</span><span lang="EN-GB" style="font-size:7.0pt">        
</span><span lang="EN-GB">Increase the Processor Relative weight on the FreeSwitch VMs to 200 (default 100)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Shaun<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"> </span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Brian West<br>
<b>Sent:</b> 01 September 2015 21:21</span><span lang="EN-GB"><u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB"><br>
<b>To:</b> FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<b>Subject:</b> Re: [Freeswitch-users] FreeSwitch - Performance issues<u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Shaun,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB">800 concurrent with 400cps, expectations are a little out of touch with reality and your test is no where near real world.  Your call duration is ~2000ms, little
 to no time to actually do anything useful.  You&#39;re burning the bulk of your CPU time on signaling and doing no real work with the session.<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">So yes, you&#39;ll always get the best results out of bare metal, but you can also get good performance on a VM (*)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">(*) This is in no way an endorsement of running FreeSWITCH in a VM, Your mileage may vary depending on your specific application and load requirements.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Thanks,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB">On Tue, Sep 1, 2015 at 3:08 PM, Shaun Stokes &lt;<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a>&gt; wrote:<u></u><u></u></span></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-GB">Update<br>
<br>
We&#39;ve performed various tests and have come to the conclusion as advised by others, that visualization is causing bottlenecks.<br>
<br>
Using Amazon EC2 on an 8 core high performance virtual server this maxed out at around 800 concurrent sessions, 400 sessions per second.<br>
<br>
Using a Dell 1950 8 core server this was able to handle 1000 concurrent sessions, 400 sessions per second and still have plenty of resource available. Average CPU was fluctuating between 30-40% under peak load.<br>
<br>
Conclusion, if you want to run a high performance FreeSwitch server in a production you should stick with physical hardware and avoid visualization where possible.<br>
________________________________________<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">
freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] on behalf of Shaun Stokes [<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a>]<br>
Sent: 28 August 2015 15:37<br>
To: &#39;FreeSWITCH Users Help&#39;<u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Subject: Re: [Freeswitch-users] FreeSwitch - Performance issues<br>
<br>
Hi Nathan,<br>
<br>
Thanks for the suggestion, we still see the CPU spikes when is under load after reducing to 8 cores but I think there may actually be an improvement in the audio quality.<br>
<br>
It&#39;s still not what we&#39;re expecting, so we will have to test our build on physical hardware too.<br>
<br>
Thanks,<br>
Shaun<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">
freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Nathan Neulinger<br>
Sent: 28 August 2015 15:04<br>
To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Subject: Re: [Freeswitch-users] FreeSwitch - Performance issues<br>
<br>
Yes, I know you said Hyper-V, I don&#39;t know if it has the same sort of scheduler behavior or not, just mentioned the vmware for context.<br>
<br>
On 08/28/2015 08:46 AM, Nathan Neulinger wrote:<br>
&gt; One thing that I see jump out - you&#39;ve probably got too many virtual<br>
&gt; cores defined on that VM, particularly since you&#39;ve assigned # vcpu the same as the number of real cores on the host system.<br>
&gt;<br>
&gt; Try your test again dropping that to 8 virtual CPUs and I think you<br>
&gt; might see better results. (Or at least drop to less than 100% of the<br>
&gt; total cores on the hardware.)<br>
&gt;<br>
&gt; Particularly if this host system has other vms running on it, you&#39;re<br>
&gt; hurting the vm scheduler&#39;s ability to hand out resources. With vmware,<br>
&gt; I believe a simple rule of thumb is that scheduler requires N-1 CPUs<br>
&gt; to be locked to schedule execution of an N cpu virtual machine - so even if it doesn&#39;t need all of the CPUs, it has to reserve all of them any time you have more than a 2 vCPU vm.<br>
&gt;<br>
&gt; -- Nathan<br>
&gt;<br>
&gt; On 08/28/2015 08:18 AM, Michael Jerris wrote:<br>
&gt;&gt; The numbers your posting are fairly low, I&#39;m guessing this is a<br>
&gt;&gt; grossly underpowered vm that is causing your issues<br>
&gt;&gt;<br>
&gt;&gt; On Friday, August 28, 2015, Shaun Stokes &lt;<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a> &lt;mailto:<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a>&gt;&gt;
 wrote:<br>
&gt;&gt;<br>
&gt;&gt;      Hi Peter,____<br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;      Thanks for the advice, this is something we&#39;re already looking into but we don&#39;t have the new hardware available<br>
&gt;&gt;      yet.____<br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;      Debian 8 has great integration with Hyper-V on 2012R2 and operates as a Generation 2 VM, obviously it&#39;s never going<br>
&gt;&gt;      to be as good as running directly on the hardware but we were<br>
&gt;&gt; hoping for better performance.____<br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;      Thanks,____<br>
&gt;&gt;<br>
&gt;&gt;      Shaun____<br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;      *From:*<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt;&gt;      &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>&#39;);&gt;<br>
&gt;&gt;      [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt;&gt;      &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>&#39;);&gt;] *On Behalf Of *Peter Olsson<br>
&gt;&gt;      *Sent:* 28 August 2015 10:43<br>
&gt;&gt;      *To:* FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt;      &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&#39;);&gt;&gt;<br>
&gt;&gt;      *Subject:* Re: [Freeswitch-users] FreeSwitch - Performance<br>
&gt;&gt; issues____<br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;      If you want high performance, I recommend using real hardware, not a virtual machine setup - it will cause you<br>
&gt;&gt;      issues.____<br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;      /Peter____<br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;      2015-08-28 9:44 GMT+02:00 Shaun Stokes &lt;<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a><br>
&gt;&gt;<br>
&gt;&gt; &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a>&#39;);&gt;&gt;:__<br>
&gt;&gt; __<br>
&gt;&gt;<br>
&gt;&gt;          Hi Michael,____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          Thanks for the response and recommendation.____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          Our new build is now on Debian 8 Jessie, performance on the system is noticeably better and any audio problems<br>
&gt;&gt;          while the system is under load are significantly reduced but we do still experience spikes along with reduced<br>
&gt;&gt;          audio quality when the system is processing 20 calls per<br>
&gt;&gt; second while already maintaining 80 existing calls.____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          We&#39;re still hitting some kind of bottleneck, what should we expect to be able to support on a single piece of<br>
&gt;&gt;          hardware? We&#39;ve kept our dialplans as small as possible and we&#39;re using Memcache, but something tells me it&#39;s<br>
&gt;&gt;          the call setup process which is triggering the spikes, is this possibly a limitation on the SIP profiles which<br>
&gt;&gt;          are single threaded?____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          I also see FreeSWITCH supports clustering but it&#39;s in relation to high availability, is it possible to cluster a<br>
&gt;&gt;          single FreeSWITCH instance across multiple hardware or should we be looking elsewhere to solve these<br>
&gt;&gt;          bottlenecks?____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          We switched to TCP Vegas on our new build as recommended on the FreeSWITCH Wiki, this has provided a noticeable<br>
&gt;&gt;          reduction in audio latency but doesn&#39;t solve the issue with<br>
&gt;&gt; CPU spikes.____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          Many Thanks,____<br>
&gt;&gt;<br>
&gt;&gt;          Shaun____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          *From:*<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt;&gt;          &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>&#39;);&gt;<br>
&gt;&gt;          [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>
&gt;&gt;          &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>&#39;);&gt;] *On Behalf Of *Michael Jerris<br>
&gt;&gt;          *Sent:* 15 August 2015 23:00<br>
&gt;&gt;          *To:* FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
&gt;&gt;          &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&#39;);&gt;&gt;<br>
&gt;&gt;          *Subject:* Re: [Freeswitch-users] FreeSwitch - Performance<br>
&gt;&gt; issues____<br>
&gt;&gt;<br>
&gt;&gt;          ____<br>
&gt;&gt;<br>
&gt;&gt;          There are multiple known issues with Ubuntu 12.04.  We reccomend Debian 8 Jessie.<br>
&gt;&gt;<br>
&gt;&gt;          On Friday, August 14, 2015, Shaun Stokes &lt;<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a><br>
&gt;&gt;<br>
&gt;&gt; &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:shaun.stokes@itec-support.co.uk" target="_blank">shaun.stokes@itec-support.co.uk</a>&#39;);&gt;&gt;<br>
&gt;&gt; wrote:____<br>
&gt;&gt;<br>
&gt;&gt;              Hi,____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              We&#39;re experiencing performance issues with FreeSwitch, our target is 500 concurrent sessions, but at the<br>
&gt;&gt;              moment this starts to bottleneck around 30.____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              Host system:____<br>
&gt;&gt;<br>
&gt;&gt;              Windows Server 2012 Hyper-V Host____<br>
&gt;&gt;<br>
&gt;&gt;              AMD Opteron 4386 (2 processors) - 16 cores total____<br>
&gt;&gt;<br>
&gt;&gt;              128GB DDR3____<br>
&gt;&gt;<br>
&gt;&gt;              2TB RAID 5 (700MB/s tested read and write<br>
&gt;&gt; throughput)____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              FreeSwitch Virtual Machine:____<br>
&gt;&gt;<br>
&gt;&gt;              FreeSwitch 1.4.15____<br>
&gt;&gt;<br>
&gt;&gt;              Ubuntu 12.04 LTS____<br>
&gt;&gt;<br>
&gt;&gt;              16 Virtual cores (high priority)____<br>
&gt;&gt;<br>
&gt;&gt;              2GB RAM (would assign more but FreeSwitch never seems to<br>
&gt;&gt; use much)____<br>
&gt;&gt;<br>
&gt;&gt;              500GB HD (on VHDX)____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              After around 30 concurrent sessions we begin to see CPU spikes almost every time a new call comes in, as the<br>
&gt;&gt;              sessions increase the size and frequency of the CPU spikes also increase. The system seems to be able to sit<br>
&gt;&gt;              comfortably with over 100 concurrent sessions and 80% idle CPU, providing we don&#39;t have any new calls<br>
&gt;&gt;              hitting the platform. The spikes are causing audio (RTP) to stutter or in some cases drop completely for a<br>
&gt;&gt;              few seconds.____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              The FreeSwitch spikes are occurring on all 16 cores, we have been monitoring the system using htop and<br>
&gt;&gt;              mpstat.____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              This is an example of when we receive an inbound call<br>
&gt;&gt; while we have 34 concurrent sessions:____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:04     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05     all    1.67    0.00   27.34    0.00    0.25    0.00    0.00    0.00   70.74____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       0    1.00    0.00   28.00    0.00    0.00    0.00    0.00    0.00   71.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       1    0.99    0.00   26.73    0.00    0.00    0.00    0.00    0.00   72.28____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       2    0.99    0.00   26.73    0.00    0.00    0.00    0.00    0.00   72.28____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       3    3.92    0.00   26.47    0.00    0.00    0.00    0.00    0.00   69.61____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       4    0.99    0.00   25.74    0.00    1.98    0.00    0.00    0.00   71.29____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       5    0.99    0.00   26.73    0.00    0.99    0.00    0.00    0.00   71.29____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       6    0.00    0.00   26.47    0.00    0.98    0.00    0.00    0.00   72.55____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       7    0.00    0.00   26.73    0.00    0.00    0.00    0.00    0.00   73.27____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       8    3.96    0.00   27.72    0.00    0.00    0.00    0.00    0.00   68.32____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05       9    2.00    0.00   27.00    0.00    0.00    0.00    0.00    0.00   71.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05      10    6.00    0.00   32.00    0.00    0.00    0.00    0.00    0.00   62.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05      11    1.96    0.00   27.45    0.00    0.00    0.00    0.00    0.00   70.59____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05      12    0.99    0.00   26.73    0.00    0.00    0.00    0.00    0.00   72.28____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05      13    1.00    0.00   28.00    0.00    0.00    0.00    0.00    0.00   71.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:26:05      14    0.00    0.00   27.00    0.00    0.00    0.00    0.00    0.00   73.00____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              This is when the system is not receiving an inbound call but is sitting comfortably at 34 concurrent<br>
&gt;&gt;              sessions:____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:57     CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58     all    0.87    0.00    0.62    0.00    0.12    0.00    0.00    0.00   98.39____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       0    0.99    0.00    0.99    0.00    0.00    0.00    0.00    0.00   98.02____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       1    0.99    0.00    0.99    0.00    0.00    0.00    0.00    0.00   98.02____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       2    0.98    0.00    0.98    0.00    0.00    0.00    0.00    0.00   98.04____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       3    0.00    0.00    0.99    0.00    0.00    0.00    0.00    0.00   99.01____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       4    0.00    0.00    0.00    0.00    1.98    0.00    0.00    0.00   98.02____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       5    0.00    0.00    0.00    0.00    0.99    0.00    0.00    0.00   99.01____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       6    0.00    0.00    0.99    0.00    0.00    0.00    0.00    0.00   99.01____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       7    0.00    0.00    0.99    0.00    0.00    0.00    0.00    0.00   99.01____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       8    5.00    0.00    1.00    0.00    0.00    0.00    0.00    0.00   94.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58       9    1.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00   99.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58      10    1.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00   99.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58      11    0.99    0.00    0.99    0.00    0.00    0.00    0.00    0.00   98.02____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58      12    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58      13    1.98    0.00    0.99    0.00    0.00    0.00    0.00    0.00   97.03____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58      14    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00____<br>
&gt;&gt;<br>
&gt;&gt;              14:25:58      15    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              We&#39;re using FreeSwitch in multi-tenant mode, we have tried dedicating a single VM for one tenancy but still<br>
&gt;&gt;              experience the issue. My assumption has been that this will be due to the dialplan, I&#39;ve optimized this<br>
&gt;&gt;              slightly by writing LUA scripts to handle some of the inbound calls this appears to take away some of the<br>
&gt;&gt;              load but we&#39;re still using the internal dialplans for each tenancy (tenancy dialplans have an average of 300<br>
&gt;&gt;              entries).____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              We are using the following arguments when running<br>
&gt;&gt; FreeSwitch:____<br>
&gt;&gt;<br>
&gt;&gt;              -rp -nc -nonat____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              I&#39;ve seen another post which says we should operate FreeSwitch in High Performance mode using -hp but can&#39;t<br>
&gt;&gt;              find anything information about this, is this still a<br>
&gt;&gt; valid argument to use with FreeSwitch?____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              Has anyone experienced similar performance issues before<br>
&gt;&gt; or have any advice?____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              Hope someone may be able help.____<br>
&gt;&gt;<br>
&gt;&gt;              ____<br>
&gt;&gt;<br>
&gt;&gt;              Thanks,____<br>
&gt;&gt;<br>
&gt;&gt;              Shaun____<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;              ______________________________________________________________________<br>
&gt;&gt;              This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________________________________________<br>
&gt;&gt; _____<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;          ______________________________________________________________________<br>
&gt;&gt;          This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________________________________________<br>
&gt;&gt; _____<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;          ______________________________________________________________________<br>
&gt;&gt;          This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________________________________________<br>
&gt;&gt; _____<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;          _________________________________________________________________________<br>
&gt;&gt;          Professional FreeSWITCH Consulting Services:<br>
&gt;&gt;          <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a> &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>&#39;);&gt;<br>
&gt;&gt;          <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;<br>
&gt;&gt;          Official FreeSWITCH Sites<br>
&gt;&gt;          <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;          <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt;&gt;          <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;<br>
&gt;&gt;          FreeSWITCH-users mailing list<br>
&gt;&gt;          <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">
FreeSWITCH-users@lists.freeswitch.org</a> &lt;javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&#39;);&gt;<br>
&gt;&gt;          <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt;          UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt;          <a href="http://www.freeswitch.org____" target="_blank">http://www.freeswitch.org____</a><br>
&gt;&gt;<br>
&gt;&gt;      __ __<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;      ______________________________________________________________________<br>
&gt;&gt;      This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________________________________________<br>
&gt;&gt; _____<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;      ______________________________________________________________________<br>
&gt;&gt;      This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________________________________________<br>
&gt;&gt; _<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _____________________________________________________________________<br>
&gt;&gt; ____ Professional FreeSWITCH Consulting Services:<br>
&gt;&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
&gt;&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;&gt;<br>
&gt;&gt; Official FreeSWITCH Sites<br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt;&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;&gt;<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-us" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-us</a><br>
&gt;&gt; ers<br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger                       <a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a><br>
Missouri S&amp;T Information Technology    <a href="tel:%28573%29%20612-1412" target="_blank">
(573) 612-1412</a><br>
System Administrator - Architect<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>
<br>
______________________________________________________________________<br>
This message has been checked for all known viruses by  MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>
<br>
______________________________________________________________________<br>
This message has been checked for all known viruses by  MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></span></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span lang="EN-GB"><br>
<br clear="all">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB"> <u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB">--
<u></u><u></u></span></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p><b><i><span lang="EN-GB" style="font-size:13.5pt;font-family:&quot;Courier New&quot;">Brian West</span></i></b><span lang="EN-GB" style="font-family:&quot;Courier New&quot;"><br>
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p><span style="font-size:7.5pt;font-family:&quot;Courier New&quot;"><img border="0" width="32" height="32" src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png" alt="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"></span><span lang="EN-GB"><u></u><u></u></span></p>
<p><b><i><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Twitter: @FreeSWITCH , @briankwest</span></i></b><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p><span lang="EN-GB" style="font-family:&quot;Courier New&quot;">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">
here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p><b><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Courier New&quot;">T:</span></b><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><a href="tel:%2B19184209001" target="_blank">+19184209001</a> |
<b>F:</b><a href="tel:%2B19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br>
<b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</span><span lang="EN-GB"><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-GB"><br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></span></p>
</blockquote>
</div>
<p class="MsoNormal"><span lang="EN-GB"><br>
<br clear="all">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-GB">-- <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-GB">Sincerely<br>
<br>
Jay<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<u></u><u></u></span></p>
<p class="MsoNormal"><br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"><br>
______________________________________________________________________<br>
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.<br>
______________________________________________________________________<u></u><u></u></span></p>
</div>
</div>
</div>

<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>