[Freeswitch-users] Optimizing profile

Steven Ayre steveayre at gmail.com
Mon Sep 30 23:16:49 MSD 2013


All of that (ESL calls etc) will be in separate threads.

The bottleneck is specifically the part of Sofia that reads an incoming UDP
packet from the network socket and passes it off to the relevant call's
thread. From that point it's in the call's thread (multiple threads so no
CPU bottleneck there).

It used to be more processing was done in Sofia's thread but a lot of it
now happens in the call's thread. The bottleneck is still there but much
reduced. You're not going to hit it unless you're looking at having in the
order of 10000 calls up at a time.





On 30 September 2013 20:04, Guillermo Ruiz Camauer <grcamauer at gmail.com>wrote:

> This is doing outboud IVRs through ESL (Automated Surveys).  All 1 legged
> calls.
> Even if it is not supposed to max out FreeSwitch, how would I go about
> setting up a second SIP profile to the same provider just to test?
>
> Guillermo
>
>
> On Mon, Sep 30, 2013 at 3:40 PM, Avi Marcus <avi at avimarcus.net> wrote:
>
>> I vaguely recall something about this changed...
>> -Avi
>>
>>
>> On Mon, Sep 30, 2013 at 8:54 PM, Guillermo Ruiz Camauer <
>> grcamauer at gmail.com> wrote:
>>
>>> In the Wiki, under "Performance testing and configurations", one of the
>>> suggestions given under "Recommended SIP Settings" is:
>>>
>>> libsofia only handles 1 thread per profile, so if that is your bottle
>>> neck use more profiles
>>>
>>> If I only have one Voip provider, can I still have more than one SIP
>>> profile?  My provider authenticates via IP.  I currently run 240 concurrent
>>> calls through this Sip trunk, I I see CPU close to 12.5% on a 8 core
>>> machine.  This means that one core is maxing out.  How can I get more
>>> threads up to distribute the load?
>>>
>>>
>>>
>>> --
>>> Guillermo Ruiz Camauer
>>>
>>> _________________________________________________________________________
>>> 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
>>
>>
>
>
> --
> Guillermo Ruiz Camauer
>
> _________________________________________________________________________
> 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
>
> You
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130930/f45b3fca/attachment.html 


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