im going to go out on limb and guess that you're using a broadcom card.  you
will need to:

(if broadcom bnx2 card, each of those eth0-[0-7] is a receive side queue)

echo "options bnx2 disable_msi=1" > /etc/modprobe.d/bnx2.conf

then reboot, after you'll only see one irq for eth0

echo cpumask > /proc/irq/IRQ-OF-ETH0-0/smp_affinity

i believe the mask for cpu4 is 10 and cpu5 is 20

(dont forget to disable irqbalance)

you can only bind the irqs for one nic to one core at a time.

or you could do something fancy/silly with isolcpus and....

isolcpus all but 4/5 so that all irqs will be scheduled on 4/5. this will
mean that the kernel can only schedule tasks on cpu4/5

then use cpusets/taskset/tuna to move all the processes off cpu 4/5...  and
you'll have to use taskset/cpuset/tuna for every task to ensure its not
using cpu4/5


On Thu, Apr 28, 2011 at 5:29 PM, Peter Bassano <[email protected]> wrote:

> I have a 4 Quad server, am trying to bind NIC eth0 interrupt(s) to CPU4 and
> CPU5, but I found 8 entries (as seen below):
> > grep eth0 /proc/interrupts | awk '{print $NF}' | sort
> eth0-0
> eth0-1
> eth0-2
> eth0-3
> eth0-4
> eth0-5
> eth0-6
> eth0-7
>
> Why 8 of them?  How do I best do this?
>
> Thank you.
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>
>
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to