[Asterisk-Dev] CPU Profiling?

C. Maj cmaj-SPAM at freedomcorpse.com
Thu Apr 21 08:20:08 MST 2005


On Thu, 21 Apr 2005, Michael Giagnocavo waxed:

> Hello,
>
> 	I've been trying to find some hotspots in Asterisk. I have a hunch
> that replacing some linked lists with hashtables (say, looking up peers and
> so on) should help a lot. I know that during loading (extensions, iax, sip),
> removing the list traversal code (to check for duplicates) speeds it up tons
> (quadratic to linear).

I think replacing the huge locked linked lists with a
non-blocking implementation would help, too.

--Chris


-- 
Chris Maj, Rochester
cmaj_at_freedomcorpse_dot_com
Pronunciation Guide: Maj == May



More information about the asterisk-dev mailing list