Skip to contentSkip to conversation

IRQs in /proc/irq/* that aren't listed in /proc/interrupts?

DISCUSSION Chris Friesen 2 participants 3 messages Oct 12, 2020 – Oct 13, 2020

lore
Share & tools
lore
#0 lore raw

Hi,

On one of my X86-64 systems /proc/interrupts starts with the following interrupts (per-cpu info snipped):

0: IR-IO-APIC-edge timer

   4:      IR-IO-APIC-edge      serial
   8:      IR-IO-APIC-edge      rtc0
   9:      IR-IO-APIC-fasteoi   acpi
  17:      IR-IO-APIC-fasteoi   ehci_hcd:usb1, hpilo

On this same system /proc/irq shows these interrupts:

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
17

Is there any way to determine what the interrupts are that aren't listed in /proc/interrupts? Six of them are affined to all CPUs, and I'm trying to affine as many interrupts as possible to housekeeping CPUs to free up application CPUs for low-latency operations.

I'm not subscribed to the list, so I'd appreciate being CC's on any replies.

Chris

#1 lore raw

Chris,

Quoted 10 lines · Chris Friesen

On one of my X86-64 systems /proc/interrupts starts with the following interrupts (per-cpu info snipped):

0: IR-IO-APIC-edge timer

    4:      IR-IO-APIC-edge      serial
    8:      IR-IO-APIC-edge      rtc0
    9:      IR-IO-APIC-fasteoi   acpi
   17:      IR-IO-APIC-fasteoi   ehci_hcd:usb1, hpilo
Quoted 6 lines

On this same system /proc/irq shows these interrupts:

0-15, 17

Is there any way to determine what the interrupts are that aren't listed in /proc/interrupts?

They are simply unused.

Quoted 3 lines

Six of them are affined to all CPUs, and I'm trying to affine as many interrupts as possible to housekeeping CPUs to free up application CPUs for low-latency operations.

Affining unused and therefore disabled interrupts is a pretty pointless exercise.

Thanks,

tglx

#2 lore raw
Quoted 11 lines · Thomas Gleixner
Quoted 10 lines · Chris Friesen

On one of my X86-64 systems /proc/interrupts starts with the following interrupts (per-cpu info snipped):

0: IR-IO-APIC-edge timer
4: IR-IO-APIC-edge serial
8: IR-IO-APIC-edge rtc0
9: IR-IO-APIC-fasteoi acpi
17: IR-IO-APIC-fasteoi ehci_hcd:usb1, hpilo

Quoted 8 lines
Quoted 6 lines

On this same system /proc/irq shows these interrupts:

0-15, 17

Is there any way to determine what the interrupts are that aren't listed in /proc/interrupts?

They are simply unused

I wonder if it might be clearer to just not report them at all if they're not used?

Anyways, thanks for the explanation.

Chris