Re: Is there a way to change irq numbers of pcie cards ?

From: Robert Hancock
Date: Wed Jun 02 2010 - 19:13:48 EST


On 06/02/2010 06:08 AM, Bert dd wrote:
Hi,
Is there a way to change irq numbers of pcie cards ?

I have a supermicro machine with 2 raid cards (lsi 9260-8i and lsi 9260-8e) and
one nvidia GTX480 graphics card.
The problem is that all these pcie cards are assigned the same irq number,
and thus all the interrupts are routed to the same cpu which can not
handle this.
If I replace the nvidia GTX480 with an older graphics card(too old for
our purposes (GTX295)), the graphics card gets a different irq number
than the raid cards, the interrups of the graphics card are handled by
a different cpu than those of the raid cards, and the read/write speed
of the raid increases.
I am reading/writing at 2.5 GB/s to the raid and I am uploading
textures at 0.5 GB/s to the graphics hardware.
Is there a way to change the irq numbers of the pcie cards ?
I am using IOAPIC for interrupt routing.
I am using ubuntu - kernel version 2.6.31-14-generic.

In general there's no way to change what interrupts get allocated to what slots, unless the BIOS has a setting somewhere to change it.

If you can get MSI enabled for some of those cards, though, that should prevent them from sharing interrupts. What driver are you using for the nvidia cards? You can turn on MSI on the binary nvidia driver with the NVreg_EnableMSI=1 module parameter..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/