Dynalink DL-WRX36 Askey RT5010W IPQ8072A technical discussion

Did a little playing with the IRQ's... I noticed that everything was basically pulling from CPU0. irqbalance didn't seem to do anything, so I manually moved some of them around based on feedback from the Xiaomi AX3600 thread since the hardware is extremely comparable.

Below you will see what I added to the startup script, and what the outcome was. Previously everything was on CPU0. Definitely balances the load and I notice less latency as well. Processor frequencies ramp up evenly (generally speaking) across the CPUs now also. Next I may play with the processor frequencies and responsiveness to see if I can further accelerate. If anyone has any feedback or requests on what I've done, let me know!

#assign 4 rx interrupts to each cores
echo 8 > /proc/irq/50/smp_affinity
echo 4 > /proc/irq/51/smp_affinity
echo 2 > /proc/irq/52/smp_affinity
echo 1 > /proc/irq/53/smp_affinity

#assign 3 tcl completions to 3 CPUs
echo 4 > /proc/irq/73/smp_affinity
echo 2 > /proc/irq/74/smp_affinity
echo 1 > /proc/irq/75/smp_affinity
root@OpenWrt:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3       
  9:          0          0          0          0     GIC-0  39 Level     arch_mem_timer
 13:   52555543   10352022   19393113   13975357     GIC-0  20 Level     arch_timer
 16:          2          0          0          0     GIC-0 354 Edge      smp2p
 17:          0          0          0          0     GIC-0 216 Level     4a9000.thermal-sensor
 18:          0          0          0          0     GIC-0 239 Level     bam_dma
 21:          0          0          0          0     GIC-0 270 Level     bam_dma
 22:          6          0          0          0     GIC-0 340 Level     msm_serial0
 23:      57057          0          0          0     GIC-0 178 Level     bam_dma
 24:          0          0          0          0     GIC-0  35 Edge      wdt_bark
 25:          0          0          0          0     GIC-0 357 Edge      q6v5 wdog
 29:          5          0          0          0     GIC-0 348 Edge      ce0
 30:   64186812          0          0          0     GIC-0 347 Edge      ce1
 31:    7329517          0          0          0     GIC-0 346 Edge      ce2
 32:     158815          0          0          0     GIC-0 343 Edge      ce3
 34:        688          0          0          0     GIC-0 443 Edge      ce5
 36:     124780          0          0          0     GIC-0  72 Edge      ce7
 38:          0          0          0          0     GIC-0 334 Edge      ce9
 39:          0          0          0          0     GIC-0 333 Edge      ce10
 40:          0          0          0          0     GIC-0  69 Edge      ce11
 47:          0          0          0          0     GIC-0 323 Edge      reo2ost-exception
 48:    1686954          0          0          0     GIC-0 322 Edge      wbm2host-rx-release
 49:       2067          0          0          0     GIC-0 321 Edge      reo2host-status
 50:          0          0          0    4516536     GIC-0 320 Edge      reo2host-destination-ring4
 51:          2          0    3737029          0     GIC-0 271 Edge      reo2host-destination-ring3
 52:          0    2951387          0          0     GIC-0 268 Edge      reo2host-destination-ring2
 53:    1931130          0          0          0     GIC-0 267 Edge      reo2host-destination-ring1
 57:    5646371          0          0          0     GIC-0 263 Edge      ppdu-end-interrupts-mac3
 58:          0          0          0          0     GIC-0 262 Edge      ppdu-end-interrupts-mac2
 59:   21969296          0          0          0     GIC-0 261 Edge      ppdu-end-interrupts-mac1
 60:          1          0          0          0     GIC-0 260 Edge      rxdma2host-monitor-status-ring-mac3
 61:          0          0          0          0     GIC-0 256 Edge      rxdma2host-monitor-status-ring-mac2
 62:          1          0          0          0     GIC-0 255 Edge      rxdma2host-monitor-status-ring-mac1
 63:          1          0          0          0     GIC-0 235 Edge      host2rxdma-host-buf-ring-mac3
 64:          0          0          0          0     GIC-0 215 Edge      host2rxdma-host-buf-ring-mac2
 65:          1          0          0          0     GIC-0 212 Edge      host2rxdma-host-buf-ring-mac1
 66:          0          0          0          0     GIC-0 211 Edge      rxdma2host-destination-ring-mac3
 67:          0          0          0          0     GIC-0 210 Edge      rxdma2host-destination-ring-mac2
 68:          0          0          0          0     GIC-0 209 Edge      rxdma2host-destination-ring-mac1
 73:          0          0     197806          0     GIC-0 191 Edge      wbm2host-tx-completions-ring3
 74:          1     126375          0          0     GIC-0 190 Edge      wbm2host-tx-completions-ring2
 75:   11096332          0          0          0     GIC-0 189 Edge      wbm2host-tx-completions-ring1
 77:         20          0          0          0     GIC-0  47 Edge      cpr3
 78:   21994960          0          0          0     GIC-0 377 Level     edma_txcmpl
 79:          0          0          0          0     GIC-0 385 Level     edma_rxfill
 80:   38117855          0          0          0     GIC-0 393 Level     edma_rxdesc
 81:          0          0          0          0     GIC-0 376 Level     edma_misc
 82:          0          0          0          0  pmic_arb 51380237 Edge      pm-adc5
 83:          0          0          0          0     smp2p   0 Edge      q6v5 fatal
 84:          1          0          0          0     smp2p   1 Edge      q6v5 ready
 85:          0          0          0          0     smp2p   2 Edge      q6v5 handover
 86:          0          0          0          0     smp2p   3 Edge      q6v5 stop
 87:          0          0          0          0   msmgpio  34 Edge      keys
 88:          0          0          0          0   msmgpio  63 Edge      keys
 89:          0          0          0          0     GIC-0 172 Level     xhci-hcd:usb1
 90:         64          0          0          0     GIC-0 353 Edge      glink-native
IPI0:     59290      63469      78156      97112       Rescheduling interrupts
IPI1:   2178892   22114276   11563475    8193955       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:     38784      41950      40609      35496       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts
Err:          0
4 Likes