[asterisk-dev] Asterisk Performance as a B2BUA
Simon Perreault
simon.perreault at viagenie.ca
Thu Nov 22 11:43:08 CST 2007
On Thursday 22 November 2007 12:08:21 Vadim Lebedev wrote:
> > Another issue is that there is only one thread for handling incoming SIP
> > requests, so the fact that it is dual core doesn't help. But, that's not
> > something that is about to change soon.
>
> IMO it is not too difficult to change... Create pool of threads pool
> waiting on queue.
Before concluding that more threads would be better, you'd have to prove that
the existing one thread uses all its CPU time. Otherwise, the process is
I/O-bound, not CPU-bound, and more threads would actually decrease
performance a bit.
Processing SIP should be a piece of cake, I doubt that the CPU is doing any
heavy lifting.
More information about the asterisk-dev
mailing list