[asterisk-dev] Asterisk 1.8 SIP_CAUSE performance regression

Bryant Zimmerman BryantZ at zktech.com
Thu Aug 18 10:05:38 CDT 2011


----------------------------------------

From: "Matthew Nicholson" <mnicholson at digium.com>

Sent: Thursday, August 18, 2011 10:30 AM

To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>

Subject: Re: [asterisk-dev] Asterisk 1.8 SIP_CAUSE performance regression


On Thu, 2011-08-18 at 16:24 +0200, Benny Amorsen wrote:

> Matthew Nicholson <mnicholson at digium.com> writes:

> 

> > When chan_sip sets MASTER_CHANNEL(HASH(SIP_CAUSE,<chan name>)) the

> > MASTER_CHANNEL function scans the channel list which can be a slow

> > operation. Under moderate traffic loads this causes delays in 
processing

> > sip messages which can cause retransmission timers to expire.

> 

> Is there no better way to find the specific channels we are looking for,

> without a linear search? Are there other places which depend on linear

> searches through all channels?


There is some discussion about better ways to implement the same

functionality in #asterisk-dev going on now.


-- 

Matthew Nicholson

Digium, Inc. | Software Developer


Somthing more like a database style index?


Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110818/243fd010/attachment-0001.htm>


More information about the asterisk-dev mailing list