<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Andre.<br>
<br>
Solving performance problems is always hard , but a few points to
keep in mind :<br>
<br>
To my knowledge FS is pretty much a linux software , it works on
windows by that i doesn't means it performs on windows ( please
correct me if i'm wrong)<br>
The native DB for FS is Postgresql ( this should make you oracle
admin more happy :) ).<br>
<br>
Try this :<br>
Linux Server Realtime Kernel + Last FS Stable + Postgresql ( tune
it well).<br>
Take care with ulimit on linux , its needed for the extra punch of
performance<br>
Check if your "performance test" is real if you are pointing to
1500CPS for a two minute call you will have 180k calls before the
first call gets disconnected, if you are also testing RTP that
means 180k * 2 ports needed , The Kernel will start to complaining
and you will run out of ports you will also run out of FD probably
before you run out of ports on a not tuned linux install.<br>
If the DB is on the same server it will also stall since the FD
will not be present for new connections to the back end.<br>
<br>
In terms of BW you will exceed 230000 kb/s add a few more kb/s for
the DB ( Not a problem here i think)<br>
<br>
Another thing , no sip server ( please include all the nice names
here like B2BUA , etc ) should ever queue anything.<br>
I have never read the code that handles this on FS but the way i
would do it should be something like : can we sustain the load ?
No in that case send 503 else proceed.<br>
This is done in freeswitch by this var<br>
<a class="moz-txt-link-freetext" href="https://wiki.freeswitch.org/wiki/XML_Switch_Configuration#max-sessions">https://wiki.freeswitch.org/wiki/XML_Switch_Configuration#max-sessions</a><br>
<br>
A more general approach:<br>
In SIp Servers you will generally ( if not running cpu intensive
tasks, trancoding , tone detection , etc ), consume all the ram ,
Network IO ,than the cpu.<br>
For the guys that plan something big you should take a look at
this :<br>
<a class="moz-txt-link-freetext" href="http://www.solarflare.com/High-Frequency-Trading">http://www.solarflare.com/High-Frequency-Trading</a><br>
Not by The NIC itself but because of this :<br>
<a class="moz-txt-link-freetext" href="http://www.openonload.org">http://www.openonload.org</a><br>
<br>
Without more data i don't think we can help , above all
performance testing is a dark art you just need to keep on trying
different things and above all have some type of monitor tool to
understand what exactly is holding you up , maybe its no FS...<br>
<br>
Also 1500CPS is something seen in carrier operations generally
with a named SBC in front , keep in mind that FS is a great
software but it doesn't hold against SBC's that use special
processors like ASIC to perform transcoding , sip parsing , tone
detection ,etc etc<br>
<br>
<br>
Disclaimer : post written deep into the night...<br>
<br>
On 20/11/13 00:09, Andre wrote:<br>
</div>
<blockquote cite="mid:001b01cee584$c5ba2e80$512e8b80$@verizon.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@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">Hi, I am testing out my FreeSWITCH 1.2.14
64 bit windows 8.1 on my Alienware Laptop with a very fast SSD
and I7 processor with 8 GB DDR3 Ram.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been using a pjsip test tool to test
FreeSWITCH to see how it performs. Tell me if I’m wrong here,
I believe if I sent “too many” calls to FreeSWITCH that it
queues up the calls and sooner or later uses all the memory on
my PC then just stops working. I do have the CPS sent to 1500
for testing but I never hit that high, I hit about 200 CPS.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The CDRs that save to my database show it
takes about 8 seconds from start time to end time. It does
start out only taking milliseconds then it progresses to the 8
second mark. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The calls are just going to FreeSWITCH then
I’m sending back a 503.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have every mod turned off, logging set to
0, Core db going to a SQL Server and I even set FreeSWITCH to
real time.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can anyone give me advise on what I can do
to get better performance? I’ve also tested it out on my real
server but in about 3 minutes of 50 cps FreeSWITCH uses up 3gb
of memory and stops responding.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m at a loss here on what else to do.<o:p></o:p></p>
<p class="MsoNormal">Andre<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</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>