[asterisk-dev] iax2_sched_replace: Unable to cancel schedule
Timo Teräs
timo.teras at iki.fi
Fri May 2 08:04:27 CDT 2008
Kevin P. Fleming wrote:
> Timo Teräs wrote:
>> It might be related to the fact handling incoming media frames need to do
>> way too many mutex locks in __find_callno() as I see lots of threads in that
>> function. Why isn't there a iaxd[IAX_MAX_CALLS] indexing the calls by the
>> other systems call number (those whould have to be lists as there might multiple
>> remotes with same call number) or hashed by (address/port/remote callno).
>> Look up like that would be way faster compared to the current implementation.
>
> There is now :-) Please retry your tests with 1.4.20-rc1 or the latest
> 1.4 branch from SVN and you'll probably find that this problem is gone
> (and as a side effect, IAX2 media handling performance is vastly
> improved as well).
Ok, I updated 1.6 branch from SVN. Looks good, so far I haven't received any
"Unable to cancel schedule" warnings.
Thanks,
Timo
More information about the asterisk-dev
mailing list