Re: e1000 softirq load balancing

From: Don Porter
Date: Tue Oct 14 2008 - 19:42:55 EST


Thanks David.

Would you mind giving me a bit of intuition why I can't have a 1:1 mapping of CPUs to NICs?

I am a bit out of my depth here, but I'd like to learn.

Best,
Don

David Miller wrote:
From: Don Porter <porterde@xxxxxxxxxxxxx>
Date: Tue, 14 Oct 2008 14:05:34 -0500

It seems to me that with 4 independent NICs and plenty of CPUs to
spare, I ought to be able to assign one softirq daemon to each NIC
rather than funnelling all of the traffic through 1 or 2.

Traffic doesn't get distributed unless the NIC has support
for RX flow seperation and PCI MSI-X interrupts. Your NICs
do not.

So no matter how hard you try, each NIC is going to have it's
packets processed essentially on one cpu.

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html