[asterisk-users] Asterisk load testing

Erick Perez eaperezh at gmail.com
Tue Aug 15 06:59:50 MST 2006


Nitin:
Some generalized specs:

A voice call takes aprox. 30MHZ of CPU.
In your spec, a  dual 240 (1.4Ghz) may take up to: 1400/30=46 calls x
2 = 92 calls
Im just talking G711 here.

I have not taken into account if you're going to use voicemail, AGI,
etc,etc,. Just plain calls.

I also have not taken into account how many phones can register to
this machine. Personally, I make calls, not registrations, so it is
useless to me to know that a billion phones can register to a given
asterisk machine but only 100 can make calls.

So, my personal point of view is that your machine can do 92 calls
(SIP TO ZAP) at full g711 quality with at least 4 times the
registrations (that means about 400 phones can register). However, due
to the CPU structure of Opterons, that number may be a little high.

As Martin said, look the archives. There are gallizions of
configurations that can help you, or, use/rent products like ABACUS or
the asterisk load tester.

And about howe much internet bandwidth a codec requieres, well, look
for the codec size/payload and add a few kilobits of IP overhead.
Example: G711 is 64 kilobits per second, a conservative figure will be
to add 16 kilobits of overhead so the total size of a g711
transmission will be (64+16) 80 Kilobits per second per leg.

When you see the term "per leg" it means this:

SIP user/g711-----80kbps(first leg)-----Asterisk----80kbps(second
leg)-----destination

That means each "side" of the conversation will take 80Kbps of bandwidth.

Hope it helps, feel free to ask again and welcome to the list.

Cheeers,

On 8/14/06, Nitin Gupta <niting at gmail.com> wrote:
>
> Hi,
>  did anyone try do load-testing on asterisk, for sip channel calls?
> I want to have a rough estimate about - how many calls, an asterisk server,
> running on say dual 240 opteron with 1 GB memory, can handle?
> Also how much internet bandwidth does a typical call requires? I heard
> around 20Kbps with typical codecs, is that right?
>
> Thanks in advance,
> Nitin
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>


-- 
------------------------------------------------------------
Erick Perez
Panama Sistemas
Integradores de Telefonia IP y Soluciones Para Centros de Datos
Panama, Republica de Panama
Cel Panama. +(507) 6694-4780
------------------------------------------------------------



More information about the asterisk-users mailing list