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-... 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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@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@quentustech.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org