[Freeswitch-users] FS stress test issue

Peter Olsson peter at olssononline.se
Thu Jun 20 10:42:09 MSD 2013


The first step towards great performance is to get real hardware. You will
never come close to the performance when running inside a VM.

/Peter


2013/6/20 Vincent Xia <gmangudai at gmail.com>

> exactly, im doing the test on a virtual box, double the CPU from quad-core
> to oct-core, the test scenario is simple, making calls at a speed of
> 28calls per sec, play sound file at PCMU codec for 150 sec after connected,
> then hangup and repeat.
>
> i've heard people stress tests FS with over 2000 concurrent calls, so i
> think there should be some way i can make my FS box more powerful, but
> things seem not gonna be easy to do.
>
>
> 2013/6/20 Anthony Minessale <anthony.minessale at gmail.com>
>
>> Doubled it so quick? Does that mean its a virtual or real box?
>> The distro, the hardware, the speed of the network, the configuration,
>> the filesystem all matter in performance.
>> There is no mention to what the test is or what the frequency of calls is
>> etc.  Short duration calls hurt more than long etc.
>>
>> This is part of why we tend to shy away from load testing questions.
>>
>>
>>
>> On Wed, Jun 19, 2013 at 11:59 PM, S. Scott <8f27e956 at gmail.com> wrote:
>>
>>> Vincent,
>>>
>>> I concur with quality lan card advice, namely intel. Also, what is
>>> your system's "clocksource0" -- both available and current.
>>>
>>> Cheers,
>>>
>>> —————
>>> iThing:  Big thumbs & little keys. Please excuse typo, spelling and
>>> grammar errors • Thought of the Day – "With all this manure, there
>>> must be a pony in here somewhere.”
>>>
>>> On 2013-06-19, at 23:35, William King <william.king at quentustech.com>
>>> wrote:
>>>
>>> > 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
>>> >
>>> > On 06/19/2013 07:55 PM, Vincent Xia wrote:
>>> >> 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.
>>> >>
>>> >>
>>> >> 2013/6/19 Alex Lake <alex at digitalmail.com <mailto:
>>> alex at digitalmail.com>>
>>> >>
>>> >>    If your CPU is averaging around 80-90%, I would consider that
>>> maxed out!
>>> >>    Can you try it on a more powerful machine?
>>> >>>    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 <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
>>> >>>
>>> >>>
>>> >>>    No virus found in this message.
>>> >>>    Checked by AVG - www.avg.com <http://www.avg.com>
>>> >>>    Version: 2012.0.2242 / Virus Database: 3199/5922 - Release Date:
>>> >>>    06/18/13
>>> >>>
>>> >>
>>> >>
>>> >>
>>>  _________________________________________________________________________
>>> >>    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
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> _________________________________________________________________________
>>> >> 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
>>> >>
>>> >
>>> >
>>> _________________________________________________________________________
>>> > 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
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>> 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
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> 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
>>
>>
>
> _________________________________________________________________________
> 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/908f31d1/attachment-0001.html 


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