[Asterisk-Users] Performance testing of asterisk

Scott Stingel scott at evtmedia.com
Tue Aug 17 02:29:11 MST 2004


Hi Tom-

I wrote that (rudimentary) Perl script last year to simulate traffic from
one system to another, although it can also be used between spans on the
same machine.  It's much better to have the load generated on a separate
system , for obvious reasons.  A couple of things:  the traffic generating
spans should be set up as pri_net in zapata.conf.   Also, you need an E1
crossover cable from sender to receiver.  This is wired as:

1  --  4
2  --  5
4  --  1
5  --  2

I didn't see the rest of the thread here, but if your configuration involves
transcoding, you need to build this in to your test too.  I understand that
there are software VoIP load generator programs that can do just this.

If you are using T1's or E1's, I hope that my script will be useful in some
way, as I found that there is a call setup/teardown load too when lots of
calls are handled.

Regards
Scott Stingel 


Scott M. Stingel
President,
Emerging Voice Technology, Inc.
Palo Alto California & London England
www.evtmedia.com 

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Patrick
Sent: Tuesday, August 17, 2004 1:38 AM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Performance testing of asterisk

On Tue, 2004-08-17 at 02:17, Tom Masterson wrote:
> What we are finding is that things work quite well with a small number 
> of users/agents and callers i.e 10 or less.  However when we put the 
> stuff in production (normally changes to the configurations) where 
> they can and are hit with hundreds of callers among some 60 or 70 
> agents we have major failures.  What we are trying to do is come up 
> with some automated way of creating the same effect so we can test 
> changes before they go out to the rest of the group.  The generator 
> does not have to be the same box as the test asterisk box but we need 
> to recreate the scenarios as much as possible.
> 

Scott [forgot surname] from Emerging Technologies (search the list messages
from 2003) sent the attached script to the list during a discussion about
stress testing asterisk. Iirc it works by looping 2 T1/E1/PRI ports on the
same box and sending calls back and forth. Think it was possible also to
loop calls between 2 asterisk boxes. Hope it is helpful.

Regards,
Patrick





More information about the asterisk-users mailing list