[Freeswitch-users] FS stress test issue

Deon Vermeulen vermeulen.deon at gmail.com
Thu Jun 20 11:23:04 MSD 2013


Hi Vincent

I agree with Peter that the best way to get maximum performance is Bare 
Metal.

Have a look at this link when it comes to virtualization if you have no 
other options.
http://dtrace.org/blogs/brendan/2013/01/11/virtualization-performance-zones-kvm-xen/

I prefer OpenVZ, but haven't done any stress testing yet.
My bet would be that the performance will be better in Containers/Jails 
then any other form of virtualization.


-- 
Rgds


> Vincent Xia <mailto:gmangudai at gmail.com>
> June 20, 2013 7:47 AM
> my network card: Intel(R) PRO/1000 MT Network Connection, and all 
> calls have the media going through FS(everything is in the same LAN), 
> cuz sometimes i need to do recording, but no with stress testing, as 
> it will make significant burden to the system.
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> William King <mailto:william.king at quentustech.com>
> June 20, 2013 4:31 AM
> Vincent,
>
> What network card hardware are you using? UDP packets on cheap
> networking cards are very sensitive to a lack of idle cpu time. I've
> seen many models of RealTek cards that will start dropping over 10% of
> all UDP packets if your CPU idle drops below ~50%. In my experience
> server grade Intel network cards are much better, but even these will
> start dropping ~5-10% of UDP packets if your CPU idle gets below 15%.
>
> Also do these calls have the media going through this box? or through an
> external media gateway?
>
> William King
> Senior Engineer
> Quentus Technologies, INC
> 1037 NE 65th St Suite 273
> Seattle, WA 98115
> Main: (877) 211-9337
> Office: (206) 388-4772
> Cell: (253) 686-5518
> william.king at quentustech.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> Vincent Xia <mailto:gmangudai at gmail.com>
> June 20, 2013 3:55 AM
> I've doubled CPU capability, now the CPU usage at 1000 calls is around 
> 50%, but call loss is still 10-20%, maybe Brian is right, don't try 
> more than 500 calls.
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> Alex Lake <mailto:alex at digitalmail.com>
> June 19, 2013 8:49 AM
> If your CPU is averaging around 80-90%, I would consider that maxed out!
> Can you try it on a more powerful machine?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> Vincent Xia <mailto:gmangudai at gmail.com>
> June 19, 2013 8:21 AM
> while i was doing stress test over FS, things look pretty good as FS 
> is able to hold 800 concurrent calls with a call loss rate at around 
> 0.1%, when leveling up to 1000 concurrent calls, the call loss soars 
> to 10-20%, i made some modification to switch.conf like
>
> <param name="max-sessions" value="2000"/>
> <param name="sessions-per-second" value="100"/>
>
> but things didn't get any better, the host CPU usage rate is around 
> 80-90%, memory usage: 10%, network load 10%, so i think there should 
> be someway we can make FS handle more concurrent calls, any ideas?
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130620/289e371f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130620/289e371f/attachment-0001.jpg 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list