[Asterisk-Users] Asterisk's MultiProcessor Ability

Michiel van Baak michiel at vanbaak.info
Wed May 25 12:26:48 MST 2005


On 10:32, Wed 25 May 05, William Boehlke wrote:
> Telephony doesn't use a lot of processor. We think one of the principal
> arguments for a second one is that you have another processor in the
> unlikely event that your primary fails. 
> 
> William Boehlke
> Signate
>  

If I recall correctly, multiple CPU's only make things
better if CPU0 handles a thread and in the mean time CPU1
can handle another thread. When asterisk is not doing some
kind of heavy en/decoding (codec translation) on multiple
simultanious calls, I see no use in more then 1 CPU.
Of course when you are gonna use the server for more then
just asterisk this argument is not valid.

Correct me if I get it wrong and I will start rereading my
schoolbooks again ;-)


> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matthew Boehm
> Sent: Wednesday, May 25, 2005 9:40 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] Asterisk's MultiProcessor Ability
> 
> We have asterisk running on a quad processor dell. The kernel has been
> compiled with SMP.
> 
> However, asterisk seems to only use 1 processor. 3 of the 4 always stay at
> 100% idle.
> 
> Is it pointless to have a multi-proc machine? I was going to buy a new dual
> 3.6Ghz Xeon server but if nothing will take advantage of the other proc...
> 
> Perhaps my conception of multi-proc/threaded is warped. If asterisk is the
> only thing using CPU, I would expect the load to be dristributed amounst the
> processors. Instead of 1 proc falling to 20% idle (80% using on that 1
> proc), I should see all 4 procs fall to 80% idle (20% used on each). Is this
> wrong?
> 
> What about the g729 library from digium? Is that multi-proc aware?
> 
> -Matthew
> 
> --
> ------------------------------------------------------------------------
> Matthew Boehm, IT Director                    Cypress Telecommunications
> mboehm at cytelcom.com                   3838 N. Sam Houston Parkway E #400
> T: 832-200-8640 x3044                                  Houston, TX 77032
> 
> My girlfriend was recently diagnosed with multiple personality disorder;
> When she called yesterday, my CallerID box exploded.
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 5/25/2005
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.322 / Virus Database: 266.11.17 - Release Date: 5/25/2005
>  
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Michiel van Baak
http://lunteren.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Two of the most famous products of Berkeley are LSD and BSD. I don't think that this is a coincidence."




More information about the asterisk-users mailing list