Skip to contentSkip to conversation

SMP machines - IRQ Priorities

DISCUSSION Mark Knecht 2 participants 2 messages Sep 24, 2002

lore
Share & tools
lore
#0 lore raw

Hi,
Excuse me for interrupting you guys too much. I hope you can find a
minute to answer these two questions for me:

*** When APIC IRQs are used (IRQs higher than 15) what is the IRQ serviced first? ***

(17 before 18 before 19?)
(19 before 18 before 17?)

*** Is the order continuous from 0-23, or are any IRQ numbers handled out of order?

A number of Ardour users (http://ardour.sourceforge.net) are using SMP
machines. Some are working better than others. On UMP machines I've shown that IRQ settings are important for recording audio, both under Linux and Windows. I'm doing some legwork to understand their Linux IRQ configurations. We're all using 2.4.19 with low latency patches.

There seem to be two configurations for SMP X86 type machines. The edited
results for lspci -v and cat /proc/interrupts is shown below:

1) Traditional IRQ numbering:
IRQ Priority
0, 1, 8, 9, 10, 11, 12, 13, 14, 15, 3, 4, 5, 6, 7

00:00.0 Host bridge:
00:01.0 PCI bridge:
00:07.0 ISA bridge:
00:07.1 IDE interface:
00:07.2 USB Controller: IRQ 10
00:07.3 USB Controller: IRQ 10
00:07.4 Bridge: IRQ 11
00:0b.0 Multimedia audio controller: IRQ 11
00:0c.0 Ethernet controller: IRQ 10
00:0e.0 Unknown mass storage controller: IRQ 11
01:00.0 VGA compatible controller: IRQ 9

2) APIC IRQ numbering
IRQ Priority

00:00.0 Host bridge:
00:01.0 PCI bridge:
00:07.0 ISA bridge:
00:07.1 IDE interface:
00:07.3 Bridge:
00:09.0 USB Controller: IRQ 17
00:09.1 USB Controller: IRQ 18
00:09.2 USB Controller: IRQ 19
00:10.0 PCI bridge:
01:05.0 VGA compatible controller: IRQ 16
02:00.0 USB Controller: IRQ 19
02:04.0 Multimedia audio: IRQ 17
02:05.0 Multimedia audio: IRQ 18
02:06.0 Serial controller: IRQ 17
02:08.0 Ethernet controller: IRQ 19

I assume, but am not sure, that the traditional numbering is on machines
where people either did not compile in APIC support or used the noapic option. On the second set of IRQ settings we need to know what numbers to get the audio devices on for the best low-latency performance.

Thanks,
Mark

#1 lore raw
Quoted 6 lines · Mark Knecht

Hi,
Excuse me for interrupting you guys too much. I hope you can find a
minute to answer these two questions for me:

*** When APIC IRQs are used (IRQs higher than 15) what is the IRQ serviced first? ***

Priority is done by vector (each irq is assigned a vector), you can see the listing at boot

Zwane

Signature · 1 line
function.linuxpower.ca