Hi, I know somebody is going to give me the link to the wiki hardware pages, but I can't find the answer there. I'd like to know if, for an Asterisk only system (nothing else of note running on it), I get a real gain from having 2 CPUs. Does the amount of traffic/SIP registrations/codec translation possible doubles with 2 CPUs? (each quad core E5420 to be precise)? Does it increase by 50%? It is only a marginal increase, or none at all? I wish I could test it myself, but I haven't bought the hardware yet and this will help me decide what I am buying. Regards, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090326/a0e5d25c/attachment.htm
On 27/03/2009 8:06 a.m., Mike wrote:> Hi, > > > > I know somebody is going to give me the link to the wiki hardware pages, but > I can't find the answer there. I'd like to know if, for an Asterisk only > system (nothing else of note running on it), I get a real gain from having 2 > CPUs. > > > > Does the amount of traffic/SIP registrations/codec translation possible > doubles with 2 CPUs? (each quad core E5420 to be precise)? Does it increase > by 50%? It is only a marginal increase, or none at all? > > > > I wish I could test it myself, but I haven't bought the hardware yet and > this will help me decide what I am buying.I tend to use multiple CPUs more on machines that handle multiple tasks (i.e. MySQL, Asterisk, Apache) -- Kind Regards, Matt Riddell Director _______________________________________________ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
On Thu, Mar 26, 2009 at 3:06 PM, Mike <list at virtutel.ca> wrote:> Hi, > > I know somebody is going to give me the link to the wiki hardware pages, but > I can't find the answer there. I'd like to know if, for an Asterisk only > system (nothing else of note running on it), I get a real gain from having 2 > CPUs. > > Does the amount of traffic/SIP registrations/codec translation possible > doubles with 2 CPUs? (each quad core E5420 to be precise)? Does it increase > by 50%?? It is only a marginal increase, or none at all?You don't say anything about your possible kind of usage, so it's difficult to provide any specific answer to your question. In general, a few things are true: * asterisk is multi-threaded * linux kernel has nice job schedulers and i/o schedulers * if you have more ram, more things will get cached in ram * if you have more cpus / cores you can do more things at once as long as they aren't all idle waiting for some resource constraint You need to run a LOT of traffic through a server if it's just straight call handling, with a minimum of disk-bound i/o or transcoding, before you're going to max out modern hardware. So just buy the best server you want to buy, but save some money for a good warranty, or buy two servers if that's cheaper than what it would cost to be down. If you want more in-depth discussions on this you probably would prefer the asterisk-ha-clustering list: http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering
Mike wrote:> > Hi, > > > > I know somebody is going to give me the link to the wiki hardware > pages, but I can't find the answer there. I'd like to know if, for an > Asterisk only system (nothing else of note running on it), I get a > real gain from having 2 CPUs. > > > > Does the amount of traffic/SIP registrations/codec translation > possible doubles with 2 CPUs? (each quad core E5420 to be precise)? > Does it increase by 50%? It is only a marginal increase, or none at all? > > > > I wish I could test it myself, but I haven't bought the hardware yet > and this will help me decide what I am buying. > > > > Regards, > > > > Mike > > > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- 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-usersIn my experience I don't see any benefit from dual cpu's on asterisk boxes unless you are doing a lot of transcoding and generally I would suggest trying to avoid transcoding as it generally works out more cost effective in the long run than continually adding hardware. I've found chan_sip to be a limiter long before the hardware is stressed. -- Robin D. Rodriguez Systems Engineer Ifbyphone, Inc. http://www.ifbyphone.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090326/6992c11f/attachment.htm