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
I can't imagine your bottlenecking in sofia with that few number of calls. On Sep 30, 2013, at 1:54 PM, Guillermo Ruiz Camauer <grcamauer@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?
I vaguely recall something about this changed... -Avi On Mon, Sep 30, 2013 at 8:54 PM, Guillermo Ruiz Camauer <grcamauer@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@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
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@avimarcus.net> wrote:
I vaguely recall something about this changed... -Avi
On Mon, Sep 30, 2013 at 8:54 PM, Guillermo Ruiz Camauer < grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
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@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@avimarcus.net> wrote:
I vaguely recall something about this changed... -Avi
On Mon, Sep 30, 2013 at 8:54 PM, Guillermo Ruiz Camauer < grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
You
Since that wiki page was created a chunk of the sofia profile work was pulled out of that thread and pushed into other threads. So I doubt that is the issue you are hitting. How are you getting the 12.5% cpu usage number? If you are on linux and you are running 'top' then that means you are using on average 12.5% of one of your 8 cores. For your call count, and core count this seems more likely. 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 On 09/30/2013 10:54 AM, Guillermo Ruiz Camauer 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@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
If I only have one Voip provider, can I still have more than one SIP profile? My provider authenticates via IP
Profiles bind to a single ip:port combination. You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP. On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
Yes, TOP is giving me the 12.5% reading. I understand that this is an average reading of all cores. The fact that it never seems to go over 12.5% tells me that I am never using more than 1 core at a time, and that is is just the one process jumping around the different cores. Is this a valid assumption? I want to test using more threads to see if I a hitting a bottleneck with this.. Guillermo On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
This command will give you a better presentation of how each of your cores are utilized: mpstat -P ALL 1 ________________________________ From: Guillermo Ruiz Camauer <grcamauer@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Monday, September 30, 2013 9:26 PM Subject: Re: [Freeswitch-users] Optimizing profile Yes, TOP is giving me the 12.5% reading. I understand that this is an average reading of all cores. The fact that it never seems to go over 12.5% tells me that I am never using more than 1 core at a time, and that is is just the one process jumping around the different cores. Is this a valid assumption? I want to test using more threads to see if I a hitting a bottleneck with this.. Guillermo On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote: If I only have one Voip provider, can I still have more than one SIP profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer _________________________________________________________________________ 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
I'll try that, thanks. Guillermo Sent from my iPhone On 30/09/2013, at 20:12, Stanislav Sinyagin <ssinyagin@yahoo.com> wrote: This command will give you a better presentation of how each of your cores are utilized: mpstat -P ALL 1 ------------------------------ *From:* Guillermo Ruiz Camauer <grcamauer@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Sent:* Monday, September 30, 2013 9:26 PM *Subject:* Re: [Freeswitch-users] Optimizing profile Yes, TOP is giving me the 12.5% reading. I understand that this is an average reading of all cores. The fact that it never seems to go over 12.5% tells me that I am never using more than 1 core at a time, and that is is just the one process jumping around the different cores. Is this a valid assumption? I want to test using more threads to see if I a hitting a bottleneck with this.. Guillermo On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote: If I only have one Voip provider, can I still have more than one SIP profile? My provider authenticates via IP Profiles bind to a single ip:port combination. You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP. On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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 _________________________________________________________________________ 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 -- Guillermo Ruiz Camauer _________________________________________________________________________ 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 _________________________________________________________________________ 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
Personally I prefer htop. You'll see CPU usage broken out for each core. top itself also has a similar option - run top and press '1' On 30 September 2013 20:26, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
Yes, TOP is giving me the 12.5% reading. I understand that this is an average reading of all cores. The fact that it never seems to go over 12.5% tells me that I am never using more than 1 core at a time, and that is is just the one process jumping around the different cores. Is this a valid assumption? I want to test using more threads to see if I a hitting a bottleneck with this..
Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
All, Thanks for the responses, specially for the tips on the tools. I have installed both htop and sysstat (mpstat) and I am monitoring my system. I will post back any relevant findings. Guillermo On Mon, Sep 30, 2013 at 9:15 PM, Steven Ayre <steveayre@gmail.com> wrote:
Personally I prefer htop. You'll see CPU usage broken out for each core.
top itself also has a similar option - run top and press '1'
On 30 September 2013 20:26, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
Yes, TOP is giving me the 12.5% reading. I understand that this is an average reading of all cores. The fact that it never seems to go over 12.5% tells me that I am never using more than 1 core at a time, and that is is just the one process jumping around the different cores. Is this a valid assumption? I want to test using more threads to see if I a hitting a bottleneck with this..
Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
Did you manage to track down the source of your problem? Any info you can post back will be useful to help others in the future that stumble across this thread! Cal On Tue, Oct 1, 2013 at 10:24 PM, Guillermo Ruiz Camauer <grcamauer@gmail.com
wrote:
All,
Thanks for the responses, specially for the tips on the tools. I have installed both htop and sysstat (mpstat) and I am monitoring my system. I will post back any relevant findings.
Guillermo
On Mon, Sep 30, 2013 at 9:15 PM, Steven Ayre <steveayre@gmail.com> wrote:
Personally I prefer htop. You'll see CPU usage broken out for each core.
top itself also has a similar option - run top and press '1'
On 30 September 2013 20:26, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
Yes, TOP is giving me the 12.5% reading. I understand that this is an average reading of all cores. The fact that it never seems to go over 12.5% tells me that I am never using more than 1 core at a time, and that is is just the one process jumping around the different cores. Is this a valid assumption? I want to test using more threads to see if I a hitting a bottleneck with this..
Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com>wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
Steven, Ah, I think I get it now: profiles LISTEN on an IP:PORT combination, so I can have many IP:PORT combinations to MAKE calls, as long as I send them to my provider's IP on the 5060 port, but I would only receive calls from my provider on my one profile bount to the IP:5060 port. Is this correct? Guillermo On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
As a diagnostic measure, you could try using taskset to bind the main freeswitch process to a single CPU, and then see if that CPU pegs at 100%. -- Nathan On 09/30/2013 02:36 PM, Guillermo Ruiz Camauer wrote:
Steven, Ah, I think I get it now: profiles LISTEN on an IP:PORT combination, so I can have many IP:PORT combinations to MAKE calls, as long as I send them to my provider's IP on the 5060 port, but I would only receive calls from my provider on my one profile bount to the IP:5060 port. Is this correct? Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
If I only have one Voip provider, can I still have more than one SIP profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@gmail.com <mailto:grcamauer@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@freeswitch.org <mailto: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 <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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 <mailto: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
-- Guillermo Ruiz Camauer
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Any idea why libsofia only handles 1 thread per profile? As mentioned before, you should run multiple profiles if this becomes a bottleneck, but running multiple profiles for inbound calls might not be suitable (i.e. if a provider gives you a number and will only send traffic to 1 IP/port at a time). Are there any other alternative workarounds? Cal On Mon, Sep 30, 2013 at 8:36 PM, Guillermo Ruiz Camauer <grcamauer@gmail.com
wrote:
Steven,
Ah, I think I get it now: profiles LISTEN on an IP:PORT combination, so I can have many IP:PORT combinations to MAKE calls, as long as I send them to my provider's IP on the 5060 port, but I would only receive calls from my provider on my one profile bount to the IP:5060 port. Is this correct?
Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
This is not going to be a bottleneck… Your going down the wrong road chasing this. Mike On Sep 30, 2013, at 4:05 PM, Cal Leeming [Simplicity Media Ltd] <cal.leeming@simplicitymedialtd.co.uk> wrote:
Any idea why libsofia only handles 1 thread per profile?
As mentioned before, you should run multiple profiles if this becomes a bottleneck, but running multiple profiles for inbound calls might not be suitable (i.e. if a provider gives you a number and will only send traffic to 1 IP/port at a time).
Are there any other alternative workarounds?
Cal
On Mon, Sep 30, 2013 at 8:36 PM, Guillermo Ruiz Camauer <grcamauer@gmail.com> wrote: Steven,
Ah, I think I get it now: profiles LISTEN on an IP:PORT combination, so I can have many IP:PORT combinations to MAKE calls, as long as I send them to my provider's IP on the 5060 port, but I would only receive calls from my provider on my one profile bount to the IP:5060 port. Is this correct?
Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote: If I only have one Voip provider, can I still have more than one SIP profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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?
Ignore my question, this has just been answered by Mike in IRC; For sake of archives; <MikeJ1> foxx[cleeming]: yes.. I know why.. thats how it was written… * AnGrYfUrBy (~AnGrYfUrB@pdpc/supporter/active/angryfurby) has joined #freeswitch <MikeJ1> that being said.. your not hitting that bottleneck <MikeJ1> and its a waste of time to track down <foxx[cleeming]> any reason it was written like that for? is it difficult/impossible to have multi threading in that part of fs? <MikeJ1> it is multi threaded in the freeswitch part <MikeJ1> its not an issue at all.. * foxx[cleeming] has very little understanding of the fundementals in C btw, so apologies if this is a stupid question <MikeJ1> no reason to spend another second thinking about it <foxx[cleeming]> lol okay, got it * sekil (~Ognjen@78.24.104.82) has joined #freeswitch <MikeJ1> its just the way the library was written <foxx[cleeming]> so the bottleneck in this case, is the time spent in parsing the udp packets rihgt? <MikeJ1> there is no bottleneck <MikeJ1> if you have a bottleneck… your doing way more traffic on one box than you should <foxx[cleeming]> ah, so we're talking like 100mbit+ before this becomes an issue right? <crienzo> i got 200 sessions per second before hitting any bottleneck in sofia <MikeJ1> talking 10's of thousands of calls and > 1000 cps… if your doing this.. it should be split up between multiple boxes using a proxy doing load bal <MikeJ1> crienzo: and its been improved sense then I think too.. thats why I was saying.. silly conversation for a non issue <foxx[cleeming]> yeah makes more sense now <crienzo> i think 200 is enough Cal On Mon, Sep 30, 2013 at 9:05 PM, Cal Leeming [Simplicity Media Ltd] < cal.leeming@simplicitymedialtd.co.uk> wrote:
Any idea why libsofia only handles 1 thread per profile?
As mentioned before, you should run multiple profiles if this becomes a bottleneck, but running multiple profiles for inbound calls might not be suitable (i.e. if a provider gives you a number and will only send traffic to 1 IP/port at a time).
Are there any other alternative workarounds?
Cal
On Mon, Sep 30, 2013 at 8:36 PM, Guillermo Ruiz Camauer < grcamauer@gmail.com> wrote:
Steven,
Ah, I think I get it now: profiles LISTEN on an IP:PORT combination, so I can have many IP:PORT combinations to MAKE calls, as long as I send them to my provider's IP on the 5060 port, but I would only receive calls from my provider on my one profile bount to the IP:5060 port. Is this correct?
Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
That'd probably be correct, though it'd really depend on the provider. Certainly sending to a single port is the simplest easiest setup, and therefore the most likely. Other possibilities would be round-robin or failover distribution among a number of ip:port addresses or SIP registrations, or controlling which calls are routed to based on prefix. But you probably won't have those options. On 30 September 2013 20:36, Guillermo Ruiz Camauer <grcamauer@gmail.com>wrote:
Steven,
Ah, I think I get it now: profiles LISTEN on an IP:PORT combination, so I can have many IP:PORT combinations to MAKE calls, as long as I send them to my provider's IP on the 5060 port, but I would only receive calls from my provider on my one profile bount to the IP:5060 port. Is this correct?
Guillermo
On Mon, Sep 30, 2013 at 4:11 PM, Steven Ayre <steveayre@gmail.com> wrote:
If I only have one Voip provider, can I still have more than one SIP
profile? My provider authenticates via IP
Profiles bind to a single ip:port combination.
You could run multiple profiles each on a separate port. That way they'll all send to the provider using the same IP.
On 30 September 2013 18:54, Guillermo Ruiz Camauer <grcamauer@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@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
_________________________________________________________________________ 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
-- Guillermo Ruiz Camauer
_________________________________________________________________________ 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
participants (8)
-
Avi Marcus
-
Cal Leeming [Simplicity Media Ltd]
-
Guillermo Ruiz Camauer
-
Michael Jerris
-
Nathan Neulinger
-
Stanislav Sinyagin
-
Steven Ayre
-
William King