NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/57104: "intrctl affinity" does not function on Raspberry Pi 4 and other ARM boards



>Number:         57104
>Category:       port-arm
>Synopsis:       "intrctl affinity" does not function on Raspberry Pi 4 and other ARM boards
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 10 16:30:00 +0000 2022
>Originator:     Sad Clouds
>Release:        9.99.108
>Organization:
>Environment:
NetBSD rp4 9.99.108 NetBSD 9.99.108 (GENERIC64)
>Description:
Both xhci0 and genet0 route their interrupts to CPU0. With high NFS I/O load, CPU0 gets saturated. Would be good to spread interrupts across different CPUs.

rp4# intrctl list
interrupt id       CPU0     CPU1     CPU2     CPU3  device name(s)
armgic irq 0     105940* 2312647* 2122811* 1903849* IPI ast
armgic irq 1        736*     526*     941*    1013* IPI xcall
armgic irq 2          0*       0*       0*       0* IPI nop
armgic irq 3          0*       0*       0*       0* IPI shootdown
armgic irq 4          0*       0*       0*       0* IPI ddb
armgic irq 5         91*      40*      28*      34* IPI generic
armgic irq 27    352801*  352791*  352791*  352791* gtmr0
armgic irq 48         0*       0        0        0  pmu cpu0
armgic irq 49         0        0*       0        0  pmu cpu1
armgic irq 50         0        0        0*       0  pmu cpu2
armgic irq 51         0        0        0        0* pmu cpu3
armgic irq 125        0*       0        0        0  com0
armgic irq 149        0*       0        0        0  bsciic0
armgic irq 153        0*       0        0        0  plcom0
armgic irq 158      579*       0        0        0  sdhc0
armgic irq 175  4530134*       0        0        0  xhci0
armgic irq 189 12573670*       0        0        0  genet0

rp4# intrctl affinity -c 1 -i "armgic irq 189"
intrctl: sysctl kern.intr.affinity: Invalid argument

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index