Pin an IRQ to a particular CPU
Hello,
In an effort to increase over all throughput of my Linux NFS file server, I thought about trying to force an IRQ, for the NIC, to be serviced by a particular CPU. Is this possible?
TIA,
Phy
Quoted 6 lines
Hello,
In an effort to increase over all throughput of my Linux NFS file server, I thought about trying to force an IRQ, for the NIC, to be serviced by a particular CPU. Is this possible?
http://lkml.org/lkml/2007/4/5/155
Jan
Quoted 5 lines · Phy Prabab
Hello,
In an effort to increase over all throughput of my Linux NFS file server, I thought about trying to force an IRQ, for the NIC, to be serviced by a particular CPU. Is this possible?
Sorry, too early in the morning :)
It is definitely possible, since that is what irqbalance does. (Not that I know the exact details right now...)
the other URL I posted might give some useful hints too, though.
Jan
Quoted 9 lines
Hello,
In an effort to increase over all throughput of my Linux NFS file server, I thought about trying to force an IRQ, for the NIC, to be serviced by a particular CPU. Is this possible?
TIA,
Phy
/proc/irq/*/smp_affinity
I would recommend automatic balancing and leave it at that. This code automatically distributes IRQs to CPUs such that each IRQ can only be serviced by a single CPU and the IRQs are distributed over the CPU set.
DS