<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "Matthew Nicholson" <mnicholson@digium.com><br />
<b>Sent</b>: Thursday, August 18, 2011 10:30 AM<br />
<b>To</b>: "Asterisk Developers Mailing List" <asterisk-dev@lists.digium.com><br />
<b>Subject</b>: Re: [asterisk-dev] Asterisk 1.8 SIP_CAUSE performance regression</span><br />
<br />
On Thu, 2011-08-18 at 16:24 +0200, Benny Amorsen wrote:<br />
> Matthew Nicholson <mnicholson@digium.com> writes:<br />
> <br />
> > When chan_sip sets MASTER_CHANNEL(HASH(SIP_CAUSE,<chan name>)) the<br />
> > MASTER_CHANNEL function scans the channel list which can be a slow<br />
> > operation. Under moderate traffic loads this causes delays in processing<br />
> > sip messages which can cause retransmission timers to expire.<br />
> <br />
> Is there no better way to find the specific channels we are looking for,<br />
> without a linear search? Are there other places which depend on linear<br />
> searches through all channels?<br />
<br />
There is some discussion about better ways to implement the same<br />
functionality in #asterisk-dev going on now.<br />
<br />
-- <br />
Matthew Nicholson<br />
Digium, Inc. | Software Developer<br />
<br />
Somthing more like a database style index?<br />
<br />
Bryant</span>