Skip to contentSkip to conversation

Pin an IRQ to a particular CPU

DISCUSSION Phy Prabab 3 participants 4 messages Apr 27, 2007

lore
Share & tools
lore

Phy Prabab

author
#0 lore raw

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

#1 lore raw
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

#2 lore raw
In reply to Phy Prabab
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

#3 lore raw
In reply to Phy Prabab
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