[Freeswitch-users] Problems with RTP delay at around 300 concurrent calls

Andre andretodd at verizon.net
Fri Jun 27 19:49:37 MSD 2014


   <param name="rtp-timeout-sec" value="300"/> change to   <param name="rtp-timeout-sec" value="0"/> or   <param name="rtp-timeout-sec" value="zero"/>?

 

 

 

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Guillermo Ruiz Camauer
Sent: Friday, June 27, 2014 11:38 AM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Problems with RTP delay at around 300 concurrent calls

 

Ali,

 

 

What benefits and or consecuences does setting rtp-timer-name to none and rtp-timeout-sec to zero bring about?

 

Thanks,

 

Guillermo

 

On Fri, Jun 27, 2014 at 9:09 AM, Ali Pey <alipey at gmail.com <mailto:alipey at gmail.com> > wrote:

Hi David,

 

Yes, we have done more than 1000 concurrent calls. Here are a few things we needed to do:

 

1) Add the following to /etc/security/limits.conf

*         hard    nofile      65536

*         soft    nofile      65536

root      hard    nofile      65536

root      soft    nofile      65536

 

freeswitch hard stack 10240

freeswitch soft stack 244

 

freeswitch hard nproc unlimited

freeswitch soft nproc unlimited

 

 

2) Add the followings to /etc/init.d/freeswitch

        ulimit -c unlimited

        ulimit -d unlimited

        ulimit -f unlimited

        ulimit -i unlimited

        ulimit -n 999999

        ulimit -q unlimited

        ulimit -u unlimited

        ulimit -v unlimited

        ulimit -x unlimited

        ulimit -s 240

        ulimit -l unlimited

 

3) Set rtp-timer-name to none and rtp-timeout-sec to zero in your sip profile.

 

 

Regards,

Ali Pey

 

On Tue, Jun 24, 2014 at 3:42 PM, Guillermo Ruiz Camauer <grcamauer at gmail.com <mailto:grcamauer at gmail.com> > wrote:

Have you tried spreading the calls over more than 1 SIP profile?  Each SIP profile gets its own thread.

 

Also, is this all within your LAN?  No firewalls/filters?  Are you sure you are linking at 1Gbps, full duplex?

 

Guillermo

 

On Sat, Jun 7, 2014 at 2:22 PM, D D <tru083 at yahoo.com <mailto:tru083 at yahoo.com> > wrote:

Hi,

 

I would like to put 500 - 1000 calls into a FS system.  

 

I have a Dell R900 server with these properties:

   8 processors at 2.40GHz

   8GB RAM

   Gigabit ethernet

 

I use sipp to send RTP streams.

 

I use the FS settings recommended here:

   https://wiki.freeswitch.org/wiki/Performance_testing_and_configurations <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=7e360a1f-cf3a-4b18-86e3-239b2604c34b&cm_destination=https://wiki.freeswitch.org/wiki/Performance_testing_and_configurations> 

including the in-memory core.db.

 

I also have used the "-rp" and "-nosql" settings on the FS command-line, and

also used the "chrt" command to increase the priority to real-time.

 

In all cases, at around 300 concurrent calls, the RTP inter-packet delay becomes

unacceptably high.  The voice quality is severely impacted.

 

During the test, the CPU is not overloaded.  It is using only about 1.5 of the 8 processors.

 

Are these results expected?

 

Has anyone gone higher than 300 concurrent calls?

 

Is there anything else that I can do with configuration to improve throughput?

 

Thanks,

David

 

 

 

 

 

 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=2948a5bf-4e7a-494f-b0b4-63d67ead4ef3&cm_destination=http://www.freeswitchsolutions.com> 


 <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=3403d37b-7a13-4890-94c6-b82682cdc4da&cm_destination=> 

Official FreeSWITCH Sites
http://www.freeswitch.org <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=5987c3ed-e2f0-4a49-9f65-5119a1e789cc&cm_destination=http://www.freeswitch.org> 
http://wiki.freeswitch.org <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=15351782-2a38-489c-ae2e-8d7b24fb220c&cm_destination=http://wiki.freeswitch.org> 
http://www.cluecon.com <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=5258f0a2-7e2c-41e6-8e68-8f0915c8af79&cm_destination=http://www.cluecon.com> 

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=b26d2ad4-f432-488e-9b36-74b4df7d02ff&cm_destination=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> 
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=d1d4884d-f6fe-447f-8948-4ee14a2c08af&cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users> 
http://www.freeswitch.org <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=7683450b-96d4-415b-98ca-902b24c7ecf4&cm_destination=http://www.freeswitch.org> 





 

-- 
Guillermo Ruiz Camauer


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=6d9408cf-5e17-425f-91af-681541157fed&cm_destination=http://www.freeswitchsolutions.com> 


 <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=9c4e1c68-ca53-4d9f-bace-47639a4b089c&cm_destination=> 

Official FreeSWITCH Sites
http://www.freeswitch.org <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=ebfb92df-32ea-46ce-910a-17e617c75c76&cm_destination=http://www.freeswitch.org> 
http://wiki.freeswitch.org <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=49697cec-f092-4b8d-a2bd-63fc18c1895a&cm_destination=http://wiki.freeswitch.org> 
http://www.cluecon.com <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=e00a1bcb-2ec8-4700-8272-d5fb794c9493&cm_destination=http://www.cluecon.com> 

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=3c40999c-53be-474a-9fad-99af38eabfed&cm_destination=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> 
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=40f275fa-9031-4526-a37e-8ebf9f4d8693&cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users> 
http://www.freeswitch.org <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=a5db476c-fa6c-403b-919e-81a6d1ca712f&cm_destination=http://www.freeswitch.org> 

 

  <https://contactmonkey.com/api/v1/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=open&cm_user_email=alipey@gmail.com>   <https://contactmonkey.com/api/v1/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=open&cm_user_email=alipey@gmail.com> 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto: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 <mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140627/532ccf3d/attachment-0001.html 


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