[asterisk-bugs] [Asterisk 0011232]: Asterisk core not multitreading sip-to-sip calls

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Nov 14 06:46:16 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11232 
====================================================================== 
Reported By:                coppens_b
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11232
Category:                   Core-General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-13-2007 10:06 CST
Last Modified:              11-14-2007 06:46 CST
====================================================================== 
Summary:                    Asterisk core not multitreading sip-to-sip calls
Description: 
Presently we are running asterisk in an sip-to-sip environment. In this
scenario, each call is using the following path:
G729 client -> [asterisk core] -> G729 client (no transcoding, with
canreinvite= yes).
For a certain amount of traffic, we have observed that CPU 0 is havely
loaded while the other CPU's 1,2 and 3 remain idle.
Setup:
DL360 G4  2* dual-core running Linux 2.6.18-8.el5
http://bugs.digium.com/view.php?id=1 SMP Fri Jan 26
14:15:21 EST 2007 i686 i686 i386 GNU/Linux
Asterisk 1.4.13 built by root @ ast2-gos2-be on a i686 running Linux on
2007-10-15 11:33:09 UTC

We retrieved the following stats for 120 simultenous sip-to-sip calls
05:42:26 PM  CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal  
%idle    intr/s
05:42:31 PM  all    0.95    0.00    2.40    0.00    0.15    0.85    0.00  
95.65  11291.40
05:42:31 PM    0    3.60    0.00    9.60    0.00    0.40    3.60    0.00  
82.80  10280.60
05:42:31 PM    1    0.00    0.00    0.00    0.00    0.20    0.00    0.00 
100.00     10.80
05:42:31 PM    2    0.00    0.00    0.00    0.00    0.00    0.00    0.00 
100.00      0.00
05:42:31 PM    3    0.00    0.00    0.00    0.00    0.00    0.00    0.00 
100.00   1000.40

We are from the opinion that we should make the asterisk core
multithreaded.
This would allow us to handle *3 more calls.
====================================================================== 

---------------------------------------------------------------------- 
 oej - 11-14-07 06:46  
---------------------------------------------------------------------- 
coppens_b: Which Linux are you using? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-14-07 06:46  oej            Note Added: 0073635                          
======================================================================




More information about the asterisk-bugs mailing list