[LEDE-DEV] lantiq: irqbalance

Yaroslav Petrov info at lank.me
Tue May 8 12:19:36 PDT 2018


Hello,

It seems irqbalance doesn't work on BT HomeHub 5.0 Type A. Is it possible to activate I/O interrupt balancing for ath9k, vrx200 and ath10k devices ?


=================================
root at openwrt:~# cat /etc/os-release 
NAME="OpenWrt"
VERSION="SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt SNAPSHOT"
VERSION_ID="snapshot"
HOME_URL="http://lede-project.org/"
BUG_URL="http://bugs.lede-project.org/"
SUPPORT_URL="http://forum.lede-project.org/"
BUILD_ID="r6790-264feab1e7"
LEDE_BOARD="lantiq/xrx200"
LEDE_ARCH="mips_24kc"
LEDE_TAINTS="no-all"
LEDE_DEVICE_MANUFACTURER="OpenWrt"
LEDE_DEVICE_MANUFACTURER_URL="http://lede-project.org/"
LEDE_DEVICE_PRODUCT="Generic"
LEDE_DEVICE_REVISION="v0"
LEDE_RELEASE="OpenWrt SNAPSHOT r6790-264feab1e7"
root at openwrt:~# cat /proc/interrupts 
           CPU0       CPU1       
  0:    2084244    5443135      MIPS   0  IPI_resched
  1:    1092321    3533289      MIPS   1  IPI_call
  7:   66641029   66231972      MIPS   7  timer
 30:   30459490          0       icu  30  ath9k
 62:          0          0       icu  62  1e101000.ifxhcd, dwc2_hsotg:usb1
 63:   21364548          0       icu  63  mei_cpe
 72:    3464982          0       icu  72  vrx200_rx
 73:    3411713          0       icu  73  vrx200_tx
 75:          0          0       icu  75  vrx200_tx_2
 96:    3988036          0       icu  96  ptm_mailbox_isr
112:        437          0       icu 112  asc_tx
113:          0          0       icu 113  asc_rx
114:          0          0       icu 114  asc_err
126:          0          0       icu 126  gptu
127:          0          0       icu 127  gptu
128:          0          0       icu 128  gptu
129:          0          0       icu 129  gptu
130:          0          0       icu 130  gptu
131:          0          0       icu 131  gptu
144:    5970200          0       icu 144  ath10k_pci
161:      11385          0       icu 161  ifx_pcie_rc0
ERR:          0
root at openwrt:~# cat /proc/cpuinfo 
system type             : xRX200 rev 1.2
machine                 : BT Home Hub 5A
processor               : 0
cpu model               : MIPS 34Kc V5.6
BogoMIPS                : 332.54
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VPE                     : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 1
cpu model               : MIPS 34Kc V5.6
BogoMIPS                : 333.82
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VPE                     : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root at openwrt:~# irqbalance -o -d
This machine seems not NUMA capable.
Isolated CPUs: 00000000
Adaptive-ticks CPUs: 00000000
Package 0:  numa_node is -1 cpu mask is 00000003 (load 0)
        Cache domain 0:  numa_node is -1 cpu mask is 00000002  (load 0) 
                CPU number 1  numa_node is -1 (load 0)
        Cache domain 1:  numa_node is -1 cpu mask is 00000001  (load 0) 
                CPU number 0  numa_node is -1 (load 0)
Adding IRQ 30 to database
Adding IRQ 144 to database
Adding IRQ 0 to database
Adding IRQ 1 to database
Adding IRQ 7 to database
Adding IRQ 62 to database
Adding IRQ 63 to database
Adding IRQ 72 to database
Adding IRQ 73 to database
Adding IRQ 75 to database
Adding IRQ 96 to database
Adding IRQ 112 to database
Adding IRQ 113 to database
Adding IRQ 114 to database
Adding IRQ 126 to database
Adding IRQ 127 to database
Adding IRQ 128 to database
Adding IRQ 129 to database
Adding IRQ 130 to database
Adding IRQ 131 to database
Adding IRQ 161 to database
NUMA NODE NUMBER: -1
LOCAL CPU MASK: ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff,ffffffff




-----------------------------------------------------------------------------
Package 0:  numa_node is -1 cpu mask is 00000003 (load 0)
        Cache domain 0:  numa_node is -1 cpu mask is 00000002  (load 0) 
                CPU number 1  numa_node is -1 (load 0)
                  Interrupt 144 node_num is -1 (ethernet/2145214912:0) 
        Cache domain 1:  numa_node is -1 cpu mask is 00000001  (load 0) 
                CPU number 0  numa_node is -1 (load 0)
                  Interrupt 30 node_num is -1 (ethernet/2145214912:0) 
  Interrupt 161 node_num is -1 (other/1:0) 
  Interrupt 131 node_num is -1 (other/1:0) 
  Interrupt 130 node_num is -1 (other/1:0) 
  Interrupt 129 node_num is -1 (other/1:0) 
  Interrupt 128 node_num is -1 (other/1:0) 
  Interrupt 127 node_num is -1 (other/1:0) 
  Interrupt 126 node_num is -1 (other/1:0) 
  Interrupt 114 node_num is -1 (other/1:0) 
  Interrupt 113 node_num is -1 (other/1:0) 
  Interrupt 112 node_num is -1 (other/1:0) 
  Interrupt 96 node_num is -1 (other/1:0) 
  Interrupt 75 node_num is -1 (other/1:0) 
  Interrupt 73 node_num is -1 (other/1:0) 
  Interrupt 72 node_num is -1 (other/1:0) 
  Interrupt 63 node_num is -1 (other/1:0) 
  Interrupt 62 node_num is -1 (other/1:0) 
  Interrupt 7 node_num is -1 (other/1:0) 
  Interrupt 1 node_num is -1 (other/1:0) 
  Interrupt 0 node_num is -1 (other/1:0) 
root at openwrt:~# cat /proc/interrupts 
           CPU0       CPU1       
  0:    2084923    5443902      MIPS   0  IPI_resched
  1:    1092784    3534063      MIPS   1  IPI_call
  7:   66661289   66251873      MIPS   7  timer
 30:   30459490          0       icu  30  ath9k
 62:          0          0       icu  62  1e101000.ifxhcd, dwc2_hsotg:usb1
 63:   21371300          0       icu  63  mei_cpe
 72:    3465539          0       icu  72  vrx200_rx
 73:    3412207          0       icu  73  vrx200_tx
 75:          0          0       icu  75  vrx200_tx_2
 96:    3988320          0       icu  96  ptm_mailbox_isr
112:        437          0       icu 112  asc_tx
113:          0          0       icu 113  asc_rx
114:          0          0       icu 114  asc_err
126:          0          0       icu 126  gptu
127:          0          0       icu 127  gptu
128:          0          0       icu 128  gptu
129:          0          0       icu 129  gptu
130:          0          0       icu 130  gptu
131:          0          0       icu 131  gptu
144:    5970200          0       icu 144  ath10k_pci
161:      11385          0       icu 161  ifx_pcie_rc0
ERR:          0


-- 
Best regards 
Yaroslav Petrov 


More information about the Lede-dev mailing list