[Freeswitch-users] Running multiple SIP profiles
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.
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?
> On Thu, May 31, 2012 at 3:50 PM, Adam Kelloway <adam.kelloway at newpace.ca>
>> 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?
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> Official FreeSWITCH Sites
>> Join Us At ClueCon - Aug 7-9, 2012
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> Join Us At ClueCon - Aug 7-9, 2012
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users