[asterisk-dev] Asterisk 1.8 SIP_CAUSE performance regression
Matthew Nicholson
mnicholson at digium.com
Thu Aug 18 09:32:11 CDT 2011
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
More information about the asterisk-dev
mailing list