Dynalink DL-WRX36 Askey RT5010W IPQ8072A technical discussion

Does anyone have optimal cpu affinity settings for cake SQM for this device? I'm testing on 1.4gbps down and 35 Mbps up.

The best I could get was up to 650 Mbps for cake with the following modifications. It puts a lot of load on CPU3. I try to change it so that CPU3 has less load like... Even without SQM I'm having trouble going past 800 Mbps.

  • changing the 'c' to a '4'
  • changing the 'c' to a '7'

And it becomes worst. It's still better than no modifications because with stock openwrt snapshot firmware I only get up to 375 Mbps with cake SQM.

The line that has the most effect seems to be /sys/class/net/wan/queues/rx-0/rps_cpus

Another line also seems to be /proc/irq/55/smp_affinity

echo 1 > /sys/class/net/lan1/queues/rx-0/rps_cpus
echo 2 > /sys/class/net/lan2/queues/rx-0/rps_cpus
echo 4 > /sys/class/net/lan3/queues/rx-0/rps_cpus
echo 8 > /sys/class/net/lan4/queues/rx-0/rps_cpus
echo c > /sys/class/net/wan/queues/rx-0/rps_cpus

echo 1 > /sys/class/net/lan1/queues/tx-0/xps_cpus
echo 2 > /sys/class/net/lan2/queues/tx-0/xps_cpus
echo 4 > /sys/class/net/lan3/queues/tx-0/xps_cpus
echo 8 > /sys/class/net/lan4/queues/tx-0/xps_cpus
echo 3 > /sys/class/net/wan/queues/tx-0/xps_cpus

echo 1 > /proc/irq/66/smp_affinity
echo 2 > /proc/irq/67/smp_affinity
echo 4 > /proc/irq/68/smp_affinity
echo 8 > /proc/irq/69/smp_affinity

echo 1 > /proc/irq/47/smp_affinity
echo 2 > /proc/irq/52/smp_affinity
echo 4 > /proc/irq/55/smp_affinity

In this screenshot I'm testing on LAN2.

1 Like