<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Simon Perreault wrote:
<blockquote cite="mid200711221243.09312.simon.perreault@viagenie.ca"
type="cite">
<pre wrap="">On Thursday 22 November 2007 12:08:21 Vadim Lebedev wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">IMO it is not too difficult to change... Create pool of threads pool
waiting on queue.
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
Well generally speaking you're right... <br>
However even if the main sip thread is I/O bound i believe adding more
thread(s) will improve<br>
perfomance because the actuall SIP processing could be stalled during
i/o waits in activities<br>
like logging or DB access.<br>
<br>
Thanks<br>
Vadim<br>
<br>
<blockquote cite="mid200711221243.09312.simon.perreault@viagenie.ca"
type="cite">
<pre wrap="">Processing SIP should be a piece of cake, I doubt that the CPU is doing any
heavy lifting.
</pre>
</blockquote>
<br>
</body>
</html>