RTP Packet Loss Troubleshooting
I have installed freeswitch and testing with SiPP FreeSwitch was easily able to handle 1700 concurrent calls. However when it starts going near 2000 my RTP packets are being lost and audio is totally gone in some cases. How do i troubleshoot this ? And how to tune RTP performance for FreeSwitch. I checked that CPU is not fully utilized and is somewhere around 40% range and memory is only at 10%. Also network interface is not fully utilized as well as i was able to transfer files from server and interface was able to handle much more bandwidth than it was running. Please help.
The easiest solution would probably be increasing the rtp-packetsize to 30-40ms instead of the default of 20. However, you're increasing the latency then. I suppose one could automatically start doing things like this based on rtcp. Michel On Thu, Oct 16, 2014 at 2:39 PM, Linux Vince <linuxv@gmail.com> wrote:
I have installed freeswitch and testing with SiPP
FreeSwitch was easily able to handle 1700 concurrent calls.
However when it starts going near 2000 my RTP packets are being lost and audio is totally gone in some cases.
How do i troubleshoot this ? And how to tune RTP performance for FreeSwitch.
I checked that CPU is not fully utilized and is somewhere around 40% range and memory is only at 10%.
Also network interface is not fully utilized as well as i was able to transfer files from server and interface was able to handle much more bandwidth than it was running.
Please help.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
Hi Michel, Thanks much for answer. How can i change RTP packet size in FreeSwitch? Is there a config file i should modify? I am new to this and not really sure what you mean by RTCP. Can you point me in right direction? Thanks, Vishal On Thu, Oct 16, 2014 at 7:49 PM, Michel Brabants <michel.brabants@gmail.com> wrote:
The easiest solution would probably be increasing the rtp-packetsize to 30-40ms instead of the default of 20. However, you're increasing the latency then. I suppose one could automatically start doing things like this based on rtcp.
Michel
On Thu, Oct 16, 2014 at 2:39 PM, Linux Vince <linuxv@gmail.com> wrote:
I have installed freeswitch and testing with SiPP
FreeSwitch was easily able to handle 1700 concurrent calls.
However when it starts going near 2000 my RTP packets are being lost and audio is totally gone in some cases.
How do i troubleshoot this ? And how to tune RTP performance for FreeSwitch.
I checked that CPU is not fully utilized and is somewhere around 40% range and memory is only at 10%.
Also network interface is not fully utilized as well as i was able to transfer files from server and interface was able to handle much more bandwidth than it was running.
Please help.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
Do you see all cores (with 'htop') at 40% of usage or there is one near 100%? On Thu, Oct 16, 2014 at 2:39 PM, Linux Vince <linuxv@gmail.com> wrote:
I have installed freeswitch and testing with SiPP
FreeSwitch was easily able to handle 1700 concurrent calls.
However when it starts going near 2000 my RTP packets are being lost and audio is totally gone in some cases.
How do i troubleshoot this ? And how to tune RTP performance for FreeSwitch.
I checked that CPU is not fully utilized and is somewhere around 40% range and memory is only at 10%.
Also network interface is not fully utilized as well as i was able to transfer files from server and interface was able to handle much more bandwidth than it was running.
Please help.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
Are you sure you are not on a 100mb or 1/2 duplex link in your network path? These sorts of issues typically get down to network hardware, network drivers, os cache settings, and that sort of thing. Lots of devices and hardware do not care for high packets per second of voip. This could just be a junk switch in the mix.
On Oct 16, 2014, at 8:39 AM, Linux Vince <linuxv@gmail.com> wrote:
I have installed freeswitch and testing with SiPP
FreeSwitch was easily able to handle 1700 concurrent calls.
However when it starts going near 2000 my RTP packets are being lost and audio is totally gone in some cases.
How do i troubleshoot this ? And how to tune RTP performance for FreeSwitch.
I checked that CPU is not fully utilized and is somewhere around 40% range and memory is only at 10%.
Also network interface is not fully utilized as well as i was able to transfer files from server and interface was able to handle much more bandwidth than it was running.
Please help.
check for dropped packets on the interfaces On Mon, Nov 24, 2014 at 10:00 AM, Michael Jerris <mike@jerris.com> wrote:
Are you sure you are not on a 100mb or 1/2 duplex link in your network path? These sorts of issues typically get down to network hardware, network drivers, os cache settings, and that sort of thing. Lots of devices and hardware do not care for high packets per second of voip. This could just be a junk switch in the mix.
On Oct 16, 2014, at 8:39 AM, Linux Vince <linuxv@gmail.com> wrote:
I have installed freeswitch and testing with SiPP
FreeSwitch was easily able to handle 1700 concurrent calls.
However when it starts going near 2000 my RTP packets are being lost and audio is totally gone in some cases.
How do i troubleshoot this ? And how to tune RTP performance for FreeSwitch.
I checked that CPU is not fully utilized and is somewhere around 40% range and memory is only at 10%.
Also network interface is not fully utilized as well as i was able to transfer files from server and interface was able to handle much more bandwidth than it was running.
Please help.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 (5)
-
Linux Vince
-
Michael Jerris
-
Michel Brabants
-
Russell Treleaven
-
Stephen Wilde