2020-10-12 19:40:30

by Thomas Gleixner

[permalink] [raw]
Subject: Re: IRQs in /proc/irq/* that aren't listed in /proc/interrupts?

Chris,

On Mon, Oct 12 2020 at 12:40, Chris Friesen wrote:
> 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-15, 17
>
> Is there any way to determine what the interrupts are that aren't listed
> in /proc/interrupts?

They are simply unused.

> 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


2020-10-13 11:45:20

by Chris Friesen

[permalink] [raw]
Subject: Re: IRQs in /proc/irq/* that aren't listed in /proc/interrupts?

On 10/12/2020 1:37 PM, Thomas Gleixner wrote:
> On Mon, Oct 12 2020 at 12:40, Chris Friesen wrote:
>> 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-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