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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080815/02f6b527/attachment.htm
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
I had done something similar in the past, and I have one suggestion that may be helpful; the call files are set to be checked every second, which can bottleneck the system a bit. You can modify the code (pbx_spool.c) to check in fractions of a second, which should keep the calls more fluid. You'll also want to make sure whatever process you're using to make the call files can easily be stopped or paused, and that you have a limit on the number of files that can exist in the file at one time. Mik 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
On Fri, Aug 15, 2008 at 8:31 AM, aby azid <aby.azid at gmail.com> 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. >Hi, I've written test framework, you'll need another machine with Asterisk (+php) on it to generate calls. It allows to write scripts in PHP to emulate random customer actions, etc.. You can download it here http://ftp.iq-labs.net/pbx-test/ If you find it useful, or get into some problems, don't hesitate to write me. If you need just bunch of identical calls, you may also try out SIPp. Regards, Atis -- Atis Lezdins, VoIP Project Manager / Developer, atis at iq-labs.net Skype: atis.lezdins Cell Phone: +371 28806004 Cell Phone: +1 800 7300689 Work phone: +1 800 7502835