[Freeswitch-users] Running multiple SIP profiles
Steven Ayre
steveayre at gmail.com
Thu May 31 18:54:43 MSD 2012
Each sofia profile runs in a single thread (limitation of the sofia
stack). This thread is only used for the processing of SIP packets and
matching them to a call. Eventually there is a bottleneck if your call
volume means the network I/O is faster than a single CPU core can keep
up with. Adding more sofia profiles on other ip:ports lets you handle
SIP packets on another core which is why it can help in extremely high
call loads. At what point that occurs at will highly depend on your
traffic and your hardware. Most people won't hit that threshold.
Processing of calls (ie dialplan applications etc) and handling of RTP
media occurs in their own threads.
-Steve
On 31 May 2012 14:55, Hynek Cihlar <hynek.cihlar at gmail.com> wrote:
> A subquestion here. What is the thread on the SIP profile responsible for?
> Is it only dispatching incoming/outgoing SIP requests and spanning new
> threads for new SIP conversations?
>
> Hynek
>
>
>
>
> On Thu, May 31, 2012 at 3:50 PM, Adam Kelloway <adam.kelloway at newpace.ca>
> wrote:
>>
>> Hi there,
>>
>> My understanding is that a SIP profile is single-threaded, and that if
>> you wish to increase the amount of possible concurrent call
>> setups/sessions, you should run more SIP profiles. Am I correct so far?
>> Assuming so, is there a threshold you can reach with the number of
>> profiles you are running whereby it starts to degrade performance? Is
>> there an optimal number of profiles you could run based on the number of
>> processors you have available? Out of curiosity, how many profiles are
>> other people running on your typical high-call load system?
>>
>> Thanks,
>>
>> Adam
>>
>> _________________________________________________________________________
>> 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
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list