[Asterisk-Users] IAX2 Vs SIP cpu load
Paul Hewlett
paul at cottonpickinminds.co.za
Fri Jun 16 03:28:18 MST 2006
On Tuesday 13 June 2006 17:47, Dinesh Nair wrote:
> On 06/13/06 22:49 Colin Anderson said the following:
> > Although this may have changed in the newer 1.2.X series of Asterisk, I
> > believe that Asterisk does not support SMP from the perspective of
>
> isnt asterisk multithreaded ? on a proper OS thread implementation, threads
> can migrate across CPUs, can't they ?
From research (and not from experience) it seems that trying to put
different threads on different CPUs has limited advantages due to data
locality issues - this evidently has something to do with the current Intel
architecture and its use of L1 and L2 caches.
asterisk would have benefited in this case from using full processes that
could have been individually affined to different CPU's instead of threads.
How much difference this would have made is debatable.
AFAIK, linux runs all threads of a process (such as asterisk) on the same
CPU.
Paul Hewlett
More information about the asterisk-users
mailing list