[Freeswitch-users] Load test - performance not even matching Asterisk
Anthony Minessale
anthony.minessale at gmail.com
Mon Oct 6 06:22:02 PDT 2008
%(60000,0,300) means to generate a 60 second long 300hz tone
%(5,0,300) means a 5 ms long 300hz tone
if you are just trying to send a tone you are better off with
<action application="gentones" data="%(1000,0,300)|60"/>
which only generates 1 second of audio then buffers and loops it via the
application
rather than allocating enough room for 60 seconds of signed linear audio and
generating
the whole 60 seconds into memory for no reason vs 1 second sample looped 60
times.
No matter what you do it will not effect the bandwidth used, it's a factor
of what codec you are using.
On Mon, Oct 6, 2008 at 4:15 AM, Jon Bruel <jbr at consiglia.dk> wrote:
> Resolved: I have made further tests, and my final conclusion is that the
> previous stated test results were screwed by the application 'gentones'.
> This application does in some cases send more rtp than expected. If I
> used:
> <action application="gentones" data="%(5,0,300)"/>
> <action application="gentones" data="%(5,0,300)"/>
> <action application="gentones" data="%(60000,0,300)"/>
> the expected rtp of 8600 kB/s was transmitted. If I used
> <action application="gentones" data="%(60000,0,300)"/>
> <action application="gentones" data="%(5,0,300)"/>
> <action application="gentones" data="%(5,0,300)"/>.
> the rtp was 34600 kB/s, and the memory is heavily consumed. The only
> difference being the sequence of the gentones commands. I don't know if
> this is the expected behaviour of 'gentones' or not, but it certainly
> screwed up the results previously posted. /Jon
>
>
> _______________________________________________
> 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
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081006/6a2401c4/attachment-0002.html
More information about the FreeSWITCH-users
mailing list