Re: [asterisk-users] Capacity of single instance of Asterisk
Hi, Appreciate everyone for your valuable inputs. All these inputs provided by you are really useful. Thanks Regards, Amit Patkar -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
Hi Steve Thanks for your input. Please check my comments. I have a server with 24 cores running at 2.4ghz and 16 GB RAM. How many concurrent SIP sessions I can run from single instance of Asterisk on this server? I wish to use G711 codec with echo cancel. And all calls needs to be recorded. What kind of capacity are you looking to achieve? [Amit Patkar] Some where 2400 G.711 sessions with recording. So approx 1200 calls. From my experience, Asterisk is not really much of a RAM hog. A couple GB is good for a couple hundred simultaneous calls. With 4 'Intel(R) Xeon(TM) CPU 3.40GHz' cores, I can handle a couple hundred simultaneous non-transcoding calls with no recording on Asterisk 1.2. With 24 cores and 16 GB on tap, you will probably find other resource limitations before either CPU or RAM are a limiting factor. Personally, I'm a 'don't put all your eggs in one basket' kind of guy. Assuming a simplistic linear relationship between my host and yours, what will you do when it crashes with 1600 calls in progress? What will you do when you need to install patches or upgrade or ... I like a couple of instances of OpenSIPS in front of several Asterisk instances, even if OpenSIPS is on the same boxes as Asterisk. [Amit Patkar] I completely agree with you on distributing the load. At the same time, I am looking at juicing hardware as well. Can you share the number instead of saying couple hundreds? What will be impact on no of session when G729a is used? Significant. [Amit Patkar] Can I assume 30% reduction? Or it would be much more. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
Hi Kevin, Thank for your views. Where as no one is ready to share real numbers. I am looking at benchmarks so that I can plan for resources. Since asterisk project is active for so many years, I was expecting some published numbers. Thanks Regards, Amit Patkar On 03/12/2012 03:38 PM, Steve Edwards wrote: On Mon, 12 Mar 2012, Amit Patkar wrote: What will be impact on no of session when G729a is used? Assuming that transcoding is involved; if all the system is doing is passing through G.729A media streams, and recording them in unmixed G.729A format, there's no additional impact (the system might actually perform slightly better, as there is substantially less data being shuffled around). -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
On 03/13/2012 09:43 AM, Amit Patkar | Avhan Technologies Pvt Ltd wrote: Thank for your views. Where as no one is ready to share real numbers. I am looking at benchmarks so that I can plan for resources. Since asterisk project is active for so many years, I was expecting some published numbers. You have completely missed the point that other posters have made already on this list. Let me try to express it another way. Let's say that you were browsing at an engine manufacturer's website, looking at V-8 gasoline engines, and you found one that you liked, that you felt had a good combination of features for your project. If you then contacted the manufacturer and asked them 'how fast can this engine make a car travel', what do you think their response would be? Asterisk is a toolkit; it can be configured an infinite number of ways. Any performance measurements that are made and published apply *only* to the specific configuration that was measured; it may or may not be possible to extrapolate those into other configurations, or higher/lower capacities. There are lots of published numbers of Asterisk being used in various ways and for different purposes; whether any of them apply to your specific project is debatable, and relying on them for your project would carry some level of risk. Whether you are willing to accept that risk or not is up to you. In your specific case, as has been mentioned already, it is extremely unlikely that your proposed hardware would have any trouble with Asterisk 1.8 handling 2,400 SIP call legs (1,200 bridged calls), with the same codec being used on both sides. When you add in transcoding, that will change the system significantly, and depending on the codecs involved, the hardware may still be able to handle the load. I know from experiments I did years ago with an 8-core Xeon machine (2nd generation Xeon, so nowhere near as powerful as modern Xeon cores) that the Digium G.729 codec (software implementation) could handle over 800 channels with Asterisk 1.4; I think it's reasonable to expect that given the hardware you've proposed, transcoding 1,200 channels between G.711 ulaw and G.729A is likely to be achievable. Recording, though, is an entirely different matter. Again, since you haven't provided specifics, let's assume you are going to record the call legs 'as is' (in their native formats, unmixed). If you had 2,400 G.711 ulaw call legs to record, some simple math says that you'd need be able to push 150 megabytes per second of data onto your filesystem, on top of all the 'normal' work that Asterisk is doing. That's rather a lot, and will require that your filesystem and disk subsystem be extremely fast and well tuned. If the call legs were all G.729A, then the amount of data to write would drop to 18.75 megabytes per second, which is achievable even with inexpensive SATA disks. If you want the calls recorded in 'mixed' form (most likely in 16-bit signed linear PCM audio, since that's the easiest format to use outside of Asterisk), you'd double the amount of data going into the filesystem (now 300 megabytes per second) *and* you'd add in the CPU consumption of having to decode the incoming media streams and mix them. For G.711 ulaw this is pretty cheap and would likely not be an issue; for G.729A it's somewhat more expensive, but still might not be a problem given the amount of CPU capacity you have proposed. Now do you understand why 'benchmarks' don't provide much value for something like Asterisk? -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com www.asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
From: Kevin P. Fleming kpflem...@digium.com Sent: Tuesday, March 13, 2012 11:02 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Capacity of single instance of Asterisk On 03/13/2012 09:43 AM, Amit Patkar | Avhan Technologies Pvt Ltd wrote: Thank for your views. Where as no one is ready to share real numbers. I am looking at benchmarks so that I can plan for resources. Since asterisk project is active for so many years, I was expecting some published numbers. You have completely missed the point that other posters have made already on this list. Let me try to express it another way. Let's say that you were browsing at an engine manufacturer's website, looking at V-8 gasoline engines, and you found one that you liked, that you felt had a good combination of features for your project. If you then contacted the manufacturer and asked them 'how fast can this engine make a car travel', what do you think their response would be? Asterisk is a toolkit; it can be configured an infinite number of ways. Any performance measurements that are made and published apply *only* to the specific configuration that was measured; it may or may not be possible to extrapolate those into other configurations, or higher/lower capacities. There are lots of published numbers of Asterisk being used in various ways and for different purposes; whether any of them apply to your specific project is debatable, and relying on them for your project would carry some level of risk. Whether you are willing to accept that risk or not is up to you. In your specific case, as has been mentioned already, it is extremely unlikely that your proposed hardware would have any trouble with Asterisk 1.8 handling 2,400 SIP call legs (1,200 bridged calls), with the same codec being used on both sides. When you add in transcoding, that will change the system significantly, and depending on the codecs involved, the hardware may still be able to handle the load. I know from experiments I did years ago with an 8-core Xeon machine (2nd generation Xeon, so nowhere near as powerful as modern Xeon cores) that the Digium G.729 codec (software implementation) could handle over 800 channels with Asterisk 1.4; I think it's reasonable to expect that given the hardware you've proposed, transcoding 1,200 channels between G.711 ulaw and G.729A is likely to be achievable. Recording, though, is an entirely different matter. Again, since you haven't provided specifics, let's assume you are going to record the call legs 'as is' (in their native formats, unmixed). If you had 2,400 G.711 ulaw call legs to record, some simple math says that you'd need be able to push 150 megabytes per second of data onto your filesystem, on top of all the 'normal' work that Asterisk is doing. That's rather a lot, and will require that your filesystem and disk subsystem be extremely fast and well tuned. If the call legs were all G.729A, then the amount of data to write would drop to 18.75 megabytes per second, which is achievable even with inexpensive SATA disks. If you want the calls recorded in 'mixed' form (most likely in 16-bit signed linear PCM audio, since that's the easiest format to use outside of Asterisk), you'd double the amount of data going into the filesystem (now 300 megabytes per second) *and* you'd add in the CPU consumption of having to decode the incoming media streams and mix them. For G.711 ulaw this is pretty cheap and would likely not be an issue; for G.729A it's somewhat more expensive, but still might not be a problem given the amount of CPU capacity you have proposed. Now do you understand why 'benchmarks' don't provide much value for something like Asterisk? -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com www.asterisk.org -- Kevin This is an extremely well stated response. Bryant -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
On Tue, 13 Mar 2012, Amit Patkar | Avhan Technologies Pvt Ltd wrote: [Amit Patkar] I completely agree with you on distributing the load. At the same time, I am looking at juicing hardware as well. Can you share the number instead of saying couple hundreds? In the universe of possible configurations... This is our 'slow period,' but on my hardware, handling my application, at this moment in time, one of my hosts is handling 98 calls, has (as reported by 'top -d 30') a load average of 0.79, and CPU utilization of 2.3% user and 8.9% system. Asterisk is using 85m of virtual memory and has 35m resident. I've seen 300 calls on the same host, but that was not a limit of the host, just how many callers were using the service at that point in time. Note that my application (free chat rooms) is probably more resource intensive than your undisclosed application because all the frames from the participants have to be mixed with voodoo magic in the Zaptel driver. Also note that my application uses a bunch of AGIs. Each call invokes at least 6 AGIs -- all requiring access to a MySQL database. All the AGIs are written in C. If you can draw any conclusions from the above and relate it to your application -- congratulations :) -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
Am 13.03.2012 21:13, schrieb Steve Edwards: On Tue, 13 Mar 2012, Amit Patkar | Avhan Technologies Pvt Ltd wrote: [Amit Patkar] I completely agree with you on distributing the load. At the same time, I am looking at juicing hardware as well. Can you share the number instead of saying couple hundreds? having a nearly same hardware setup as yours (double xeon 2,3 ghz six core with hyperthread = 24 cores and 12 GB of ram) i was able to push asterisk 10 up to 13500 concurrent calls at around 1800 calls per second. but this was only sip signaling. i also done some load tests with 8000 concurrent calls doing a playback of a unique file for each call and the load was around 30 but sound quality still sounds ok. but no one will every build a single host system for such many calls, you will have only problems with it. a typical sip proxy can handle much more sip messages as asterisk and you can easy spread the load over different machines. i guess you should start to try it out what your system and your asterisk configuration can handle without problems and do some educated guesses about it. so its not about numbers cause nobody can really answer this question without trying it out and there will still be too much space for difference to give you an exactly amount. best regards stefan -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
On Tuesday 13 Mar 2012, Amit Patkar | Avhan Technologies Pvt Ltd wrote: Thank for your views. Where as no one is ready to share real numbers. I am looking at benchmarks so that I can plan for resources. Since asterisk project is active for so many years, I was expecting some published numbers. We're running some 400 simultaneous calls with recording and no transcoding on a 2xQuad-core Intel boxes, 16GB RAM. The box is serving SIP clients and passes calls over an IAX2 trunk to the PSTN-connected box. Load average rarely goes above 0.5. Recording is done on a RAID array attached to a separate SCSI controller, which makes a lot of difference to performance. Regards, -- Raj -- Raj Mathur || r...@kandalaya.org || GPG: http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 It is the mind that moves || http://schizoid.in || D17F -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Capacity of single instance of Asterisk
Hi Can someome give tested and proven information on Asterisk capabilities? I have a server with 24 cores running at 2.4ghz and 16 GB RAM. How many concurrent SIP sessions I can run from single instance of Asterisk on this server? I wish to use G711 codec with echo cancel. And all calls needs to be recorded. What will be impact on no of session when G729a is used? Thanks Regards, Amit Patkar -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
There are no such statistics. Your usage patterns are unique to you and depend on many factors. If you must look for the information then look in the mailing list archives or on voip-info.org. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Amit Patkar Sent: Monday, March 12, 2012 2:04 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Capacity of single instance of Asterisk Hi Can someome give tested and proven information on Asterisk capabilities? I have a server with 24 cores running at 2.4ghz and 16 GB RAM. How many concurrent SIP sessions I can run from single instance of Asterisk on this server? I wish to use G711 codec with echo cancel. And all calls needs to be recorded. What will be impact on no of session when G729a is used? Thanks Regards, Amit Patkar -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Capacity of single instance of Asterisk
On Mon, 12 Mar 2012, Amit Patkar wrote: I have a server with 24 cores running at 2.4ghz and 16 GB RAM. How many concurrent SIP sessions I can run from single instance of Asterisk on this server? I wish to use G711 codec with echo cancel. And all calls needs to be recorded. What kind of capacity are you looking to achieve? From my experience, Asterisk is not really much of a RAM hog. A couple GB is good for a couple hundred simultaneous calls. With 4 'Intel(R) Xeon(TM) CPU 3.40GHz' cores, I can handle a couple hundred simultaneous non-transcoding calls with no recording on Asterisk 1.2. With 24 cores and 16 GB on tap, you will probably find other resource limitations before either CPU or RAM are a limiting factor. Personally, I'm a 'don't put all your eggs in one basket' kind of guy. Assuming a simplistic linear relationship between my host and yours, what will you do when it crashes with 1600 calls in progress? What will you do when you need to install patches or upgrade or ... I like a couple of instances of OpenSIPS in front of several Asterisk instances, even if OpenSIPS is on the same boxes as Asterisk. What will be impact on no of session when G729a is used? Significant. -- Thanks in advance, - Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
Thank you all for the great advice. Although fairly new to Asterisk, and relearning systems administration, it has helped put some perspective on the matter for me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Totaro Sent: Wednesday, March 19, 2008 1:21 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] capacity I use standard wav (most compatible with players) so about a meg a minute. In my experience, most people (users) use their voicemail similar to email, they keep everything. Especially love struck college kids. I think Asterisk has a soft limit of 1,000 (maybe it is 999) messages as the max per inbox that can be changed in source. I suppose if you limit the max time allowed and the max inbox limit it might help but I think your 60GB estimate would be quite low in the real world. BUT, that is based on when I was in college and I was one of the very few to have my own cell phone (dating myself a bit). So in the real world, I am not sure how much use the system would actually see. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 12:33 PM, Drew Gibson [EMAIL PROTECTED] wrote: Our office averages around 1.5MB / mailbox, call it 10MB for rounding. 6,000 x 10MB = 60GB (n'est pas?) 2 x 250GB drives, mirrored, should cover that and the system quite nicely. regards, Drew Disclaimer: Most of our employees are programmers so probably don't have any friends to call and leave messages! :-) Steve Totaro wrote: RAID arguments (preference really) aside, 4k - 6k worth of student voicemails is going to require quite a bit of storage space. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 12:01 PM, Drew Gibson [EMAIL PROTECTED] wrote: Having ventured high enough and far enough to view the curvature of the Earth and having stayed up late enough long enough (why do disks only fail at the weekend?) to rebuild and restore RAID 5 sets, I proffer the following (not so) Humble Opinion . Dual power supplies, two thumbs up but RAID 5 is only good for reducing storage costs on large volumes of data. It reduces performance and reliability over RAID 1. Don't put the OS on RAID 5 unless you like rebuilding servers from bare metal. It's much easier to rebuild and restore the data on RAID 5 sets if the OS is already up and running. Your OS and other system critical files (Asterisk) should be on RAID 1 for performance, redundancy and cost reasons. More disks = higher cost and higher chance of failure. Asterisk in general does not need much disk storage. The minimum drive size available in a new server tends to be overkill. Two drives as RAID 1 gives you redundancy and performance. Adding a third drive for RAID 5 adds cost, increases complexity and reduces reliability just to add storage capacity that you don't really need. (but the reseller WILL make more money and impress you with their command of the big words and acronyms on the spec sheet.) If and only if you need to store many hundreds of gigs of data (eg. recording a very large volume of calls) then RAID 5 becomes useful (or RAID 10 or RAID n). You should add this bulk storage IN ADDITION TO the mirrored pair holding the OS. regards, Drew Steve Totaro wrote: And I can post a link that shows a bunch of guys think the earth is flat with a 5/10 google ranking also (like the barf guys). http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm I usually just call my guy at CDW and give him my needs, he is a former techie gone sales. He puts together a quote and emails it to me for approval. I find HP server are very robust and rock solid at a decent price point (IBM as well). I like the 380 because you get six hot swap scsi bays and redundant power supplies in a 2u profile, also, Digium and Sangoma T1 cards have never given me an issue. Many on this list love Supermicro, I have yet to try them but I will in the near future. I have not heard a single complaint, only rave reviews. I guess my original point was going for redundancy as far as storage and power supplies with your dollar, not the fastest proc or maxed out RAM that will not be needed. Regardless of the actual hardware or RAID setup, that is the angle I suggest you take. 4k - 6k students will require quite a bit of storage. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 9:38 AM, Ron Joffe [EMAIL PROTECTED] wrote: On Tuesday 18 March 2008 22:12, Steve Totaro wrote: For your use, I would go for a RAID 5 I would highly recommend against a raid 5 set. I can give you more details if you are interested, but these guys have most if it down : www.baarf.com see
Re: [asterisk-users] capacity
You Said I would probably go with an HP DL380. would you share what drew you to that particular box ? When i looked at their WEB page there was something like 9 different RAID Controllers you could chose from. Seemed hideously confusing to con fig one just to get a price quote on it. Please share your experience Steve Totaro wrote: I did basically the same thing via T1 on the Definity. It took a bit of tinkering on the Definity to get the coverage path right. For your use, I would go for a RAID 5, dual power supply box with quite a bit of storage. RAM and CPU should not be an issue with anything new. I would go with a T1/E1 card with more than one port just for future possible growth or options. Echo cancellation is probably not needed but if in the budget, it can never hurt (never say never, seldomly or rarely I guess is more appropriate). I would probably go with an HP DL380. The dialplan should be very simple. It should actually be pretty fun project. Thanks, Steve Totaro On Tue, Mar 18, 2008 at 3:15 PM, Eve-Ellen Cole [EMAIL PROTECTED] wrote: I have an Avaya Definity G3R. Calls to students will be routed through the G3R, to the Asterisk system so the caller can leave a message. I'm not sure how many channels I'll really need, but I expect no more than 23 simultaneous calls. In fact, maybe no more than 10 simultaneously. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Totaro Sent: Tuesday, March 18, 2008 3:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] capacity On Tue, Mar 18, 2008 at 1:55 PM, Eve-Ellen Cole [EMAIL PROTECTED] wrote: Hi, I am planning to deploy an Asterisk system to supply 4-6,000 students with voicemail capabilities. The system will be set up with non-DIDs, route incoming calls to voicemail, then send an email notification. Anyone with some ideas on how I should go about spec'ing the server this use? - Eve Ellen Strictly VM? How are the calls going to arrive? How many simultaneous accesses, both leaving messages and retrieving (highest peak). I believe Vonage uses Asterisk for their VM (not sure where I heard that). Thanks, Steve Totaro ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
On Tuesday 18 March 2008 22:12, Steve Totaro wrote: For your use, I would go for a RAID 5 I would highly recommend against a raid 5 set. I can give you more details if you are interested, but these guys have most if it down : www.baarf.com see the link on the left on why should I not use Raid 5 Ron ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
And I can post a link that shows a bunch of guys think the earth is flat with a 5/10 google ranking also (like the barf guys). http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm I usually just call my guy at CDW and give him my needs, he is a former techie gone sales. He puts together a quote and emails it to me for approval. I find HP server are very robust and rock solid at a decent price point (IBM as well). I like the 380 because you get six hot swap scsi bays and redundant power supplies in a 2u profile, also, Digium and Sangoma T1 cards have never given me an issue. Many on this list love Supermicro, I have yet to try them but I will in the near future. I have not heard a single complaint, only rave reviews. I guess my original point was going for redundancy as far as storage and power supplies with your dollar, not the fastest proc or maxed out RAM that will not be needed. Regardless of the actual hardware or RAID setup, that is the angle I suggest you take. 4k - 6k students will require quite a bit of storage. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 9:38 AM, Ron Joffe [EMAIL PROTECTED] wrote: On Tuesday 18 March 2008 22:12, Steve Totaro wrote: For your use, I would go for a RAID 5 I would highly recommend against a raid 5 set. I can give you more details if you are interested, but these guys have most if it down : www.baarf.com see the link on the left on why should I not use Raid 5 Ron ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
On Wednesday 19 March 2008 10:36, Steve Totaro wrote: And I can post a link that shows a bunch of guys think the earth is flat with a 5/10 google ranking also (like the barf guys). http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm Steve, My purpose was to try to point out that Raid 5 has deficiencies, and I would not recommend a Raid 5 set. With the disk sizes available today (both SATA and SAS), Raid 10 or multiple Raid 1 sets have many advantages. Ron ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
Having ventured high enough and far enough to view the curvature of the Earth and having stayed up late enough long enough (why do disks only fail at the weekend?) to rebuild and restore RAID 5 sets, I proffer the following (not so) Humble Opinion . Dual power supplies, two thumbs up but RAID 5 is only good for reducing storage costs on large volumes of data. It reduces performance and reliability over RAID 1. Don't put the OS on RAID 5 unless you like rebuilding servers from bare metal. It's much easier to rebuild and restore the data on RAID 5 sets if the OS is already up and running. Your OS and other system critical files (Asterisk) should be on RAID 1 for performance, redundancy and cost reasons. More disks = higher cost and higher chance of failure. Asterisk in general does not need much disk storage. The minimum drive size available in a new server tends to be overkill. Two drives as RAID 1 gives you redundancy and performance. Adding a third drive for RAID 5 adds cost, increases complexity and reduces reliability just to add storage capacity that you don't really need. (but the reseller WILL make more money and impress you with their command of the big words and acronyms on the spec sheet.) If and only if you need to store many hundreds of gigs of data (eg. recording a very large volume of calls) then RAID 5 becomes useful (or RAID 10 or RAID n). You should add this bulk storage IN ADDITION TO the mirrored pair holding the OS. regards, Drew Steve Totaro wrote: And I can post a link that shows a bunch of guys think the earth is flat with a 5/10 google ranking also (like the barf guys). http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm I usually just call my guy at CDW and give him my needs, he is a former techie gone sales. He puts together a quote and emails it to me for approval. I find HP server are very robust and rock solid at a decent price point (IBM as well). I like the 380 because you get six hot swap scsi bays and redundant power supplies in a 2u profile, also, Digium and Sangoma T1 cards have never given me an issue. Many on this list love Supermicro, I have yet to try them but I will in the near future. I have not heard a single complaint, only rave reviews. I guess my original point was going for redundancy as far as storage and power supplies with your dollar, not the fastest proc or maxed out RAM that will not be needed. Regardless of the actual hardware or RAID setup, that is the angle I suggest you take. 4k - 6k students will require quite a bit of storage. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 9:38 AM, Ron Joffe [EMAIL PROTECTED] wrote: On Tuesday 18 March 2008 22:12, Steve Totaro wrote: For your use, I would go for a RAID 5 I would highly recommend against a raid 5 set. I can give you more details if you are interested, but these guys have most if it down : www.baarf.com see the link on the left on why should I not use Raid 5 Ron ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Drew Gibson Systems Administrator OANDA Corporation www.oanda.com ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
RAID arguments (preference really) aside, 4k - 6k worth of student voicemails is going to require quite a bit of storage space. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 12:01 PM, Drew Gibson [EMAIL PROTECTED] wrote: Having ventured high enough and far enough to view the curvature of the Earth and having stayed up late enough long enough (why do disks only fail at the weekend?) to rebuild and restore RAID 5 sets, I proffer the following (not so) Humble Opinion . Dual power supplies, two thumbs up but RAID 5 is only good for reducing storage costs on large volumes of data. It reduces performance and reliability over RAID 1. Don't put the OS on RAID 5 unless you like rebuilding servers from bare metal. It's much easier to rebuild and restore the data on RAID 5 sets if the OS is already up and running. Your OS and other system critical files (Asterisk) should be on RAID 1 for performance, redundancy and cost reasons. More disks = higher cost and higher chance of failure. Asterisk in general does not need much disk storage. The minimum drive size available in a new server tends to be overkill. Two drives as RAID 1 gives you redundancy and performance. Adding a third drive for RAID 5 adds cost, increases complexity and reduces reliability just to add storage capacity that you don't really need. (but the reseller WILL make more money and impress you with their command of the big words and acronyms on the spec sheet.) If and only if you need to store many hundreds of gigs of data (eg. recording a very large volume of calls) then RAID 5 becomes useful (or RAID 10 or RAID n). You should add this bulk storage IN ADDITION TO the mirrored pair holding the OS. regards, Drew Steve Totaro wrote: And I can post a link that shows a bunch of guys think the earth is flat with a 5/10 google ranking also (like the barf guys). http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm I usually just call my guy at CDW and give him my needs, he is a former techie gone sales. He puts together a quote and emails it to me for approval. I find HP server are very robust and rock solid at a decent price point (IBM as well). I like the 380 because you get six hot swap scsi bays and redundant power supplies in a 2u profile, also, Digium and Sangoma T1 cards have never given me an issue. Many on this list love Supermicro, I have yet to try them but I will in the near future. I have not heard a single complaint, only rave reviews. I guess my original point was going for redundancy as far as storage and power supplies with your dollar, not the fastest proc or maxed out RAM that will not be needed. Regardless of the actual hardware or RAID setup, that is the angle I suggest you take. 4k - 6k students will require quite a bit of storage. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 9:38 AM, Ron Joffe [EMAIL PROTECTED] wrote: On Tuesday 18 March 2008 22:12, Steve Totaro wrote: For your use, I would go for a RAID 5 I would highly recommend against a raid 5 set. I can give you more details if you are interested, but these guys have most if it down : www.baarf.com see the link on the left on why should I not use Raid 5 Ron ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Drew Gibson Systems Administrator OANDA Corporation www.oanda.com ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
Our office averages around 1.5MB / mailbox, call it 10MB for rounding. 6,000 x 10MB = 60GB (n'est pas?) 2 x 250GB drives, mirrored, should cover that and the system quite nicely. regards, Drew Disclaimer: Most of our employees are programmers so probably don't have any friends to call and leave messages! :-) Steve Totaro wrote: RAID arguments (preference really) aside, 4k - 6k worth of student voicemails is going to require quite a bit of storage space. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 12:01 PM, Drew Gibson [EMAIL PROTECTED] wrote: Having ventured high enough and far enough to view the curvature of the Earth and having stayed up late enough long enough (why do disks only fail at the weekend?) to rebuild and restore RAID 5 sets, I proffer the following (not so) Humble Opinion . Dual power supplies, two thumbs up but RAID 5 is only good for reducing storage costs on large volumes of data. It reduces performance and reliability over RAID 1. Don't put the OS on RAID 5 unless you like rebuilding servers from bare metal. It's much easier to rebuild and restore the data on RAID 5 sets if the OS is already up and running. Your OS and other system critical files (Asterisk) should be on RAID 1 for performance, redundancy and cost reasons. More disks = higher cost and higher chance of failure. Asterisk in general does not need much disk storage. The minimum drive size available in a new server tends to be overkill. Two drives as RAID 1 gives you redundancy and performance. Adding a third drive for RAID 5 adds cost, increases complexity and reduces reliability just to add storage capacity that you don't really need. (but the reseller WILL make more money and impress you with their command of the big words and acronyms on the spec sheet.) If and only if you need to store many hundreds of gigs of data (eg. recording a very large volume of calls) then RAID 5 becomes useful (or RAID 10 or RAID n). You should add this bulk storage IN ADDITION TO the mirrored pair holding the OS. regards, Drew Steve Totaro wrote: And I can post a link that shows a bunch of guys think the earth is flat with a 5/10 google ranking also (like the barf guys). http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm I usually just call my guy at CDW and give him my needs, he is a former techie gone sales. He puts together a quote and emails it to me for approval. I find HP server are very robust and rock solid at a decent price point (IBM as well). I like the 380 because you get six hot swap scsi bays and redundant power supplies in a 2u profile, also, Digium and Sangoma T1 cards have never given me an issue. Many on this list love Supermicro, I have yet to try them but I will in the near future. I have not heard a single complaint, only rave reviews. I guess my original point was going for redundancy as far as storage and power supplies with your dollar, not the fastest proc or maxed out RAM that will not be needed. Regardless of the actual hardware or RAID setup, that is the angle I suggest you take. 4k - 6k students will require quite a bit of storage. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 9:38 AM, Ron Joffe [EMAIL PROTECTED] wrote: On Tuesday 18 March 2008 22:12, Steve Totaro wrote: For your use, I would go for a RAID 5 I would highly recommend against a raid 5 set. I can give you more details if you are interested, but these guys have most if it down : www.baarf.com see the link on the left on why should I not use Raid 5 Ron ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Drew Gibson Systems Administrator OANDA Corporation www.oanda.com ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Drew Gibson Systems Administrator OANDA Corporation www.oanda.com ___ -- Bandwidth and
Re: [asterisk-users] capacity
I use standard wav (most compatible with players) so about a meg a minute. In my experience, most people (users) use their voicemail similar to email, they keep everything. Especially love struck college kids. I think Asterisk has a soft limit of 1,000 (maybe it is 999) messages as the max per inbox that can be changed in source. I suppose if you limit the max time allowed and the max inbox limit it might help but I think your 60GB estimate would be quite low in the real world. BUT, that is based on when I was in college and I was one of the very few to have my own cell phone (dating myself a bit). So in the real world, I am not sure how much use the system would actually see. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 12:33 PM, Drew Gibson [EMAIL PROTECTED] wrote: Our office averages around 1.5MB / mailbox, call it 10MB for rounding. 6,000 x 10MB = 60GB (n'est pas?) 2 x 250GB drives, mirrored, should cover that and the system quite nicely. regards, Drew Disclaimer: Most of our employees are programmers so probably don't have any friends to call and leave messages! :-) Steve Totaro wrote: RAID arguments (preference really) aside, 4k - 6k worth of student voicemails is going to require quite a bit of storage space. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 12:01 PM, Drew Gibson [EMAIL PROTECTED] wrote: Having ventured high enough and far enough to view the curvature of the Earth and having stayed up late enough long enough (why do disks only fail at the weekend?) to rebuild and restore RAID 5 sets, I proffer the following (not so) Humble Opinion . Dual power supplies, two thumbs up but RAID 5 is only good for reducing storage costs on large volumes of data. It reduces performance and reliability over RAID 1. Don't put the OS on RAID 5 unless you like rebuilding servers from bare metal. It's much easier to rebuild and restore the data on RAID 5 sets if the OS is already up and running. Your OS and other system critical files (Asterisk) should be on RAID 1 for performance, redundancy and cost reasons. More disks = higher cost and higher chance of failure. Asterisk in general does not need much disk storage. The minimum drive size available in a new server tends to be overkill. Two drives as RAID 1 gives you redundancy and performance. Adding a third drive for RAID 5 adds cost, increases complexity and reduces reliability just to add storage capacity that you don't really need. (but the reseller WILL make more money and impress you with their command of the big words and acronyms on the spec sheet.) If and only if you need to store many hundreds of gigs of data (eg. recording a very large volume of calls) then RAID 5 becomes useful (or RAID 10 or RAID n). You should add this bulk storage IN ADDITION TO the mirrored pair holding the OS. regards, Drew Steve Totaro wrote: And I can post a link that shows a bunch of guys think the earth is flat with a 5/10 google ranking also (like the barf guys). http://www.alaska.net/~clund/e_djublonskopf/Flatearthsociety.htm I usually just call my guy at CDW and give him my needs, he is a former techie gone sales. He puts together a quote and emails it to me for approval. I find HP server are very robust and rock solid at a decent price point (IBM as well). I like the 380 because you get six hot swap scsi bays and redundant power supplies in a 2u profile, also, Digium and Sangoma T1 cards have never given me an issue. Many on this list love Supermicro, I have yet to try them but I will in the near future. I have not heard a single complaint, only rave reviews. I guess my original point was going for redundancy as far as storage and power supplies with your dollar, not the fastest proc or maxed out RAM that will not be needed. Regardless of the actual hardware or RAID setup, that is the angle I suggest you take. 4k - 6k students will require quite a bit of storage. Thanks, Steve Totaro On Wed, Mar 19, 2008 at 9:38 AM, Ron Joffe [EMAIL PROTECTED] wrote: On Tuesday 18 March 2008 22:12, Steve Totaro wrote: For your use, I would go for a RAID 5 I would highly recommend against a raid 5 set. I can give you more details if you are interested, but these guys have most if it down : www.baarf.com see the link on the left on why should I not use Raid 5 Ron ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] capacity
Hi, I am planning to deploy an Asterisk system to supply 4-6,000 students with voicemail capabilities. The system will be set up with non-DIDs, route incoming calls to voicemail, then send an email notification. Anyone with some ideas on how I should go about spec'ing the server this use? - Eve Ellen ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
On Tue, Mar 18, 2008 at 1:55 PM, Eve-Ellen Cole [EMAIL PROTECTED] wrote: Hi, I am planning to deploy an Asterisk system to supply 4-6,000 students with voicemail capabilities. The system will be set up with non-DIDs, route incoming calls to voicemail, then send an email notification. Anyone with some ideas on how I should go about spec'ing the server this use? - Eve Ellen Strictly VM? How are the calls going to arrive? How many simultaneous accesses, both leaving messages and retrieving (highest peak). I believe Vonage uses Asterisk for their VM (not sure where I heard that). Thanks, Steve Totaro ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
I have an Avaya Definity G3R. Calls to students will be routed through the G3R, to the Asterisk system so the caller can leave a message. I'm not sure how many channels I'll really need, but I expect no more than 23 simultaneous calls. In fact, maybe no more than 10 simultaneously. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Totaro Sent: Tuesday, March 18, 2008 3:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] capacity On Tue, Mar 18, 2008 at 1:55 PM, Eve-Ellen Cole [EMAIL PROTECTED] wrote: Hi, I am planning to deploy an Asterisk system to supply 4-6,000 students with voicemail capabilities. The system will be set up with non-DIDs, route incoming calls to voicemail, then send an email notification. Anyone with some ideas on how I should go about spec'ing the server this use? - Eve Ellen Strictly VM? How are the calls going to arrive? How many simultaneous accesses, both leaving messages and retrieving (highest peak). I believe Vonage uses Asterisk for their VM (not sure where I heard that). Thanks, Steve Totaro ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] capacity
I did basically the same thing via T1 on the Definity. It took a bit of tinkering on the Definity to get the coverage path right. For your use, I would go for a RAID 5, dual power supply box with quite a bit of storage. RAM and CPU should not be an issue with anything new. I would go with a T1/E1 card with more than one port just for future possible growth or options. Echo cancellation is probably not needed but if in the budget, it can never hurt (never say never, seldomly or rarely I guess is more appropriate). I would probably go with an HP DL380. The dialplan should be very simple. It should actually be pretty fun project. Thanks, Steve Totaro On Tue, Mar 18, 2008 at 3:15 PM, Eve-Ellen Cole [EMAIL PROTECTED] wrote: I have an Avaya Definity G3R. Calls to students will be routed through the G3R, to the Asterisk system so the caller can leave a message. I'm not sure how many channels I'll really need, but I expect no more than 23 simultaneous calls. In fact, maybe no more than 10 simultaneously. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Totaro Sent: Tuesday, March 18, 2008 3:05 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] capacity On Tue, Mar 18, 2008 at 1:55 PM, Eve-Ellen Cole [EMAIL PROTECTED] wrote: Hi, I am planning to deploy an Asterisk system to supply 4-6,000 students with voicemail capabilities. The system will be set up with non-DIDs, route incoming calls to voicemail, then send an email notification. Anyone with some ideas on how I should go about spec'ing the server this use? - Eve Ellen Strictly VM? How are the calls going to arrive? How many simultaneous accesses, both leaving messages and retrieving (highest peak). I believe Vonage uses Asterisk for their VM (not sure where I heard that). Thanks, Steve Totaro ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Capacity for transcode G711 to G729
Does anyone know how many active channels can support for transcoding ulaw to G729 by using 4x 3.6GHz Xeon Processors?Thanks, Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. ___ --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
Re: [asterisk-users] Capacity for transcode G711 to G729
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kokfoo Soo wrote: Does anyone know how many active channels can support for transcoding ulaw to G729 by using 4x 3.6GHz Xeon Processors? In one machine? I'd guess at around 200-300 absolute max if the calls are spread evenly across CPUs. Normal is around 120. - -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://wap.sineapps.com (Daily Asterisk News for your cellphone) http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFADDMS6d5vy0jeVcRAl9yAJ4+embAF/RQHtCxgI4xPGExZYHTYACeK73V MkOxPEozdCQtpdruxyUntW4= =RhOh -END PGP SIGNATURE- ___ --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
Re: [asterisk-users] Capacity for transcode G711 to G729
Hi matt, sorry this might be a stupid question but is a bit pertinent to me, I'd asked something similar in one of my last email regarding SMP. Do you know if (*) is capable of making use of HT support i.e is multi-threaded and improves performance for operations like transcoding? Is that a valid question or is this only dependant on the OS/Kernel, the CPU itself and the chipset on the motherboard? If I boot into an SMP kernel with Asterisk compiled with the SMP kernel source, would it just make use of multi-threading as the load increases on cpu-intensive operations? Also, when you said the normal is 120 simultaneous transcoding operations, what is normal? I have a P4 w/HT 3.4Ghz, 2GB RAM machine. Would that be above or below normal? Thanks much \R I'd guess at around 200-300 absolute max if the calls are spread evenly across CPUs. Normal is around 120. ___ --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
Re: [asterisk-users] Capacity for transcode G711 to G729
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RR wrote: Hi matt, sorry this might be a stupid question but is a bit pertinent to me, I'd asked something similar in one of my last email regarding SMP. Do you know if (*) is capable of making use of HT support i.e is multi-threaded and improves performance for operations like transcoding? Is that a valid question or is this only dependant on the I don't think you will get double or anything, in fact many people have suggested that HT be turned off when people experience problems. OS/Kernel, the CPU itself and the chipset on the motherboard? If I boot into an SMP kernel with Asterisk compiled with the SMP kernel source, would it just make use of multi-threading as the load increases on cpu-intensive operations? The best use I have seen is the newly converted IAX2 which can use multithreading in version 1.4, the beta of which should be released later this week. The best idea would be to compile Asterisk, run some tests (show translation recalc 60) with HT turned on, restart the box, bring it up with HT turned off and try again. You should also run a few calls and check the CPU. Also, when you said the normal is 120 simultaneous transcoding operations, what is normal? I have a P4 w/HT 3.4Ghz, 2GB RAM machine. Would that be above or below normal? Thanks much \R I would think that is above normal but not by much, I'm not sure what normal was, nor can I find the Digium document where this was stated. It wasn't that long ago. I'm doing some more tests on a 3000 line setup (external DS3s via Asterisk and SER clusters) at the moment which we are splitting to be half G.729 and half ulaw, and I will try to post some results. - -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://wap.sineapps.com (Daily Asterisk News for your cellphone) http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFAHYFS6d5vy0jeVcRAluMAJ0du5Itu3Va1yAXu0+2gxMrC3JjLACePaTL fdZacwEIEm4Z63ht6E/KrAY= =DbHV -END PGP SIGNATURE- ___ --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
Re: [asterisk-users] Capacity for transcode G711 to G729
What tools are you using for this? I'm sure you are aware of SIPp but wondered if you had anything else? Mark On Thu, 2006-09-07 at 21:41 +0200, Matt Riddell (IT) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 RR wrote: Hi matt, sorry this might be a stupid question but is a bit pertinent to me, I'd asked something similar in one of my last email regarding SMP. Do you know if (*) is capable of making use of HT support i.e is multi-threaded and improves performance for operations like transcoding? Is that a valid question or is this only dependant on the I don't think you will get double or anything, in fact many people have suggested that HT be turned off when people experience problems. OS/Kernel, the CPU itself and the chipset on the motherboard? If I boot into an SMP kernel with Asterisk compiled with the SMP kernel source, would it just make use of multi-threading as the load increases on cpu-intensive operations? The best use I have seen is the newly converted IAX2 which can use multithreading in version 1.4, the beta of which should be released later this week. The best idea would be to compile Asterisk, run some tests (show translation recalc 60) with HT turned on, restart the box, bring it up with HT turned off and try again. You should also run a few calls and check the CPU. Also, when you said the normal is 120 simultaneous transcoding operations, what is normal? I have a P4 w/HT 3.4Ghz, 2GB RAM machine. Would that be above or below normal? Thanks much \R I would think that is above normal but not by much, I'm not sure what normal was, nor can I find the Digium document where this was stated. It wasn't that long ago. I'm doing some more tests on a 3000 line setup (external DS3s via Asterisk and SER clusters) at the moment which we are splitting to be half G.729 and half ulaw, and I will try to post some results. - -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://wap.sineapps.com (Daily Asterisk News for your cellphone) http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFAHYFS6d5vy0jeVcRAluMAJ0du5Itu3Va1yAXu0+2gxMrC3JjLACePaTL fdZacwEIEm4Z63ht6E/KrAY= =DbHV -END PGP SIGNATURE- ___ --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 ___ --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
Re: [asterisk-users] Capacity for transcode G711 to G729
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Phillips wrote: What tools are you using for this? I'm sure you are aware of SIPp but wondered if you had anything else? Mark For IAX2 internally we use a modified version of testcall from http://iaxclient.sf.net. Otherwise we just use SineDialer :) - -- Cheers, Matt Riddell ___ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://wap.sineapps.com (Daily Asterisk News for your cellphone) http://feeds.feedburner.com/AsteriskNews (Daily Asterisk News - rss) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFAKzpS6d5vy0jeVcRAkH+AJ94GgSiYMFryK1mYtpstXaS5cmj0wCdET2F 5BABFzHxR9E1hLVEAPsAjRw= =c0yh -END PGP SIGNATURE- ___ --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
Re: [asterisk-users] Capacity for transcode G711 to G729
Hi Matt, The best use I have seen is the newly converted IAX2 which can use multithreading in version 1.4, the beta of which should be released later this week. The best idea would be to compile Asterisk, run some tests (show translation recalc 60) with HT turned on, restart the box, bring it up with HT turned off and try again. What's the best way to know for sure that you've everything setup the right way to use HT with Asterisk? There're so many things, I'm not quite sure if I am turning or conversely not turning enough things on/off. I do the following right now: - in /usr/src, I have the symlink of linux and linux-2.6 pointing to the location of the src of the smp kernel like e.g. /usr/src/kernels/2.6.9-34.0.1.EL-smp-i686 - Then do a fresh 'make' on asterisk with these symlinks in placehe - Then reboot and turn on HT in the BIOS - Then reboot with the smp kernel Is that it? If I compile with the linux/linux-2.6 symlink pointed to the kernel of the NON-smp kernel, then reboot in the non-smp kernel but leave HT turned on in the BIOS, does it matter? would that be enough? or should i turn off HT in the BIOS as well to avoid it causing issues? In my experiments with using (*) inside of a VM and doing SMP I'd seen that simply booting into an smp kernel gave me timing issues even when (*) was compiled against a non-smp kernel source. I don't see these problems on a real machine but that's just one call. Who knows what'll happen if I throw 100 at it. Would love to see the results of this test you're setting up. At the expense of bandwidth, maybe I'll just stick with g711 all the way through and save money on g729 licenses and load on my machine. Any thoughts on g726? Would using g726-32 be a good compromise on bandwidth and cpu power instead of g711 or g729? Thx \R ___ --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
RE: [Asterisk-Users] capacity testing
Title: RE: [Asterisk-Users] capacity testing Jesse, Thanks for your feedback. 1. I am running kernel 2.4.18.3 with linux 7.3, please let me know which version of Redhat are you running on and which kernel are you running, I wonder if that could make a difference too. I am surprised that you can run 25 channels with a PIII 800, while I can only run less than 20 channels with a Xeon 2.4G. Please see if you can run more channels with a better CPU and let me know. 2.I have also tried to use OH323 instead of H323, calls seem to go through but I am just getting the ANSWERED indication even before the calls start to ring, which is not right !! I have compiled the PWLIB 1.5.2 and OH323 1.12.2 and using OH323 version 0.5.7 which is the lastest version, are you having the same experience? Is there anyway you can send me your OH323.conf please? 3. I would love to communicate with you privately to exchange experience. Please send email to [EMAIL PROTECTED], thanks Tom -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jesse PetersonSent: Friday, January 16, 2004 12:32 PMTo: Asterisk-Users (E-mail)Subject: RE: [Asterisk-Users] capacity testing 1) Yes, I did get that. I've never seen a segmentation fault message, but that should be b/c I've been running the process in the background since it is obviously seg-faulting. I believe you are also correct that most people are not trying to put the load on it that we are. 2) I always see 'safe_asterisk' and 'asterisk -vvvg' running. my monitoring was always done with top, but I've checked w/ ps a couple times and I believe only ever see 1 of each of those processes. I may have to do some tests again to double check that. My CPU problems did not come until the last 10 - 30 seconds before asterisk crashed. This is still odd that our memory processor observations are opposite... the next thing I'm going to try is a dual xeon pIII 800 or 1ghz machine to see what happens. 3) I'm running oh323. It was the one I could get to register w/ my gatekeeper as a gateway - that made it much easier for me to do call routing on both sides. I have also noticed some inconsistencies in the call flows like you mention, but haven't taken the time yet to pinpoint exactly what and when they are happening. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of T. ChanSent: Thursday, January 15, 2004 22:54To: [EMAIL PROTECTED]Cc: Alan ChanSubject: RE: [Asterisk-Users] capacity testing Hi all, and Jesse 1. So, you did get the experience of crashing all of a sudden with the "Disconnected from Asterisk server" error message. I got both this and the segmentation error when crashing. I am running the version of asterisk, libpri and zaptel updated to about 5 days ago, but I have had tested Asterisk for more than a month already and needless to say I have had this experience since Day 1, meaning it has always been a problem even in the previous revisions. Henceforth, I feel that it is an intrinsic Asterisk problem, rather than just the problem with specific versions / revisions. I have posted this problem a few times before, I feel that this is a major problem but surprisingly, I was not getting any feedback at all. I have this feeling that more than 90% of the Asterisk community is using the system for PBX application rather than VOIP, may be, just may be, Asterisk has not been tested with a good number of simultaneous calls. 2. I am using Xeon 2.6G chip, much more powerful than yours, I have not got any problem with CPU usage, at least not during the time that I was watching. The thing is when I start 'safe_asterisk' , I could see when doing a PID, 1 "safe_asterisk" PID session and at least 10 (or more especially when there are more calls) "asterisk -vvvg -c" PID session. Each session takes up about 18M to 20M RAM, when that is why I am seeing all very high memory usage. How many sessions of Asterick do you see running after you loaded it? 3. Are you running H323 (Jeremy) and OH323 (Michael)? I am running Jeremy's and have had this inbound H323 problem. I tried OH323 (Michael) as well, but for some reasons, I am getting this false connect signal, that is, I made an outbound H323 call to a CiscoAS5300 for example, I heard the ring and immediately on my "Asterisk", it showed call answered when it was still ringing. Do you have that experience?? What setting you have if you do not have that experience? 4. Lets talk off list at [EMAIL PROTECTED]. Thanks Tom -Original Message-From: Jesse Peterson [mailto:[EMAIL PROTECTED]On Behalf Of Jesse Peter
RE: [Asterisk-Users] capacity testing
Title: RE: [Asterisk-Users] capacity testing 1) Yes, I did get that. I've never seen a segmentation fault message, but that should be b/c I've been running the process in the background since it is obviously seg-faulting. I believe you are also correct that most people are not trying to put the load on it that we are. 2) I always see 'safe_asterisk' and 'asterisk -vvvg' running. my monitoring was always done with top, but I've checked w/ ps a couple times and I believe only ever see 1 of each of those processes. I may have to do some tests again to double check that. My CPU problems did not come until the last 10 - 30 seconds before asterisk crashed. This is still odd that our memory processor observations are opposite... the next thing I'm going to try is a dual xeon pIII 800 or 1ghz machine to see what happens. 3) I'm running oh323. It was the one I could get to register w/ my gatekeeper as a gateway - that made it much easier for me to do call routing on both sides. I have also noticed some inconsistencies in the call flows like you mention, but haven't taken the time yet to pinpoint exactly what and when they are happening. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of T. ChanSent: Thursday, January 15, 2004 22:54To: [EMAIL PROTECTED]Cc: Alan ChanSubject: RE: [Asterisk-Users] capacity testing Hi all, and Jesse 1. So, you did get the experience of crashing all of a sudden with the "Disconnected from Asterisk server" error message. I got both this and the segmentation error when crashing. I am running the version of asterisk, libpri and zaptel updated to about 5 days ago, but I have had tested Asterisk for more than a month already and needless to say I have had this experience since Day 1, meaning it has always been a problem even in the previous revisions. Henceforth, I feel that it is an intrinsic Asterisk problem, rather than just the problem with specific versions / revisions. I have posted this problem a few times before, I feel that this is a major problem but surprisingly, I was not getting any feedback at all. I have this feeling that more than 90% of the Asterisk community is using the system for PBX application rather than VOIP, may be, just may be, Asterisk has not been tested with a good number of simultaneous calls. 2. I am using Xeon 2.6G chip, much more powerful than yours, I have not got any problem with CPU usage, at least not during the time that I was watching. The thing is when I start 'safe_asterisk' , I could see when doing a PID, 1 "safe_asterisk" PID session and at least 10 (or more especially when there are more calls) "asterisk -vvvg -c" PID session. Each session takes up about 18M to 20M RAM, when that is why I am seeing all very high memory usage. How many sessions of Asterick do you see running after you loaded it? 3. Are you running H323 (Jeremy) and OH323 (Michael)? I am running Jeremy's and have had this inbound H323 problem. I tried OH323 (Michael) as well, but for some reasons, I am getting this false connect signal, that is, I made an outbound H323 call to a CiscoAS5300 for example, I heard the ring and immediately on my "Asterisk", it showed call answered when it was still ringing. Do you have that experience?? What setting you have if you do not have that experience? 4. Lets talk off list at [EMAIL PROTECTED]. Thanks Tom -Original Message-From: Jesse Peterson [mailto:[EMAIL PROTECTED]On Behalf Of Jesse PetersonSent: Thursday, January 15, 2004 8:21 PMTo: [EMAIL PROTECTED]Subject: RE: [Asterisk-Users] capacity testing Sorry for the malformed mail. My responses are marked with '***' below. jesse == Hi,I am a newbie in Asterisk as well, intending to use it in a similar way asyou are, communicating with AS5300 as well as other gateways includingMAXTNT.I have had similar, but yet different experiences than yours.1. Asterisk does crash with the number of calls, but in my case, about orless than 20 calls, then I would get either a Segmentation Error and thencrashed OR it would just crash saying "Disconnected from Asterisk server"all of a sudden. *** The crashesI experienced were fairly transparent. When I had the console (asterisk -r) running, I saw the 'Disconnected' message you mention.2. I am using Pentium Xeon chip and hence more powerful than yours with 512MRAM, my CPU usage has always been low, however, I have not had a chance tolook at the CPU usage just before crashing, but all the time that I waslooking, it has been low. Rather the MEMORY has always remained high at 450Musage even with no calls. This is a different experience as compared toyours.*** A Xeon of the same speed (
[Asterisk-Users] capacity testing
Hello all. I'm new to asterisk and have been using and testing it for about a week now. My initial hope has been to use it as a sip-h323 gateway to tie SIP H323 based ip phones together with my Cisco AS5300 and Lucent MaxTNT/MVAM networks. I am currently running Asterisk 0.5.0 under Redhat 9 on a single PIII 800 with 256megs RAM. I have tried a couple CVS version from the past week (maybe 01/09/04 and 01/14/04) and have not been able to get them to work semi-reliably in my simple 1 or 2 call test cases. v.0.5.0 has supported those ok. Primarily test cases have involved sending ip phone calls via SIP to Asterisk and having Asterisk route the calls using h323 via a gatekeeper to my TNT network which then sends it out the PSTN... and the opposite path, PSTN-TNT-Asterisk-SIP Phone. Another test has been sending a call from a AS5300 using SIP to Asterisk, out H323 to a TNT. Both of those have worked very well with the voice quality being excellent (actually better than a SIP-ISDN T1 hardware solution we've been working with - audiocodes mediant 2k for those interested). This is the test case I describe below as it was the one the allowed me to load Asterisk up with the most calls. Anyway, I know that what I'm doing is not exactly the intended primary use of Asterisk. That said, here's what I found. Voice quality was very good until I had approx. 25 calls up. At that point there were intermittent issues with garbled voice, a little echo, etc. When it reached a little over 30 calls, Asterisk just died (oops). During the test, I was trying to keep an eye on proc. memory util. Memory never seemed to be an issue - even right before the crash the Asterisk process was not using more than 20 - 25MB. Processor utilization was interesting to watch though. I couldn't make any direct/firm correlation, but it seemed like my spikes were coming when Asterisk was doing call setup. Even up to about 25 calls, utilization didn't spike to more the 25% for long, and with ~25 calls seemed to 'idle' around 15%. Above the 25 (when also started noticing voice quality issues), the proc. util. seemed to start going wacky - spikes up to 40, 50, even 60%. Then it went to 99% for a moment, voice quality was horrible if you could hear anything, and Asterisk crashed. I did not find anything in the logs to inidicate any problems, though I've found that to be the case pretty much everytime Asterisk crashes. I saw a list thread in which a developer asked for some gdb output... in it, he said this: Run asterisk with -vvvcg. Do your test (core file generated). Run gdb /usr/sbin/asterisk core_filename From within gdb run bt and send me the output of it. if it is of use, here it is (from asterisk v.0.5.0) - (gdb) bt #0 ast_smoother_feed (s=0xcbf90080, f=0x5de5c4a8) at frame.c:72 #1 0x41eb00b1 in oh323_write (c=0x8214488, f=0x5de5c4a8) at chan_oh323.c:1504 #2 0x0805884f in ast_write (chan=0x8214488, fr=0x5de5c4a8) at channel.c:1385 #3 0x0805afa1 in ast_channel_bridge (c0=0x5de5c4a8, c1=0x0, flags=0, fo=0x6ef20e50, rc=0x6ef20e54) at channel.c:2262 #4 0x418bdd7a in ast_bridge_call (chan=0x5de5ed98, peer=0x8214488, allowredirect_in=0, allowredirect_out=0, allowdisconnect=0) at res_parking.c:224 #5 0x41d6bfeb in dial_exec (chan=0x5de5ed98, data=0x41d6d19b) at app_dial.c:668 #6 0x08061a5a in pbx_exec (c=0x5de5ed98, app=0x80f0f98, data=0x6ef216e8, newstack=1) at pbx.c:396 #7 0x08068c61 in pbx_extension_helper (c=0x5de5ed98, context=0x5de5eeec longdistance, exten=0x8214488 H323:8257, priority=2, callerid=0x5de10048 \Jesse Peterson\ 2474766, action=1104606132) at pbx.c:1150 #8 0x0806392c in ast_pbx_run (c=0x41d6f3b4) at pbx.c:1634 #9 0x08069321 in pbx_thread (data=0x84a5038) at pbx.c:1855 #10 0x40026484 in start_thread () from /lib/tls/libpthread.so.0 - If anyone has tried something like this or has any comments, I'd be interested in hearing from them. jesse ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] capacity testing
On 15/01/04 19:39, Jesse Peterson wrote: #0 ast_smoother_feed (s=0xcbf90080, f=0x5de5c4a8) at frame.c:72 #1 0x41eb00b1 in oh323_write (c=0x8214488, f=0x5de5c4a8) at chan_oh323.c:1504 Do you experience the same problems when you use the other (bundled) h323 driver? (asterisk/channels/h323/README for instructions) Alastair ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] capacity testing
Hi, I am a newbie in Asterisk as well, intending to use it in a similar way as you are, communicating with AS5300 as well as other gateways including MAXTNT. I have had similar, but yet different experiences than yours. 1. Asterisk does crash with the number of calls, but in my case, about or less than 20 calls, then I would get either a Segmentation Error and then crashed OR it would just crash saying Disconnected from Asterisk server all of a sudden. 2. I am using Pentium Xeon chip and hence more powerful than yours with 512M RAM, my CPU usage has always been low, however, I have not had a chance to look at the CPU usage just before crashing, but all the time that I was looking, it has been low. Rather the MEMORY has always remained high at 450M usage even with no calls. This is a different experience as compared to yours. 3. I have also noticed that with more calls, and after a certain random period of time, any H323 calls going into the Asterisk would fail, my AS5300 and MAXT TNT would get their calls all rejected from Asterisk. However, Asterisk was still running at the time and I could actually call in and out the zap interface and outbound H323 from Asterisk was not a problem. It seems that something got hung with H323, causing inbound H323 calls into Asterisk to all fail. In this situation, I would have to stop the Asterisk and rerun it to fix the problem. 4. I have not tried the 0.7.0 version, but with existing version, I am not getting reliable and stable system, nothing close to Cisco and Lucent which are rock solid. However, I really love the power and the features of Asterisk, and I remain in good faith to see improvements. Any associate out there who can shed some lights into this? I am rather curious as to why I seem to be using up all memory although I am not running any unnecessary processes, or should I actually disable all modules, other than really necessary ones to support VOIP? Thanks ! Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jesse Peterson Sent: Thursday, January 15, 2004 2:40 PM To: Asterisk-Users (E-mail) Subject: [Asterisk-Users] capacity testing Hello all. I'm new to asterisk and have been using and testing it for about a week now. My initial hope has been to use it as a sip-h323 gateway to tie SIP H323 based ip phones together with my Cisco AS5300 and Lucent MaxTNT/MVAM networks. I am currently running Asterisk 0.5.0 under Redhat 9 on a single PIII 800 with 256megs RAM. I have tried a couple CVS version from the past week (maybe 01/09/04 and 01/14/04) and have not been able to get them to work semi-reliably in my simple 1 or 2 call test cases. v.0.5.0 has supported those ok. Primarily test cases have involved sending ip phone calls via SIP to Asterisk and having Asterisk route the calls using h323 via a gatekeeper to my TNT network which then sends it out the PSTN... and the opposite path, PSTN-TNT-Asterisk-SIP Phone. Another test has been sending a call from a AS5300 using SIP to Asterisk, out H323 to a TNT. Both of those have worked very well with the voice quality being excellent (actually better than a SIP-ISDN T1 hardware solution we've been working with - audiocodes mediant 2k for those interested). This is the test case I describe below as it was the one the allowed me to load Asterisk up with the most calls. Anyway, I know that what I'm doing is not exactly the intended primary use of Asterisk. That said, here's what I found. Voice quality was very good until I had approx. 25 calls up. At that point there were intermittent issues with garbled voice, a little echo, etc. When it reached a little over 30 calls, Asterisk just died (oops). During the test, I was trying to keep an eye on proc. memory util. Memory never seemed to be an issue - even right before the crash the Asterisk process was not using more than 20 - 25MB. Processor utilization was interesting to watch though. I couldn't make any direct/firm correlation, but it seemed like my spikes were coming when Asterisk was doing call setup. Even up to about 25 calls, utilization didn't spike to more the 25% for long, and with ~25 calls seemed to 'idle' around 15%. Above the 25 (when also started noticing voice quality issues), the proc. util. seemed to start going wacky - spikes up to 40, 50, even 60%. Then it went to 99% for a moment, voice quality was horrible if you could hear anything, and Asterisk crashed. I did not find anything in the logs to inidicate any problems, though I've found that to be the case pretty much everytime Asterisk crashes. I saw a list thread in which a developer asked for some gdb output... in it, he said this: Run asterisk with -vvvcg. Do your test (core file generated). Run gdb /usr/sbin/asterisk core_filename From within gdb run bt and send me the output of it. if it is of use, here it is (from asterisk v.0.5.0) - (gdb) bt #0 ast_smoother_feed (s=0xcbf90080, f=0x5de5c4a8) at frame.c
Re: [Asterisk-Users] capacity testing
THat's not bad 20 calls through a 800Mhz P3. I new 3Ghz P4 could likely handle 60 then. Not bad. But don't beleive top. First off if acverages. Think for a minute. We all kow a CPU can never by 20% in use it is either in an idle loop (at 0%) or doing real work (100%) it can't be in an in-between state. I think with Asterisk what matteris is the probibility that when a packet comes in the CPU is idle and available to process it. When top says 20% that means that is only an 80% chance the CPU is free. Looks like 80 or 85 is about the braking point. Same applies to bandwidth. If a packets needs to go out, it needs to go out NOW not some time later if the sound quality is to be OK. So you look at the probibility of collision not just the available bandwidth. If your bandwidth is half used by, say web surfers, then half of your VOIP packets will be delayed. Jitter buffer can help, to a point. Back to CPU utilization: 30% utiliation means it is not available to handle a packet 30% of the time and that hansling must be queued up or delayed. --- Jesse Peterson [EMAIL PROTECTED] wrote: Hello all. I'm new to asterisk and have been using and testing it for about a week now. My initial hope has been to use it as a sip-h323 gateway to tie SIP H323 based ip phones together with my Cisco AS5300 and Lucent MaxTNT/MVAM networks. I am currently running Asterisk 0.5.0 under Redhat 9 on a single PIII 800 with 256megs RAM. I have tried a couple CVS version from the past week (maybe 01/09/04 and 01/14/04) and have not been able to get them to work semi-reliably in my simple 1 or 2 call test cases. v.0.5.0 has supported those ok. Primarily test cases have involved sending ip phone calls via SIP to Asterisk and having Asterisk route the calls using h323 via a gatekeeper to my TNT network which then sends it out the PSTN... and the opposite path, PSTN-TNT-Asterisk-SIP Phone. Another test has been sending a call from a AS5300 using SIP to Asterisk, out H323 to a TNT. Both of those have worked very well with the voice quality being excellent (actually better than a SIP-ISDN T1 hardware solution we've been working with - audiocodes mediant 2k for those interested). This is the test case I describe below as it was the one the allowed me to load Asterisk up with the most calls. Anyway, I know that what I'm doing is not exactly the intended primary use of Asterisk. That said, here's what I found. Voice quality was very good until I had approx. 25 calls up. At that point there were intermittent issues with garbled voice, a little echo, etc. When it reached a little over 30 calls, Asterisk just died (oops). During the test, I was trying to keep an eye on proc. memory util. Memory never seemed to be an issue - even right before the crash the Asterisk process was not using more than 20 - 25MB. Processor utilization was interesting to watch though. I couldn't make any direct/firm correlation, but it seemed like my spikes were coming when Asterisk was doing call setup. Even up to about 25 calls, utilization didn't spike to more the 25% for long, and with ~25 calls seemed to 'idle' around 15%. Above the 25 (when also started noticing voice quality issues), the proc. util. seemed to start going wacky - spikes up to 40, 50, even 60%. Then it went to 99% for a moment, voice quality was horrible if you could hear anything, and Asterisk crashed. I did not find anything in the logs to inidicate any problems, though I've found that to be the case pretty much everytime Asterisk crashes. I saw a list thread in which a developer asked for some gdb output... in it, he said this: Run asterisk with -vvvcg. Do your test (core file generated). Run gdb /usr/sbin/asterisk core_filename From within gdb run bt and send me the output of it. if it is of use, here it is (from asterisk v.0.5.0) - (gdb) bt #0 ast_smoother_feed (s=0xcbf90080, f=0x5de5c4a8) at frame.c:72 #1 0x41eb00b1 in oh323_write (c=0x8214488, f=0x5de5c4a8) at chan_oh323.c:1504 #2 0x0805884f in ast_write (chan=0x8214488, fr=0x5de5c4a8) at channel.c:1385 #3 0x0805afa1 in ast_channel_bridge (c0=0x5de5c4a8, c1=0x0, flags=0, fo=0x6ef20e50, rc=0x6ef20e54) at channel.c:2262 #4 0x418bdd7a in ast_bridge_call (chan=0x5de5ed98, peer=0x8214488, allowredirect_in=0, allowredirect_out=0, allowdisconnect=0) at res_parking.c:224 #5 0x41d6bfeb in dial_exec (chan=0x5de5ed98, data=0x41d6d19b) at app_dial.c:668 #6 0x08061a5a in pbx_exec (c=0x5de5ed98, app=0x80f0f98, data=0x6ef216e8, newstack=1) at pbx.c:396 #7 0x08068c61 in pbx_extension_helper (c=0x5de5ed98, context=0x5de5eeec longdistance, exten=0x8214488 H323:8257, priority=2, callerid=0x5de10048 \Jesse Peterson\ 2474766, action=1104606132) at pbx.c:1150 #8 0x0806392c in ast_pbx_run (c=0x41d6f3b4) at pbx.c:1634 #9 0x08069321 in pbx_thread (data=0x84a5038) at pbx.c:1855 #10 0x40026484 in start_thread () from
RE: [Asterisk-Users] capacity testing
I am rather curious as to why I seem to be using up all memory although I am not running any unnecessary processes, or should I actually disable all modules, other than really necessary ones to support VOIP? Do you mean that Asterisk is using up all of your memory or that all of your memory is i use? If the former, that's odd. But you should expect the later. Linux is designed such that it will always try to put almost all of your memory to good use. It will use extra RAM as a disk cache. So if you were to cut the amount of RAM in your system in half you'd have only slightly less free RAM as Linux would use a smaller disk cache Now if you say the Asterisk process in the idle state is 450MB then something is wrong = Chris Albertson Home: 310-376-1029 [EMAIL PROTECTED] Cell: 310-990-7550 Office: 310-336-5189 [EMAIL PROTECTED] KG6OMK __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] capacity testing
I did initially, but I was having problems (possibly just in thinking it through) getting the provided h323 driver to either a) register as a gateway with my gatekeeper - that just does not seem to be and option (please correct me if I'm wrong!!!) or b) setup a 'variable' extension (yes, extensions.conf) that would allow me to route any number to it. jesse -Original Message- From: Alastair Maw [mailto:[EMAIL PROTECTED] Sent: Thu 1/15/2004 5:17 PM To: [EMAIL PROTECTED] Cc: Subject: Re: [Asterisk-Users] capacity testing On 15/01/04 19:39, Jesse Peterson wrote: #0 ast_smoother_feed (s=0xcbf90080, f=0x5de5c4a8) at frame.c:72 #1 0x41eb00b1 in oh323_write (c=0x8214488, f=0x5de5c4a8) at chan_oh323.c:1504 Do you experience the same problems when you use the other (bundled) h323 driver? (asterisk/channels/h323/README for instructions) Alastair ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users winmail.dat
RE: [Asterisk-Users] capacity testing
Sorry for the malformed mail. My responses are marked with '***' below. jesse == Hi, I am a newbie in Asterisk as well, intending to use it in a similar way as you are, communicating with AS5300 as well as other gateways including MAXTNT. I have had similar, but yet different experiences than yours. 1. Asterisk does crash with the number of calls, but in my case, about or less than 20 calls, then I would get either a Segmentation Error and then crashed OR it would just crash saying Disconnected from Asterisk server all of a sudden. *** The crashes I experienced were fairly transparent. When I had the console (asterisk -r) running, I saw the 'Disconnected' message you mention. 2. I am using Pentium Xeon chip and hence more powerful than yours with 512M RAM, my CPU usage has always been low, however, I have not had a chance to look at the CPU usage just before crashing, but all the time that I was looking, it has been low. Rather the MEMORY has always remained high at 450M usage even with no calls. This is a different experience as compared to yours. *** A Xeon of the same speed (800mhz in my case) should certainly perform better - lower, I don't know. I find it a little odd that you experienced basically the opposite of my testing. What version are you running? 3. I have also noticed that with more calls, and after a certain random period of time, any H323 calls going into the Asterisk would fail, my AS5300 and MAXT TNT would get their calls all rejected from Asterisk. However, Asterisk was still running at the time and I could actually call in and out the zap interface and outbound H323 from Asterisk was not a problem. It seems that something got hung with H323, causing inbound H323 calls into Asterisk to all fail. In this situation, I would have to stop the Asterisk and rerun it to fix the problem. *** Interesting - I have not experienced that (yet...). 4. I have not tried the 0.7.0 version, but with existing version, I am not getting reliable and stable system, nothing close to Cisco and Lucent which are rock solid. However, I really love the power and the features of Asterisk, and I remain in good faith to see improvements. Any associate out there who can shed some lights into this? I am rather curious as to why I seem to be using up all memory although I am not running any unnecessary processes, or should I actually disable all modules, other than really necessary ones to support VOIP? *** Since you and I are working in what sounds to be a familiar environment, maybe we should communicate about our test scenarios, etc off list to both help each other and see if we can find some similarities to share with others. Thanks ! Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jesse Peterson Sent: Thursday, January 15, 2004 2:40 PM To: Asterisk-Users (E-mail) Subject: [Asterisk-Users] capacity testing Hello all. I'm new to asterisk and have been using and testing it for about a week now. My initial hope has been to use it as a sip-h323 gateway to tie SIP H323 based ip phones together with my Cisco AS5300 and Lucent MaxTNT/MVAM networks. I am currently running Asterisk 0.5.0 under Redhat 9 on a single PIII 800 with 256megs RAM. I have tried a couple CVS version from the past week (maybe 01/09/04 and 01/14/04) and have not been able to get them to work semi-reliably in my simple 1 or 2 call test cases. v.0.5.0 has supported those ok. Primarily test cases have involved sending ip phone calls via SIP to Asterisk and having Asterisk route the calls using h323 via a gatekeeper to my TNT network which then sends it out the PSTN... and the opposite path, PSTN-TNT-Asterisk-SIP Phone. Another test has been sending a call from a AS5300 using SIP to Asterisk, out H323 to a TNT. Both of those have worked very well with the voice quality being excellent (actually better than a SIP-ISDN T1 hardware solution we've been working with - audiocodes mediant 2k for those interested). This is the test case I describe below as it was the one the allowed me to load Asterisk up with the most calls. Anyway, I know that what I'm doing is not exactly the intended primary use of Asterisk. That said, here's what I found. Voice quality was very good until I had approx. 25 calls up. At that point there were intermittent issues with garbled voice, a little echo, etc. When it reached a little over 30 calls, Asterisk just died (oops). During the test, I was trying to keep an eye on proc. memory util. Memory never seemed to be an issue - even right before the crash the Asterisk process was not using more than 20 - 25MB. Processor utilization was interesting to watch though. I couldn't make any direct/firm correlation, but it seemed like my spikes were coming when Asterisk was doing call setup. Even up to about 25 calls, utilization didn't spike to more the 25% for long, and with ~25 calls seemed to 'idle' around 15%. Above the 25 (when also started noticing voice quality
Re: [Asterisk-Users] capacity testing
Jesse Peterson wrote: I am currently running Asterisk 0.5.0 under Redhat 9 on a single PIII 800 with 256megs RAM. CVS UPDATE! That code is hardcore old. Jeremy McNamara ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] capacity testing
Title: RE: [Asterisk-Users] capacity testing Hi all, and Jesse 1. So, you did get the experience of crashing all of a sudden with the "Disconnected from Asterisk server" error message. I got both this and the segmentation error when crashing. I am running the version of asterisk, libpri and zaptel updated to about 5 days ago, but I have had tested Asterisk for more than a month already and needless to say I have had this experience since Day 1, meaning it has always been a problem even in the previous revisions. Henceforth, I feel that it is an intrinsic Asterisk problem, rather than just the problem with specific versions / revisions. I have posted this problem a few times before, I feel that this is a major problem but surprisingly, I was not getting any feedback at all. I have this feeling that more than 90% of the Asterisk community is using the system for PBX application rather than VOIP, may be, just may be, Asterisk has not been tested with a good number of simultaneous calls. 2. I am using Xeon 2.6G chip, much more powerful than yours, I have not got any problem with CPU usage, at least not during the time that I was watching. The thing is when I start 'safe_asterisk' , I could see when doing a PID, 1 "safe_asterisk" PID session and at least 10 (or more especially when there are more calls) "asterisk -vvvg -c" PID session. Each session takes up about 18M to 20M RAM, when that is why I am seeing all very high memory usage. How many sessions of Asterick do you see running after you loaded it? 3. Are you running H323 (Jeremy) and OH323 (Michael)? I am running Jeremy's and have had this inbound H323 problem. I tried OH323 (Michael) as well, but for some reasons, I am getting this false connect signal, that is, I made an outbound H323 call to a CiscoAS5300 for example, I heard the ring and immediately on my "Asterisk", it showed call answered when it was still ringing. Do you have that experience?? What setting you have if you do not have that experience? 4. Lets talk off list at [EMAIL PROTECTED]. Thanks Tom -Original Message-From: Jesse Peterson [mailto:[EMAIL PROTECTED]On Behalf Of Jesse PetersonSent: Thursday, January 15, 2004 8:21 PMTo: [EMAIL PROTECTED]Subject: RE: [Asterisk-Users] capacity testing Sorry for the malformed mail. My responses are marked with '***' below. jesse == Hi,I am a newbie in Asterisk as well, intending to use it in a similar way asyou are, communicating with AS5300 as well as other gateways includingMAXTNT.I have had similar, but yet different experiences than yours.1. Asterisk does crash with the number of calls, but in my case, about orless than 20 calls, then I would get either a Segmentation Error and thencrashed OR it would just crash saying "Disconnected from Asterisk server"all of a sudden. *** The crashesI experienced were fairly transparent. When I had the console (asterisk -r) running, I saw the 'Disconnected' message you mention.2. I am using Pentium Xeon chip and hence more powerful than yours with 512MRAM, my CPU usage has always been low, however, I have not had a chance tolook at the CPU usage just before crashing, but all the time that I waslooking, it has been low. Rather the MEMORY has always remained high at 450Musage even with no calls. This is a different experience as compared toyours.*** A Xeon of the same speed (800mhz in my case) should certainly perform better - lower, I don't know. I find it a little odd that you experienced basically the opposite of my testing. What version are you running? 3. I have also noticed that with more calls, and after a certain randomperiod of time, any H323 calls going into the Asterisk would fail, my AS5300and MAXT TNT would get their calls all rejected from Asterisk. However,Asterisk was still running at the time and I could actually call in and outthe zap interface and outbound H323 from Asterisk was not a problem. Itseems that something got hung with H323, causing inbound H323 calls intoAsterisk to all fail. In this situation, I would have to stop the Asteriskand rerun it to fix the problem.*** Interesting - I have not experienced that (yet...). 4. I have not tried the 0.7.0 version, but with existing version, I am notgetting reliable and stable system, nothing close to Cisco and Lucent whichare rock solid. However, I really love the power and the features ofAsterisk, and I remain in good faith to see improvements.Any associate out there who can shed some lights into this? I am rathercurious as to why I seem to be using up all memory although I am not runningany unnecessary processes, or should I actually disable all modules, otherthan really necessary ones to support VOIP? *** Since you and I are working in what sounds to be a familiar environment, maybe we should communicate abou
RE: [Asterisk-Users] capacity testing
I know, but as I mentioned in the inital post, I haven't been able to get the last 2 cvs versions I've pulled to run stable enough to test. I've seen a 0.7.0 version number mentioned. Is there newer, mostly stable version of code I should try that just hasn't been officially released? jesse -Original Message- From: Jeremy McNamara [mailto:[EMAIL PROTECTED] Sent: Thu 1/15/2004 10:11 PM To: [EMAIL PROTECTED] Cc: Subject: Re: [Asterisk-Users] capacity testing Jesse Peterson wrote: I am currently running Asterisk 0.5.0 under Redhat 9 on a single PIII 800 with 256megs RAM. CVS UPDATE! That code is hardcore old. Jeremy McNamara ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users winmail.dat