[Freeswitch-users] Freeswitch Performance

Andre DeMattia andretodd at verizon.net
Wed Nov 20 03:57:36 MSK 2013


Thanks Anthony,

I did disable managed-presence and I use my custom dial plan just to return
a 503. I will try it using again and remove the sql database to see if that
helps.

 

I did try -nosql but that didn't seem to make any difference.

 

When I downloaded 1.2.15 I couldn't get it to compile to 64 bit ( I do see
it's been fixed but I'm not sure where to get the fixed version ) and there
was a compile error in fs_cli (I think it was fs_cli) that needed a code
fixed.

 

Any other suggestions would be welcomed. I need to get at least 500 CPS.

 

 

Thanks

Andre

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony
Minessale
Sent: Tuesday, November 19, 2013 7:30 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Freeswitch Performance

 

The quintessential "performance thread" =D

 

 

I don't know if anyone has compiled a collection of all the advice from the
previous years of threads but we tend to stay out of performance testing
discussions apart from a few tips.

 

1) Disable manage-presence on mod_sofia

2) Make sure the callflow you are calling is not too intensive.  Every type
of call consumes a variable amount of resources depending on what it does in
the dialplan.  The default dialplan has all kind of demo stuff in it so its
best to make a test extension and put it first in your xml context so it
does not needlessly execute all the demo stuff.

 

3) Windows is a very specific environment and there are less people using it
for feedback.  Compare results to Linux Debian 7 or equiv.

 

4) Try HEAD or latest 1.2.15 and compare to master branch.

 

5) Putting the core db into sql server is quite possibly slower than the
built-in sqlite.

 

 

 

 

 

 

 

 

 

 

On Tue, Nov 19, 2013 at 6:09 PM, Andre <andretodd at verizon.net
<mailto:andretodd at verizon.net> > wrote:

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.

 

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.

 

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.  

 

The calls are just going to FreeSWITCH then I'm sending back a 503.

 

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.

 

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.

 

I'm at a loss here on what else to do.

Andre


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





 

-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net <http://irc.freenode.net>  #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:+19193869900 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131119/917960e3/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list