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

Ali Pey alipey at gmail.com
Fri Jun 27 16:09:37 MSD 2014


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
> 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> 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
>> 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=1cff4656-a22a-4280-9595-28d217c01fc7&cm_destination=>
>> 
>> <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
>>
>> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=14e1a431-97a8-40f8-8da9-24343b8d67ae&cm_destination=http://www.freeswitch.org>
>> 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>
>>
>> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=f3d270a1-56f0-4bf7-bb18-592d4e25ff24&cm_destination=http://wiki.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>
>>
>> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=f8766d0f-35c3-4b50-9bfb-72967d772906&cm_destination=http://www.cluecon.com>
>> 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
>> 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>
>>
>> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=d56663a2-0974-404f-8e4a-f7dbadcb6b00&cm_destination=http://www.freeswitch.org>
>> 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
> 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=910a829b-8c90-45ca-815c-a43a5dcef37f&cm_destination=>
> 
> <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
>
> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=a7b59abd-d326-4b72-a317-a0b74899f408&cm_destination=http://www.freeswitch.org>
> 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>
>
> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=7caae55d-419d-4840-bfaa-e37ec0cff403&cm_destination=http://wiki.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>
>
> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=78861f6e-1302-4e0b-b3f1-c8ebacef5b99&cm_destination=http://www.cluecon.com>
> 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
> 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>
>
> <https://contactmonkey.com/api/tracker?cm_session=c6e7bb42-d00d-46cc-bfdd-e3072b818af8&cm_type=link&cm_link=0c9205c6-f5fa-4964-81ad-13628f8168ce&cm_destination=http://www.freeswitch.org>
> 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>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140627/d421f19a/attachment-0001.html 


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