Hello, I wonder how Asterisk scales when we increment the Core's or CPU's of one computer. I see that Asterisk is only one process (I guess that it uses threads). But because Asterisk is only one process, this process is always executed in the same CPU. So we can have a 8 Cores server, with one Core running Asterisk, another Core running operating system stuff/other small daemons and 6 idle cores. Is this correct? Why not? If this is correct, increasing CPU number of Asterisk server box would not increase the performance. I don't see any other process that could use other Cores (like transcoding processes, executing dialplan, etc.) Thank you for your information, -- Carles Pina i Estany GPG id: 0x8CBDAE64 http://pinux.info Manresa - Barcelona
> > Hello, > > I wonder how Asterisk scales when we increment the Core's or CPU's of > one computer. > > I see that Asterisk is only one process (I guess that it uses threads). > But because Asterisk is only one process, this process is always > executed in the same CPU. So we can have a 8 Cores server, with one Core > running Asterisk, another Core running operating system stuff/other > small daemons and 6 idle cores. > > Is this correct? Why not? > > If this is correct, increasing CPU number of Asterisk server box would > not increase the performance. > > I don't see any other process that could use other Cores (like > transcoding processes, executing dialplan, etc.) > > Thank you for your information, > > -- > Carles Pina i Estany GPG id: 0x8CBDAE64 > http://pinux.info Manresa - BarcelonaCarles, Asterisk is one process, but as you mentioned multi-threaded as well. Because it is multi-threaded it can run on multiple cores/CPU's at a time. I don't know the internals of Asterisk that well so I can't site specific examples, but I know that there are some scalability bottlenecks people are looking at, specifically with the IAX protocol and how the threads send/receive packets. I'm sure that an Asterisk developer can chime in and give several examples of how Asterisk uses its threads to increase scalability. That said, there will be a point where the number of core/CPU's won't be the bottleneck so adding more won't help anything. Ryan
Hi, On Wed, 2008-01-23 at 16:03 -0500, Alex Balashov wrote:> On Wed, 23 Jan 2008, Stephen Davies wrote: > > > By the way, I have a client with a four-core Xeon box doing SIP to IAX > > conversion - that box can handle 1000 concurrent calls. > > With media passing through it?if doing conversion from sip 2 iax is pretty difficult to NOT handle media... since iax does not have RTP. regards mat
Hi, Does anyone have data on the switching capacity of Asterisk based on the hardware? I need to know what type of hardware would be required to switch 100 simultaneous calls as opposed to 1000 or 10000 calls, no TDM just SIP to SIP VoIP calls Thanks Femi
Hi!> Does anyone have data on the switching capacity of Asterisk based on the > hardware? > I need to know what type of hardware would be required to switch 100 > simultaneous calls as opposed to 1000 or 10000 calls, no TDM just SIP to SIP > VoIP callsUse the Wiki, Luke! http://www.voip-info.org/wiki/index.php?page=Asterisk+dimensioning Cheers, Philipp
Thanks! Femi -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Philipp von Klitzing Sent: 08 February 2008 15:20 To: asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Scalability Hi!> Does anyone have data on the switching capacity of Asterisk based on the > hardware? > I need to know what type of hardware would be required to switch 100 > simultaneous calls as opposed to 1000 or 10000 calls, no TDM just SIP toSIP> VoIP callsUse the Wiki, Luke! http://www.voip-info.org/wiki/index.php?page=Asterisk+dimensioning Cheers, Philipp _______________________________________________ -- 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
We have multiple installs that tested-out at nearly concurrent 400 SIP channels on a Dell 2950 with 2Xquad core at 1.6 Ghz, 16 GB of RAM. Bryan M. Johns Shelton | Johns Office: 678.248.2637 FindMe: 678.229.1809 Support: support at sheltonjohns.com http://www.sheltonjohns.com On Feb 8, 2008, at 5:09 AM, Femi wrote:> Hi, > Does anyone have data on the switching capacity of Asterisk based on > the > hardware? > I need to know what type of hardware would be required to switch 100 > simultaneous calls as opposed to 1000 or 10000 calls, no TDM just > SIP to SIP > VoIP calls > > Thanks > > Femi > > > > > > _______________________________________________ > -- 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
Hi Bryan, Were these calls to the PSTN or SIP - SIP calls? Was there any transcoding going on, and what was the CPU load at this time? Thanks, Femi -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bryan M. Johns Sent: 10 February 2008 18:55 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk Scalability We have multiple installs that tested-out at nearly concurrent 400 SIP channels on a Dell 2950 with 2Xquad core at 1.6 Ghz, 16 GB of RAM. Bryan M. Johns Shelton | Johns Office: 678.248.2637 FindMe: 678.229.1809 Support: support at sheltonjohns.com http://www.sheltonjohns.com On Feb 8, 2008, at 5:09 AM, Femi wrote:> Hi, > Does anyone have data on the switching capacity of Asterisk based on > the > hardware? > I need to know what type of hardware would be required to switch 100 > simultaneous calls as opposed to 1000 or 10000 calls, no TDM just > SIP to SIP > VoIP calls > > Thanks > > Femi > > > > > > _______________________________________________ > -- 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