[DSA] Affinity of user ports to CPU ports

My router is Turris Omnia, since OpenWRT changed swconfig to DSA I'm using only one CPU port. But now it seems that support for multiple CPU ports has been officially included in the Kernel:

https://www.kernel.org/doc/html/v6.1//networking/dsa/configuration.html#affinity-of-user-ports-to-cpu-ports

This documentation is for Kernel 6.1 and the next stable OpenWRT release looks like it will use Kernel 6.6.73. I'm not sure if this enhancement has already been included, but if not, would it be possible to include it in OpenWRT 24.10.0?

Heh, I was asking myself the same question. My wrt1200ac device was one of those that got converted early to DSA and lost a CPU port along the way, but my r7800 device which was just converted to DSA in 24.10 release still has both CPU ports available, and with a default config that makes sense too (i.e. one CPU port assigned as conduit for the WAN port, and the other assigned as conduit for the LAN ports).

I'd like to change the wrt1200ac back to using both CPU ports, I think I can even figure out how change the device tree to enable that, but I'm not sure of the process for pushing such a change to openwrt (i.e. if there is any chance that this could be accepted as a backport into 24.10).

2 Likes

Same with wrt3200acm.

2 Likes

In my case, I don't think I need change the device tree. I can see all the devices (ip addr show):

  • eth0: unused DSA CPU port
  • eth1: used DSA CPU port
  • eth2: used WAN CPU port

https://openwrt.org/toh/turris/turris_omnia#switch_ports_for_vlans

I'm not sure if using the proto-bonding package I'll be able to achieve the indicated configuration, at my previous documentation link, in /etc/config/network. But I would prefer it to be the default setting on devices that support it.

--- EDIT ---

Or it may be necessary to change the device tree:

To make use of multiple CPU ports, the firmware (device tree) description of the switch must mark all the links between CPU ports and their DSA masters using the ethernet reference/phandle. At startup, only a single CPU port and DSA master will be used - the numerically first port from the firmware description which has an ethernet property. It is up to the user to configure the system for the switch to use other masters.

Not sure if my DSA CPU port eth0 is marked as "ethernet reference/phandle"

I thought the Turris Omnia SW had DSA multiPort support. There were multiple PR's opened (now closed) attempting multiPort support, but things kept changing upstream; IIRC one was even an attempt to port the Turris code. one such

Does that mean that the peformance has been degraded since the switch from swconfig to DSA?

Depends on the platform. Some have seen significant performance regression. Others, not so much.

When you say: "Some have seen significant performance regression. Others, not so much." does that mean that all devices that switched from swconfig to DSA had seen performance regressions to some degree?

E.g. for WRT3200ACM, CPU: Marvell Armada 385 88F6820, Switch: Marvell 88E6352 and DIR860L B1, MediaTek MT7621AT.
My WRT3200ACM haven't been active for a while since I switched to a GL-MT6000 but last time active it was still running 19.07.10 (swconfig) so I haven't checked performance with recent OpenWRT versions but my DIR860L B1 running as Wifi AP has been updated to 23.05.5 and the Wifi performance seems to be ok (I could be wrong here).

Here is a quick Iperf3 test from a Notebook with Intel AX201 Wifi (2x2) connected to the DIR 860L B1 (23.05.5) with 5GHz, width 80MHz, right next the AP with only 1x SSID enabled and one Wifi client connected. Packet steering is enabled, Soft and Hardware flow offloading is disabled.

Iperf3 server is my NAS connected via 2.5G LAN to my main router (GL-MT6000).

iperf3.exe -c 192.168.1.253 -P 3
Connecting to host 192.168.1.253, port 5201
[  5] local 192.168.1.247 port 63035 connected to 192.168.1.253 port 5201
[  7] local 192.168.1.247 port 63036 connected to 192.168.1.253 port 5201
[  9] local 192.168.1.247 port 63037 connected to 192.168.1.253 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  18.2 MBytes   153 Mbits/sec
[  7]   0.00-1.00   sec  11.1 MBytes  93.1 Mbits/sec
[  9]   0.00-1.00   sec  10.2 MBytes  85.7 Mbits/sec
[SUM]   0.00-1.00   sec  39.6 MBytes   331 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  16.1 MBytes   135 Mbits/sec
[  7]   1.00-2.00   sec  10.5 MBytes  87.9 Mbits/sec
[  9]   1.00-2.00   sec  10.0 MBytes  83.7 Mbits/sec
[SUM]   1.00-2.00   sec  36.6 MBytes   307 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.01   sec  16.2 MBytes   136 Mbits/sec
[  7]   2.00-3.01   sec  11.0 MBytes  92.0 Mbits/sec
[  9]   2.00-3.01   sec  10.6 MBytes  88.8 Mbits/sec
[SUM]   2.00-3.01   sec  37.9 MBytes   317 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.01-4.01   sec  15.9 MBytes   133 Mbits/sec
[  7]   3.01-4.01   sec  11.1 MBytes  93.1 Mbits/sec
[  9]   3.01-4.01   sec  10.6 MBytes  88.9 Mbits/sec
[SUM]   3.01-4.01   sec  37.6 MBytes   315 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.01-5.01   sec  16.2 MBytes   136 Mbits/sec
[  7]   4.01-5.01   sec  11.5 MBytes  96.2 Mbits/sec
[  9]   4.01-5.01   sec  11.1 MBytes  93.1 Mbits/sec
[SUM]   4.01-5.01   sec  38.9 MBytes   325 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.01-6.01   sec  15.9 MBytes   133 Mbits/sec
[  7]   5.01-6.01   sec  11.6 MBytes  97.3 Mbits/sec
[  9]   5.01-6.01   sec  11.4 MBytes  95.3 Mbits/sec
[SUM]   5.01-6.01   sec  38.9 MBytes   326 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.01-7.02   sec  16.6 MBytes   139 Mbits/sec
[  7]   6.01-7.02   sec  12.4 MBytes   104 Mbits/sec
[  9]   6.01-7.02   sec  11.9 MBytes  99.5 Mbits/sec
[SUM]   6.01-7.02   sec  40.9 MBytes   343 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.02-8.00   sec  14.5 MBytes   123 Mbits/sec
[  7]   7.02-8.00   sec  12.1 MBytes   103 Mbits/sec
[  9]   7.02-8.00   sec  11.6 MBytes  98.8 Mbits/sec
[SUM]   7.02-8.00   sec  38.2 MBytes   325 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  15.9 MBytes   133 Mbits/sec
[  7]   8.00-9.00   sec  13.8 MBytes   115 Mbits/sec
[  9]   8.00-9.00   sec  13.4 MBytes   112 Mbits/sec
[SUM]   8.00-9.00   sec  43.0 MBytes   361 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.02  sec  13.5 MBytes   111 Mbits/sec
[  7]   9.00-10.02  sec  12.9 MBytes   106 Mbits/sec
[  9]   9.00-10.02  sec  12.8 MBytes   105 Mbits/sec
[SUM]   9.00-10.02  sec  39.1 MBytes   322 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.02  sec   159 MBytes   133 Mbits/sec                  sender
[  5]   0.00-10.10  sec   159 MBytes   132 Mbits/sec                  receiver
[  7]   0.00-10.02  sec   118 MBytes  98.8 Mbits/sec                  sender
[  7]   0.00-10.10  sec   118 MBytes  98.0 Mbits/sec                  receiver
[  9]   0.00-10.02  sec   114 MBytes  95.1 Mbits/sec                  sender
[  9]   0.00-10.10  sec   114 MBytes  94.4 Mbits/sec                  receiver
[SUM]   0.00-10.02  sec   391 MBytes   327 Mbits/sec                  sender
[SUM]   0.00-10.10  sec   390 MBytes   324 Mbits/sec                  receiver

iperf Done.
iperf3.exe -c 192.168.1.253 -P 3 -R
Connecting to host 192.168.1.253, port 5201
Reverse mode, remote host 192.168.1.253 is sending
[  5] local 192.168.1.247 port 63043 connected to 192.168.1.253 port 5201
[  7] local 192.168.1.247 port 63044 connected to 192.168.1.253 port 5201
[  9] local 192.168.1.247 port 63045 connected to 192.168.1.253 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  27.8 MBytes   232 Mbits/sec
[  7]   0.00-1.00   sec  13.6 MBytes   114 Mbits/sec
[  9]   0.00-1.00   sec  10.0 MBytes  83.5 Mbits/sec
[SUM]   0.00-1.00   sec  51.4 MBytes   429 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  23.6 MBytes   199 Mbits/sec
[  7]   1.00-2.00   sec  12.4 MBytes   104 Mbits/sec
[  9]   1.00-2.00   sec  13.9 MBytes   117 Mbits/sec
[SUM]   1.00-2.00   sec  49.9 MBytes   419 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.02   sec  23.2 MBytes   192 Mbits/sec
[  7]   2.00-3.02   sec  14.2 MBytes   118 Mbits/sec
[  9]   2.00-3.02   sec  18.4 MBytes   152 Mbits/sec
[SUM]   2.00-3.02   sec  55.9 MBytes   463 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.02-4.01   sec  20.0 MBytes   168 Mbits/sec
[  7]   3.02-4.01   sec  16.9 MBytes   142 Mbits/sec
[  9]   3.02-4.01   sec  19.8 MBytes   166 Mbits/sec
[SUM]   3.02-4.01   sec  56.6 MBytes   476 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.01-5.01   sec  19.2 MBytes   162 Mbits/sec
[  7]   4.01-5.01   sec  18.0 MBytes   151 Mbits/sec
[  9]   4.01-5.01   sec  19.1 MBytes   160 Mbits/sec
[SUM]   4.01-5.01   sec  56.4 MBytes   473 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.01-6.01   sec  18.9 MBytes   159 Mbits/sec
[  7]   5.01-6.01   sec  17.5 MBytes   147 Mbits/sec
[  9]   5.01-6.01   sec  18.9 MBytes   159 Mbits/sec
[SUM]   5.01-6.01   sec  55.2 MBytes   465 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.01-7.01   sec  18.8 MBytes   157 Mbits/sec
[  7]   6.01-7.01   sec  17.2 MBytes   145 Mbits/sec
[  9]   6.01-7.01   sec  18.5 MBytes   155 Mbits/sec
[SUM]   6.01-7.01   sec  54.5 MBytes   457 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.01-8.01   sec  19.1 MBytes   160 Mbits/sec
[  7]   7.01-8.01   sec  17.9 MBytes   150 Mbits/sec
[  9]   7.01-8.01   sec  19.0 MBytes   159 Mbits/sec
[SUM]   7.01-8.01   sec  56.0 MBytes   469 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.01-9.01   sec  18.8 MBytes   158 Mbits/sec
[  7]   8.01-9.01   sec  17.4 MBytes   146 Mbits/sec
[  9]   8.01-9.01   sec  18.9 MBytes   159 Mbits/sec
[SUM]   8.01-9.01   sec  55.0 MBytes   462 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.01-10.01  sec  19.0 MBytes   160 Mbits/sec
[  7]   9.01-10.01  sec  17.5 MBytes   147 Mbits/sec
[  9]   9.01-10.01  sec  19.0 MBytes   160 Mbits/sec
[SUM]   9.01-10.01  sec  55.5 MBytes   467 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.02  sec   209 MBytes   175 Mbits/sec   59             sender
[  5]   0.00-10.01  sec   208 MBytes   175 Mbits/sec                  receiver
[  7]   0.00-10.02  sec   163 MBytes   137 Mbits/sec   50             sender
[  7]   0.00-10.01  sec   163 MBytes   136 Mbits/sec                  receiver
[  9]   0.00-10.02  sec   176 MBytes   147 Mbits/sec   30             sender
[  9]   0.00-10.01  sec   175 MBytes   147 Mbits/sec                  receiver
[SUM]   0.00-10.02  sec   548 MBytes   459 Mbits/sec  139             sender
[SUM]   0.00-10.01  sec   546 MBytes   458 Mbits/sec                  receiver

iperf Done.

Wifi config DIR860L B1:

config wifi-device 'radio0'
	option type 'mac80211'
	option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
	option channel 'auto' (52)
	option band '5g'
	option htmode 'VHT80'
	option country 'DE'
	option cell_density '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'AP1-Test'
	option encryption 'sae-mixed'
	option key ''

LAN iperf3 test from the DIR860L B1 to my NAS server:

 OpenWrt 23.05.5, r24106-10cc5fcd00
 -----------------------------------------------------
root@AP1:~# iperf3 -c 192.168.1.253 -P 3
Connecting to host 192.168.1.253, port 5201
[  5] local 192.168.1.2 port 35684 connected to 192.168.1.253 port 5201
[  7] local 192.168.1.2 port 35692 connected to 192.168.1.253 port 5201
[  9] local 192.168.1.2 port 35698 connected to 192.168.1.253 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  37.2 MBytes   312 Mbits/sec    0    803 KBytes
[  7]   0.00-1.01   sec  39.9 MBytes   333 Mbits/sec    0    759 KBytes
[  9]   0.00-1.01   sec  32.8 MBytes   273 Mbits/sec    0    583 KBytes
[SUM]   0.00-1.00   sec   110 MBytes   921 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  37.2 MBytes   312 Mbits/sec    0    946 KBytes
[  7]   1.01-2.01   sec  38.8 MBytes   325 Mbits/sec    0    841 KBytes
[  9]   1.01-2.01   sec  34.6 MBytes   291 Mbits/sec    0    653 KBytes
[SUM]   1.00-2.00   sec   111 MBytes   928 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  36.2 MBytes   304 Mbits/sec    0    946 KBytes
[  7]   2.01-3.00   sec  41.2 MBytes   346 Mbits/sec    0    841 KBytes
[  9]   2.01-3.01   sec  33.2 MBytes   278 Mbits/sec    0    741 KBytes
[SUM]   2.00-3.00   sec   111 MBytes   929 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  39.0 MBytes   327 Mbits/sec    0    998 KBytes
[  7]   3.00-4.00   sec  38.1 MBytes   321 Mbits/sec    0    841 KBytes
[  9]   3.01-4.00   sec  32.9 MBytes   278 Mbits/sec    0    817 KBytes
[SUM]   3.00-4.00   sec   110 MBytes   923 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  35.5 MBytes   297 Mbits/sec    0    998 KBytes
[  7]   4.00-5.01   sec  38.6 MBytes   322 Mbits/sec    0    841 KBytes
[  9]   4.00-5.01   sec  37.6 MBytes   314 Mbits/sec    0    861 KBytes
[SUM]   4.00-5.00   sec   112 MBytes   936 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  35.6 MBytes   300 Mbits/sec    0    998 KBytes
[  7]   5.01-6.00   sec  38.2 MBytes   323 Mbits/sec    0    841 KBytes
[  9]   5.01-6.00   sec  36.6 MBytes   309 Mbits/sec    0    861 KBytes
[SUM]   5.00-6.00   sec   110 MBytes   929 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  37.5 MBytes   314 Mbits/sec    0    998 KBytes
[  7]   6.00-7.01   sec  34.6 MBytes   288 Mbits/sec    0    936 KBytes
[  9]   6.00-7.01   sec  38.8 MBytes   321 Mbits/sec    0    953 KBytes
[SUM]   6.00-7.00   sec   111 MBytes   929 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  38.5 MBytes   323 Mbits/sec    0    998 KBytes
[  7]   7.01-8.00   sec  35.6 MBytes   301 Mbits/sec    0    936 KBytes
[  9]   7.01-8.00   sec  36.1 MBytes   307 Mbits/sec    0    953 KBytes
[SUM]   7.00-8.00   sec   110 MBytes   925 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  36.9 MBytes   310 Mbits/sec    0    998 KBytes
[  7]   8.00-9.02   sec  38.2 MBytes   315 Mbits/sec    0    936 KBytes
[  9]   8.00-9.03   sec  37.0 MBytes   301 Mbits/sec    0    997 KBytes
[SUM]   8.00-9.00   sec   112 MBytes   941 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.01  sec  35.5 MBytes   295 Mbits/sec    0    998 KBytes
[  7]   9.02-10.01  sec  36.5 MBytes   308 Mbits/sec    0    936 KBytes
[  9]   9.03-10.01  sec  37.2 MBytes   319 Mbits/sec    0    997 KBytes
[SUM]   9.00-10.01  sec   109 MBytes   906 Mbits/sec    0
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.01  sec   372 MBytes   312 Mbits/sec    0             sender
[  5]   0.00-10.02  sec   372 MBytes   312 Mbits/sec                  receiver
[  7]   0.00-10.01  sec   382 MBytes   320 Mbits/sec    0             sender
[  7]   0.00-10.02  sec   381 MBytes   319 Mbits/sec                  receiver
[  9]   0.00-10.01  sec   357 MBytes   299 Mbits/sec    0             sender
[  9]   0.00-10.02  sec   357 MBytes   299 Mbits/sec                  receiver
[SUM]   0.00-10.01  sec  1.08 GBytes   931 Mbits/sec    0             sender
[SUM]   0.00-10.02  sec  1.08 GBytes   930 Mbits/sec                  receiver

iperf Done.
root@AP1:~# iperf3 -c 192.168.1.253 -P 3 -R
Connecting to host 192.168.1.253, port 5201
Reverse mode, remote host 192.168.1.253 is sending
[  5] local 192.168.1.2 port 41576 connected to 192.168.1.253 port 5201
[  7] local 192.168.1.2 port 41580 connected to 192.168.1.253 port 5201
[  9] local 192.168.1.2 port 41590 connected to 192.168.1.253 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  34.5 MBytes   289 Mbits/sec
[  7]   0.00-1.01   sec  33.6 MBytes   280 Mbits/sec
[  9]   0.00-1.01   sec  43.5 MBytes   362 Mbits/sec
[SUM]   0.00-1.00   sec   112 MBytes   935 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  36.9 MBytes   309 Mbits/sec
[  7]   1.01-2.00   sec  37.0 MBytes   312 Mbits/sec
[  9]   1.01-2.00   sec  37.2 MBytes   314 Mbits/sec
[SUM]   1.00-2.00   sec   111 MBytes   932 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  36.2 MBytes   304 Mbits/sec
[  7]   2.00-3.00   sec  36.1 MBytes   303 Mbits/sec
[  9]   2.00-3.00   sec  36.2 MBytes   304 Mbits/sec
[SUM]   2.00-3.00   sec   109 MBytes   911 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  37.4 MBytes   314 Mbits/sec
[  7]   3.00-4.00   sec  37.4 MBytes   313 Mbits/sec
[  9]   3.00-4.00   sec  37.5 MBytes   314 Mbits/sec
[SUM]   3.00-4.00   sec   112 MBytes   942 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  37.2 MBytes   312 Mbits/sec
[  7]   4.00-5.00   sec  37.2 MBytes   313 Mbits/sec
[  9]   4.00-5.00   sec  37.2 MBytes   313 Mbits/sec
[SUM]   4.00-5.00   sec   112 MBytes   937 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   5.00-6.00   sec  37.2 MBytes   312 Mbits/sec
[  7]   5.00-6.00   sec  37.1 MBytes   311 Mbits/sec
[  9]   5.00-6.00   sec  37.1 MBytes   312 Mbits/sec
[SUM]   5.00-6.00   sec   112 MBytes   935 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   6.00-7.00   sec  37.2 MBytes   312 Mbits/sec
[  7]   6.00-7.00   sec  37.4 MBytes   313 Mbits/sec
[  9]   6.00-7.00   sec  37.6 MBytes   315 Mbits/sec
[SUM]   6.00-7.00   sec   112 MBytes   941 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   7.00-8.00   sec  37.4 MBytes   314 Mbits/sec
[  7]   7.00-8.00   sec  37.4 MBytes   313 Mbits/sec
[  9]   7.00-8.00   sec  37.4 MBytes   313 Mbits/sec
[SUM]   7.00-8.00   sec   112 MBytes   941 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   8.00-9.00   sec  35.9 MBytes   301 Mbits/sec
[  7]   8.00-9.00   sec  36.1 MBytes   303 Mbits/sec
[  9]   8.00-9.00   sec  36.0 MBytes   302 Mbits/sec
[SUM]   8.00-9.00   sec   108 MBytes   906 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   9.00-10.00  sec  37.2 MBytes   313 Mbits/sec
[  7]   9.00-10.00  sec  37.2 MBytes   313 Mbits/sec
[  9]   9.00-10.00  sec  37.2 MBytes   313 Mbits/sec
[SUM]   9.00-10.00  sec   112 MBytes   938 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   369 MBytes   310 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   368 MBytes   309 Mbits/sec                  receiver
[  7]   0.00-10.00  sec   368 MBytes   309 Mbits/sec    0             sender
[  7]   0.00-10.00  sec   367 MBytes   308 Mbits/sec                  receiver
[  9]   0.00-10.00  sec   379 MBytes   318 Mbits/sec    0             sender
[  9]   0.00-10.00  sec   377 MBytes   316 Mbits/sec                  receiver
[SUM]   0.00-10.00  sec  1.09 GBytes   936 Mbits/sec    0             sender
[SUM]   0.00-10.00  sec  1.09 GBytes   933 Mbits/sec                  receiver

As I said, I'm not sure if the Wifi performance with my DIR 860L B1 is within the expected range for this device @ 5GHz.

It is always the same performance drop if the device had 2 ethernet cpu ports to 1switch chip (like wrt3200acm) before and dsa gave it only 1port.

The performance drop on wan port will be static about 50% of full port bandwith or 1Gbps internet speed will only give about 500Mbps since a single cpu port must handle both lan and wan on a single duplex ethernet connection.

But you can only notice the performance drop if you have a isp connection faster that 500Mbps to begin with.

The CPU port is full duplex at 1G, so the restriction to one port will manifest on a pipe approaching a symmetrical 1Gbs range. But there was a small decrease in throughput with the change to DSA regardless.

Well, after update to 24.10.0 I have tried:

# uname -a
Linux router 6.6.73 #0 SMP Mon Feb  3 23:09:37 2025 armv7l GNU/Linux
# ip -d link show dev lan4 | grep dsa
    dsa conduit eth1
# ip link set lan4 type dsa conduit eth0
Error: dsa_core: Driver does not support changing DSA master.
# ip link set lan4 type dsa master eth0
Error: dsa_core: Driver does not support changing DSA master.

Does anyone know what the error could be due to?