[Freeswitch-dev] Sound Not Ok(Choppy Sound) after 250 ports
Michael Collins
msc at freeswitch.org
Fri Apr 12 22:29:42 MSD 2013
It sounds like you've already found that magic value. Like Steven says,
it's very difficult to have a pure formula because of all of the factors
that are beyond the control of the FreeSWITCH software. However, you're
doing one thing quite correctly: putting real calls on a real server and
listening to them. If there is a formula it must include having a
knowledgeable person sitting down and actually listening to the calls to
hear what happens when the audio starts to go bad.
Steven mentioned some other good points as well. First off, you need to
make sure that you aren't experiencing any packet loss. He mentioned
Wireshark specifically. I'd like to suggest that you add
pcapsipdump<http://wiki.freeswitch.org/wiki/Packet_Capture#pcapsipdump>to
your toolbox. It grabs signaling and audio for an individual phone
call
and puts it all in a single file on disk. That makes it much easier to pick
out a specific phone call and analyze it in Wireshark.
Some other things you can try: run top command and see what your CPU usage
is. Get iotop and see if there's anything issues with information flowing
in/out NICs or to/from HDDs. Also, get another server and use faster CPU,
more RAM, faster HDDs, etc. and see if your magic number changes on that
server.
I'm afraid that there's no simple formula. Of course, if there was then
we'd all be out of a job. :)
-Michael
On Thu, Apr 11, 2013 at 11:41 PM, Subhash <gvvsubhashkumar at gmail.com> wrote:
> Thanks,
>
> Can you please explain in detail what is that value and according to that
> how can i set the max sessions in freeswitch.How can i find the call limit
> of freeswitch on a particular OS.Do we have any formula to find the max
> call limit.
>
>
>
> Thanks,
> Subhash.
>
>
> On Wed, Apr 10, 2013 at 10:03 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> Each physical setup has its own limitations. It's relevant to the
>> hardware and software configurations on the box.
>>
>> Once you find that value for your particular machine, you can set the max
>> sessions to that number.
>>
>>
>>
>> On Wed, Apr 10, 2013 at 2:32 AM, Subhash <gvvsubhashkumar at gmail.com>wrote:
>>
>>> Hi,
>>> I ran the load test, raising the port count slowly (every 5 to 10
>>> minutes or so) to 100, 150, 200, 250, 275 and 300 ports.
>>>
>>> There were no audio problems until I reached 275 ports. After probably
>>> 10 minutes at 275 ports, audio problems started, and after that they were
>>> consistent.
>>> Of course I can’t guarantee that there were no audio problems at lower
>>> port counts - if the problem only occurred intermittently I might not have
>>> caught it or I might not have waited long enough.
>>>
>>> Once the audio problems started, I slowly lowered the number of ports
>>> back to 250 ports. The audio problems disappeared after about 2 1/2 minutes
>>> at 250 ports.
>>> I then increased the number of ports back to 275 ports.
>>>
>>> Thanks,
>>> Subhash.
>>>
>>> _________________________________________________________________________
>>> 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-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _________________________________________________________________________
>> 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-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> 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-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130412/b3fb52b7/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev
mailing list