[Asterisk-Users] SIP calls-per-second performance test tool

Juan J. Sierralta P. juanjo at atmlab.utfsm.cl
Wed May 12 15:15:56 MST 2004


On Wed, 2004-05-12 at 14:39, Chris A. Icide wrote:
> JT,
> 
> I ran this against my home office asterisk box (4 analog lines, about 20 
> sip UA's, 2.6G P4, 512MB system).  I just ran the basic test, routing the 
> request to Playback(invalid) then Hangup.
> 
> During the test I had two UA's (a cisco 7960 and an analog phone connected 
> to an ATA 186) dialed into MoH.
> 
> Asterisk was running in background with no options to the command line, and 
> one remote CLI connection.
> 
> The system was able to handle 20 calls per second without any call 
> failures.  Beyond 20 calls per second I began to see call failure.  The 
> quality of the two MoH calls was perfect the entire time.
> 
> I then proceeded to crank up the call volume and right about 200 calls per 
> second, all call attempts became failures, and no new calls succeeded).  At 
> this point I got some interesting errors on the CLI related to maximum file 
> descriptors (which I didn't worry too much about at the time), however, 
> when I cranked the call volume back down to under 20 cps, all calls still 
> failed.  I had to shut down asterisk and restart to restore the 
> system.  However on an interesting note, at no time during any of the tests 
> did the MoH calls lose quality or suffer any artifacts.
> 
> Interesting program, and I'll set up a much more scientific test system and 
> post some results on multiple systems (1G Pentium, 2.6G Pentium, and a Dual 
> AMD system on 2.4 and 2.6 kernels) sometime soon.

	Did you increase file descriptors and RTP ports ?

	SIPP can run as UAS also so I setup a UAC and UAS to receive the calls,
the problem I saw was that when the SIPP UAC sends a BYE to * it hangups
the channel but doesn´t send the corresponding BYE to the SIPP UAS so
the UASS think that the call wasn´t teared down.
	So I noted if I used nat=yes for SIPP UAS and UAC everything went fine
I think maybe this is related to the sockets used for each SIPP thread
since by default it uses the same socket for each call.
	I´ll post some results later.

-- 
Juanjo sin .sig




More information about the asterisk-users mailing list