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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060814/f28bfb5a/attachment.htm
On 2006-08-14 15:24:29 -0700, "Nitin Gupta" <niting@gmail.com> said:> > > 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?This is a tired old question (heh). It gets asked a lot, so looking through the archive will get you a ton of results. The answer is, it depends. Depends on your codec and what other function you expect the asterisk box to perform (ie recording calls).
Stefan-Michael. Guenther (in-put GbR)
2006-Aug-14 23:34 UTC
[asterisk-users] Re: Asterisk load testing
Hi, Am Dienstag, 15. August 2006 00:28 schrieb asterisk-users-request@lists.digium.com:>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? >we have been responsible for an Asterisk server ( Celeron 2 GHz, 256 MB) that was "treated" with the ABACUS 5000. More info on the ABACUS: http://www.spirentcom.com/analysis/technology.cfm?az-c=pl&media=7&ws=325&ss=111 The ABACUS simulated up to 1100 SIP clients with 550 SIP calls between these clients. I'm still waiting for a more detailed report from the consultant who operated the ABACUS. Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice over IP - L?sungen ********************************************
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@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 ------------------------------------------------------------
Nitin Gupta 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 >http://www.erlang.com/calculator/lipb/ Go read up on some codecs http://www.vocal.com/data_sheets/codecs_voip.html Too many variables to answer your question. -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ J. Oquendo http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1383A743 sil infiltrated . net http://www.infiltrated.net "How a man plays the game shows something of his character - how he loses shows all" - Mr. Luckey