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

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Nov 13 13:44:21 CST 2007


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             11-13-2007 10:06 CST
Last Modified:              11-13-2007 13:44 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.
====================================================================== 

---------------------------------------------------------------------- 
 russell - 11-13-07 13:44  
---------------------------------------------------------------------- 
What you probably want is for chan_sip to handle signalling with a thread
pool, as opposed to a single thread.  In that case, it's certainly a
feature request, and not something appropriate for the bug tracker. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-13-07 13:44  russell        Status                   new => resolved     
11-13-07 13:44  russell        Resolution               open => no change
required
11-13-07 13:44  russell        Assigned To               => russell         
11-13-07 13:44  russell        Note Added: 0073585                          
======================================================================




More information about the asterisk-bugs mailing list