[Freeswitch-users] Optimizing profile

Cal Leeming [Simplicity Media Ltd] cal.leeming at simplicitymedialtd.co.uk
Tue Oct 8 18:07:00 MSD 2013


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 at 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 at 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 at 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 at 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 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
>>>
>>>
>>
>> _________________________________________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131008/519c9618/attachment.html 


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