Sound Not Ok(Choppy Sound) after 250 ports
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.
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@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@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-dev mailing list FreeSWITCH-dev@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Not to mention network bandwidth too. On 10 April 2013 17:33, Anthony Minessale <anthony.minessale@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@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@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-dev mailing list FreeSWITCH-dev@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
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@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@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@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-dev mailing list FreeSWITCH-dev@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
That's a very hard question to answer. There's a large number of factors that come in, not just the number of calls. CPU gets limited by what you're doing on the calls as well as just the number of them. Things like transcoding will increase the CPU usage per call and therefore reduce the number of calls you can handle. The amount of CPU used will vary between codecs. Conferencing, recording, voicemail etc too. Disk I/O might become an issue if you're doing a lot of recording or too much logging. And there are a number of factors about your OS that you can tune. Moving the core DB to either a ramdisk, ODBC or PgSQL can also have an effect. In short you need to load-test your specific use case since it may vary from what others are doing. Try starting here: http://wiki.freeswitch.org/wiki/Performance_testing_and_configurations The easier limit to calculate is network bandwidth. That's related which codec you use and and the ptime you use (higher ptime = more fits in a single packets, so less overhead but you lose more if packets get lost). Try http://www.bandcalc.com/ to start with (though it doesn't list many codecs). If you're hearing the sound cutting in/out it could be packet loss rather than the server if the network isn't able to keep up. Use wireshark to capture the RTP stream and analyse it, look for packet loss or jitter. -Steve On 12 April 2013 07:41, Subhash <gvvsubhashkumar@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@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@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@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-dev mailing list FreeSWITCH-dev@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@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@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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
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@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@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@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@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-dev mailing list FreeSWITCH-dev@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@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@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@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-dev mailing list FreeSWITCH-dev@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
participants (4)
-
Anthony Minessale
-
Michael Collins
-
Steven Ayre
-
Subhash