<div dir="ltr">Have you tuned the core and sofia databases - moving it onto a RAM disk or better into ODBC? All calls enter and maintain a record into the database of their existence, perhaps that's your bottleneck.
<div class="gmail_extra"><br></div><div class="gmail_extra">Read <a href="http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#Configurations">http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations#Configurations</a> for hints</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 14 August 2014 19:59, Andre <span dir="ltr"><<a href="mailto:andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Just testing for now, no production traffic. Trying to find the breaking point.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The reason for the questions are because I’m testing FS and after a certain point I am getting very high PDD, more than 6 seconds. Per the CDR’s it takes about 6 seconds from start time in CDR Inbound to CDR outbound.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I have tried 1 to 10 profiles to see if that makes a difference but it doesn’t and 1 to 4 consoles running one profile each still no difference.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Any idea why the CDR’s should show it would take 6 seconds to get from start of inbound to start of outbound? <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><div><div style="border-style:solid none none;border-top-color:rgb(225,225,225);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,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>Ken Rice<br>
<b>Sent:</b> Thursday, August 14, 2014 2:06 PM</span></p><div><div><br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Network Card<u></u><u></u></div></div><p></p></div></div><div><div>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:11pt;font-family:'Courier New'">1000 CPS the NIC is not the bottle neck this is actually relatively small amount of TCP/UDP traffic for just the SIP message.<br>
<br>Now the RTP @ 1000 calls on the other hand assuming G711 at 20ms ptime. And assuming 1 leg calls originating from a dialer would generate 80megabits of RTP (at the IP layer even more on the wire), and approx 50K PPS. Assuming 2 leg’d calls bridging media 160megabit and 100K PPS of just RTP... <br>
<br>But then we have to extrapolate peak concurrent from 1000 CPS... Assuming dialer traffic again, 75% ASR and 20 second ACD, and lets assume the 25% are just hard failed for the calculation (no early media on these) that gives us 750 new calls/sec and over the course of 20 seconds we accumulate 15,000 concurrent calls..<br>
<br>So lets take that and extrapolate bandwidth and PPS requirements for single leg’d calls of 1.43Gig/sec (on the wire) and 750K PPS so that’s going to exceed the bandwidth of a GIG-E connection so you’d have to break this into 2 RTP endpoints in sofia, and make sure you switches/routers could handle the PPS loads. <br>
<br>Double that to 2 leg calls and you have 2.86G/sec of RTP (again on the wire including UDP, IP, ethernet framing over heads) and pushing 1.5million PPS.<br><br>Here again this dictates at least 3 gig-e NICs on your FS box. Is this possible? I’m sure it is with the right hardware configuration... But lets step back a minute and really consider what is going on...<br>
<br>You are now putting approx over $2000/hr of traffic on a very expensive box that can and will at some point fail. Why are you doing such a thing? You’re better off limiting rates to sub 1000 CPS, (say 500CPS) deploying 3 boxes to handle the load in n+1 configuration, and if you lose a box you arent losing $2000+ in revenue and cranky customers while you repair/replace the now dead machine.<br>
<br>Lets face it, you can purchase a colo a nice machine for say 200 to 300$/month (assuming bandwidth costs are the same as above so that’s a wash instead of trying to cram it all on box that ends up costing you 1000/month by the time you pay for the hardware and colocation expenses for it.<br>
<br><br><br><br><br>On 8/14/14 11:56 AM, "Russell Treleaven" <<a href="http://rtreleaven@bunnykick.ca" target="_blank">rtreleaven@bunnykick.ca</a>> wrote:</span><u></u><u></u></p><blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif">1000 calls per second... no idea but I really doubt the network interface is going to be the bottleneck.<br>Not sure why you make a distinction here between sessions and connected.<br>
To be clear you mean 5000 bridge calls correct?<br>Since media is not an issue I think you can just start testing with sipp and bwm-ng to see what is what.<br><span style="color:rgb(31,73,125)"><br>1000 calls per second is a very big number.<br>
Let us know how you make out.<br><br>Sincerely,<br><br>Russell Treleaven<br><br></span></span><span style="font-size:11pt;font-family:'Courier New'"><br></span><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br>
</span><span style="font-size:11pt;font-family:'Courier New'"><br><br>On Wed, Aug 13, 2014 at 5:40 PM, Andre <<a href="http://andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>> wrote:</span><u></u><u></u></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt"><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New'">1000 calls per second and 10000 sessions with 4000 connected. What would be recommend?<br>
<br><b>From:</b> <a href="http://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>Russell Treleaven<br>
<b>Sent:</b> Wednesday, August 13, 2014 5:25 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Network Card<br><br> <br><br>If the media is bypassing you then you only need bandwidth for the signalling.<br>
<br> <br><br>Depends primarily on the calls per second.<br><br> <br><br>bwm-ng will help you to see whats going on.<br><br> <br><br> <br><br> <br><br> <br><br>On Wed, Aug 13, 2014 at 5:20 PM, Andre <<a href="http://andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>> wrote:</span><u></u><u></u></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt"><p class="MsoNormal"><u></u> <u></u></p><blockquote style="margin-top:5pt;margin-bottom:5pt"><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New'">Hi, is there anything special with the network card to get 10,000 sessions in media bypass mode with FreeSwitch? Will a Gig E be enough bandwidth?<br>
<br>What would it look like if the network card couldn’t keep up and how can I verify the network card is the bottleneck?<br>Thanks<br>Andre</span><u></u><u></u></p></blockquote><p class="MsoNormal"><span style="font-size:11pt;font-family:'Courier New'"> <br>
<br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="http://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>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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="http://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></span><u></u><u></u></p>
</blockquote><p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:11pt;font-family:'Courier New'"> <br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>
<a href="http://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>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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="http://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></span><u></u><u></u></p></blockquote><p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:11pt;font-family:'Courier New'"><u></u> <u></u></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11pt;font-family:'Courier New'"><hr size="3" width="95%" align="center"></span></div><p class="MsoNormal"><span style="font-size:10pt;font-family:Consolas">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br><a href="http://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>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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="http://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></span><u></u><u></u></p></blockquote><p class="MsoNormal" style="margin-bottom:12pt"><span style="font-size:10pt;font-family:Consolas"><br>
</span><span style="font-size:11pt;font-family:'Courier New'">-- <br>Ken<br><u><span style="color:blue"><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br></span></u><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>Twitter: @FreeSWITCH</span><u></u><u></u></p></div>
</div></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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></blockquote></div><br></div></div>