[asterisk-users] Is there real benefits on a SMP machine for Asterisk?

Mik Cheez michael_bulk at wildgate.com
Fri Oct 12 12:55:08 CDT 2007


Actually, that looks right...look at your load average...

Steve Totaro wrote:
> I don't think that is correct.  I am running worldcommunitygrid and this 
> is what I get
> 
> top - 13:18:56 up 3 days, 22:49, 1 user, load average: 4.00, 4.04, 4.02
> 
> Cpu0:0.0%us,0.7%sy,99.3%ni,0.0%id,0.0%wa,0.0%hi,0.0%si,0.0%st
> Cpu1:0.0%us,0.0%sy,100.0%ni,0.0%id,0.0%wa,0.0%hi,0.0%si,0.0%st
> Cpu2:0.0%us,0.3%sy,98.0%ni,0.0%id,0.0%wa,1.7%hi,0.0%si,0.0%st
> Cpu3: 0.0%us,0.7%sy,99.3%ni,0.0%id,0.0%wa,0.0%hi,0.0%si,0.0%st
> 
> According to what you are saying my load average should be 100.
> 
> Thanks,
> Steve
> 
> Mik Cheez wrote:
>> In 'top', you can always look at what percentage of your CPU is idle. 
>> Subtract that from 100 and you've got your load average.
>>
>> Cpu(s):  1.1% us,  0.6% sy,  0.0% ni, *98.1% id*,  0.1% wa,  0.1% hi, 
>> 0.0% si
>>
>> Erik Anderson wrote:
>>> On 10/12/07, Philipp Kempgen <philipp.kempgen at amooma.de> wrote:
>>>> I don't think there is a formula like
>>>> cpu usage = loadavg / #cpus
>>>>
>>>> A loadavg of 3 says that there are 3 processes waiting to
>>>> be executed.
>>>>
>>>> Anyway, I'll admit that a loadavg of 3 /might/ be ok.
>>> Here's a quote from this page:
>>> http://en.wikipedia.org/wiki/Load_%28computing%29#Unix-style_load_calculation
>>>
>>> "For systems with multiple CPUs, the number needs to be divided by the
>>> number of processors in order to get a percentage."
>>>
>>> - Erik
>>>
>>> _______________________________________________
>>> --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
> 
> 



More information about the asterisk-users mailing list