[Freeswitch-users] RTP delay > 100ms by performance testing with freeswitch as trancoding device SILK to G711a

Hoexum, Edwin edwin.hoexum at office.ziggo.nl
Tue Jul 3 15:05:59 MSD 2012


I have this parameters.


Is there some other parameters where I can



<param name="max-sessions" value="20000"/>
    <!--Most channels to create per second -->
    <param name="sessions-per-second" value="5000"/>


root at mnd-rc0001-srvot06:/usr/local/freeswitch/conf/autoload_configs# vim switch.conf.xml

<configuration name="switch.conf" description="Core Configuration">

  <cli-keybindings>
    <key name="1" value="help"/>
    <key name="2" value="status"/>
    <key name="3" value="show channels"/>
    <key name="4" value="show calls"/>
    <key name="5" value="sofia status"/>
    <key name="6" value="reloadxml"/>
    <key name="7" value="console loglevel 0"/>
    <key name="8" value="console loglevel 7"/>
    <key name="9" value="sofia status profile internal"/>
    <key name="4" value="show calls"/>
    <key name="5" value="sofia status"/>
    <key name="6" value="reloadxml"/>
    <key name="7" value="console loglevel 0"/>
    <key name="8" value="console loglevel 7"/>
    <key name="9" value="sofia status profile internal"/>
    <key name="10" value="sofia profile internal siptrace on"/>
    <key name="11" value="sofia profile internal siptrace off"/>
    <key name="12" value="version"/>
  </cli-keybindings>

  <default-ptimes>
    <!-- set this to override the 20ms assumption of various codecs in the sdp with no ptime defined -->
    <!--<codec name="G729" ptime="40"/>-->
  </default-ptimes>

  <settings>
    <!--Colorize the Console -->
    <param name="colorize-console" value="true"/>

    <!-- Run the timer at 20ms by default and drop down as needed unless you set 1m-timer=true which was previous default -->
    <!-- <param name="1ms-timer" value="true"/> -->

    <!--
    Set the Switch Name for HA environments.
    When setting the switch name, it will override the system hostname for all DB and CURL requests
    allowing cluster environments such as RHCS to have identical FreeSWITCH configurations but run
    as different hostnames.
    -->
    <!-- <param name="switchname" value="freeswitch"/>-->

    <!-- maximum number of simo db handles open -->
    <!-- <param name="max-db-handles" value="50"/> -->
    <param name="max-db-handles" value="200"/>
    <!-- maximum number of seconds to wait for a new db handle before failing -->
    <param name="db-handle-timeout" value="10"/>

    <!-- minimum idle CPU before refusing calls -->
    <!--<param name="min-idle-cpu" value="25"/>-->

    <!--
        Max number of sessions to allow at any given time.

        NOTICE: If you're driving 28 T1's in a single box you should set this to 644*2 or 1288
        this will ensure you're able to use the entire DS3 without a problem.  Otherwise you'll
        be 144 channels short of always filling that DS3 up which can translate into waste.
    -->
    <param name="max-sessions" value="20000"/>
    <!--Most channels to create per second -->
    <param name="sessions-per-second" value="5000"/>
    <!-- Default Global Log Level - value is one of debug,info,notice,warning,err,crit,alert -->
    <param name="loglevel" value="err"/>
        <!-- The min-dtmf-duration specifies the minimum DTMF duration to use on
             outgoing events. Events shorter than this will be increased in duration
                 to match min_dtmf_duration. You cannot configure a dtmf duration on a
                 profile that is less than this setting. You may increase this value,
                 but cannot set it lower than 400. This value cannot exceed
                 max-dtmf-duration. -->
    <!--<param name="min-dtmf-duration" value="400"/>-->
        <!-- The max-dtmf-duration caps the playout of a DTMF event at the specified
             duration. Events exceeding this duration will be truncated to this
                 duration. You cannot configure a duration on a profile that exceeds
                 this setting. This setting can be lowered, but cannot exceed 192000.
                 This setting cannot be set lower than min_dtmf_duration. -->
    <!--<param name="max-dtmf-duration" value="192000"/>-->
        <!-- The default_dtmf_duration specifies the DTMF duration to use on
             originated DTMF events or on events that are received without a
                 duration specified. This value can be increased or lowered. This
                 value is lower-bounded by min_dtmf_duration and upper-bounded by
                 max-dtmf-duration\. -->
    <!--<param name="default-dtmf-duration" value="2000"/>-->
    <!--
         If you want to send out voicemail notifications via Windows you'll need to change the mailer-app
         variable to the setting below:

       <param name="mailer-app" value="msmtp"/>

         Do not change mailer-app-args.
         You will also need to download a sendmail clone for Windows (msmtp). This version works without issue:
         http://msmtp.sourceforge.net/index.html. Download and copy the .exe to %winddir%\system32.
         You'll need to create a small config file for smtp credentials (host name, authentication, tls, etc.) in
         %USERPROFILE%\Application Data\ called "msmtprc.txt". Below is a sample copy of this file:

         ###################################
         # The SMTP server of the provider.
         account provider
         host smtp.myisp.com
         from john at myisp.com
         auth login
         user johndoe
         password mypassword

         # Set a default account
         account default : provider
         ###################################

 -->
    <param name="mailer-app" value="sendmail"/>
    <param name="mailer-app-args" value="-t"/>
    <param name="dump-cores" value="yes"/>
    <!-- enable verbose-channel-events to dump every detail about a channel on every event  -->
    <!--<param name="verbose-channel-events" value="no"/>-->
    <!--RTP port range -->
    <!--<param name="rtp-start-port" value="16384"/>-->
    <!--<param name="rtp-end-port" value="32768"/>-->
    <param name="rtp-enable-zrtp" value="true"/>
    <!-- <param name="core-db-dsn" value="dsn:username:password" /> -->
    <!-- Allow to specify the sqlite db at a different location (In this example, move it to ramdrive for better performance on most linux distro (note, you loose the data if you reboot)) -->
    <!-- <param name="core-db-name" value="/dev/shm/core.db" /> -->
    <!-- The system will create all the db schemas automatically, set this to false to avoid this behaviour-->
    <!--<param name="auto-create-schemas" value="true"/>-->
    <!-- <param name="core-dbtype" value="MSSQL"/> -->
    <!-- Allow multiple registrations to the same account in the central registration table -->
    <!-- <param name="multiple-registrations" value="true"/> -->
  </settings>

</configuration>
mvg,
Edwin

Edwin Hoexum | Senior Systeeem Specialist | Voice Management
_________________________________________________________________
Dr. van Deenweg 120, Zwolle | Postbus 9501 | 9703 LM Groningen | www.ziggo.nl
Tel: +31887172699 | Mobiel: +31655148679| e-mailadres: Edwin.hoexum at office.ziggo.nl
Werk Locaties:
Maandag en Woensdag locatie Utrecht
Dinsdag, Donderdag en Vrijdag locatie Zwolle


-----Oorspronkelijk bericht-----
Van: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Namens Eugene Shcherbatyuk
Verzonden: vrijdag 29 juni 2012 8:39
Aan: FreeSWITCH Users Help
Onderwerp: Re: [Freeswitch-users] RTP delay > 100ms by performance testing with freeswitch as trancoding device SILK to G711a

Session limit is configurable. Have a look at switch.conf.xml file.


On 28/06/12 21:41, Hoexum, Edwin wrote:
>
> I am trying to do some load testing on a freeswitch for transcoding from
> SILK to G711a.  The question is:  Is  the limit  for RTP sessions
> limited to CPU power or are there also limits on the freeswitch
> application and can I tune freeswitch to do the job for 1500 sessions or
> more.


=========================================================

Данное сообщение и любые вложения («Сообщение») являются конфиденциальными, предназначенными исключительно для адресатов, и могут содержать сведения, охраняемые в соответствии с законодательством. Любое несанкционированное использование или распространение Сообщения запрещено. Электронная почта не гарантирует подлинности Сообщений. Ни ЗАО "АКБ "БЕЛРОСБАНК", ни любые его подразделения или дочерние организации не несут ответственности за Сообщение в случае его подмены, изменения либо фальсификации.

=========================================================

This message and any attachments (the “message”) are confidential, intended solely for the addressees, and may contain legally privileged information. Any unauthorized use or dissemination is prohibited. E-mails are susceptible to alteration. Neither JSC “BELROSBANK” nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.

=========================================================

_________________________________________________________________________
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

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
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

This message is confidential and may be privileged. Any review, retransmission, dissemination or other use of, taking any action with reference to this information by persons other then the intended recipient is prohibited. If you receive this message in error, please notify the sender by reply e-mail and delete this message from all computers. Please note that e-mails are susceptible to change. The sender will not accept liability for the improper or incomplete transmission of the information contained in this message.

Spaar het milieu door deze e-mail niet te printen/Please consider the environment before printing this email.


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list