[asterisk-dev] CPU Utilization with MixMonitor on Asterisk 11.2.1

Matthew J. Roth mroth at imminc.com
Thu Apr 4 11:48:09 CDT 2013


Yoshinobu Hosaka wrote:
>
> I am testing cpu load with mixmonitor on asterisk 11.2.1
> The cpu utilization is  over 50% with 500 calls.
> On same test with asterisk 1.8.21, the result is 25%.
> 
> Performance seems to be getting worse.
> Please tell me your opinion.
> 
> The test environments, procedures, and result are shown below.
>
> Configurations:
> sv1 is INITIATOR.
> sv2 is TARGET.
>
> Results:
> vmstat on sv2 ---------------------------------------
> 
> #vmstat 1
> ---system----   -------cpu--------
>    in      cs   us  sy  id  wa  st
>     1       1    0   0  99   0   0        
>  1173    2288    0   0 100   0   0        
>  1386    2581    0   0 100   0   0        
> ...
> 13846   46215    3   4  93   0   0        
> 14074   54866    3   5  92   0   0        
> 16169   63160    4   6  90   0   0        
> ...
> 46834  151506   14  42  43   0   0        
> 50758  162154   15  48  37   0   0        
> 52457  170027   16  50  34   0   0        
> ...
> 42116  198189   18  57  25   0   0        
> 41328  190591   18  58  24   0   0        
> 40584  192130   18  56  26   0   0        


Yoshinobu,

This is not really a development question, so you'd probably get better answers
by asking it on the users list.

That said, I find what you've shown to be confusing.  You state that the 1.8.21
system ran at 75% idle (25% CPU utilization) to outperform the 11.2.1 system at
50% idle (50% CPU utilization), but the vmstat output does not match either of
these scenarios.  It shows a system trending to 25% idle (75% CPU utilization).
You also do not state which system was the source of the vmstat output.

Is it possible that it's from the 1.8.21 system and you're misinterpreting the
idle column (id) as showing CPU utilization?  If so, the 50% CPU utilization on
the 11.2.1 system is actually an improvement which is more inline with the
expectations of upgrading from Asterisk 1.8 to 11.  If not, please clarify the
information you've presented and post it to the users list.

Regards,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer



More information about the asterisk-dev mailing list