[Asterisk-Users] Dual T400P, SMP, performance issues

Jayson Vantuyl kagato at souja.net
Fri Jun 20 09:32:46 MST 2003


On Fri, Jun 13, 2003 at 12:21:48PM -0300, Alberto Bertogli wrote:
> Even better, you might also want to try out splitting the interrupts among
> each processor, according to the card. Like binding interrupts from card0
> to cpu0 and from card1 to cpu1; but really don't remember if you can do
> such things in 2.4.

This can be done.  Look at /proc/irq/{number}/smp_affinity

This file contains a hexadecimal map of which processors to use.  To
lock down to the first processor, I believe you can:

echo 00000001 > /proc/...

And the second:

echo 00000002 > /proc/...

And the third:

echo 00000004 > /proc/...

If you've got a handle on bitmasks, you get the idea.

Jayson




More information about the asterisk-users mailing list