[asterisk-users] Asterisk stress call test
Mik Cheez
michael_bulk at wildgate.com
Fri Aug 15 12:04:02 CDT 2008
Aby,
Assuming you're building Asterisk from source, you can change the
following in the scan_thread function:
change-
sleep(1);
to-
/*sleep(1);*/
usleep(100000);
This will change the delay from 1 second to 100000 microseconds (0.1
second).
Of course Al's question is more relevant, as placing a thousand SIP
calls is much different than sending calls through a ZAP channel. If
SIP, then what codec? Also, you're going to find that Asterisk isn't
the bottleneck in the scenario, but rather the computer (or computers)
itself. You can look around www.voip-info.org to see how other users
performance tests look before trying your own stress test. This will
allow you to estimate your own performance before making call 1.
Best regards,
Mik
aby azid wrote:
> Hi,
>
> Thanks for the reply mates, to Al Baker, It's a stress test for Asterisk
> outgoing calls, this is to see how Asterisk cope when thousands(1000 -
> 2000) of calls made simultaneously from the server.
>
> To Mik, where do I find the pbx_spool.c ?, really appreciate if u can
> explain more details on the method you used.
>
> Cheers,
> Aby Azid
> Vyke Asia
>
> On Fri, Aug 15, 2008 at 1:45 PM, Saul Bejarano <saul at procomm100.com
> <mailto:saul at procomm100.com>> wrote:
>
> Remember the rule of 30Mhz per call when you kill the machine and also
> the bandwidth usage on connected calls.
>
> Kind regards,
>
> Saul Bejarano
>
> aby azid wrote:
> > Hi everyone,
> >
> > I'm required to make a stress call on Asterisk server ( > 2000 calls
> > per seconds). Are there tools for me to do this sort of test. I was
> > thinking of sending loads of Asterisk call files simultaneously
> > (starting with 100 call files). Really appreciate if anyone can
> come up
> > with ideas or tools for me to achieve this.
> >
> > Cheers,
> > Aby Azid
> > Vyke Asia
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > Register Now: http://www.astricon.net
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list