So far i built a pi4 B (8GB) in three configurations
Config 1
Openwrt 21.02
Current OpenWRT released build 21.02
1 gig usb dongle(wan) and network port(lan).
Enabled software acceleration / irq balancing and receive packet steering
Modules installed: kmod-boding , kmod-usb-net-ax88179 , mii-tool , mwan3
On a near 1.2Gb connection got about 840-860 mbs
Very low cpu utilisation, sirq in the low percent , can’t see where the bottle next is, but I must be getting close the net port max especially when you take in to account overheads.
I read on the forums that if you bond the wan connections, you may get more.
Config 2
Openwrt 21.02
2 x 1 gig usb dongle(wan) bonded round robin and network port(lan).
Enabled software acceleration / irq balancing and receive packet steering / mwan3
Modules installed kmod-boding , kmod-usb-net-ax88179 , mii-tool , mwan3
On a near 1.2Gb connection got about 890-920 mbs
That’s better, I could see the traffic going across both wan ports (not evenly balanced but it works)
This now points the lan port
Config 3
Openwrt 21.03
1 x 1 gig usb dongle(wan) + onboard network bonded round robin
1x2.5gb usb dongle for lan
Enabled software acceleration / irq balancing and receive packet steering
Modules installed kmod-boding , kmod-usb-net-ax88179 , mii-tool , mwan3, r8152 drivers
On a near 1.2Gb connection got about 290 - 320 mbs (that’s the magic number for USB2 , but the dongles are using the usb3 ports) I know they both share a single channel , but a single channel on USB3 is big enough)
I did have a lot of issues, but this is beta s/w.
The issues so far:
Openwrt 21.02 had an old driver for r8252. The new r8152 driver also support the R8256b (my chip in the 2.5gb dongle).
The 2.5gb interface by default runs at 1000/full and required the advertised links to be changed (see above)
Mwan3 complains about iptables-legacy and iptables-legacy6 - Resolved by installing the modules
The usb nic for the bonding at boot stays down, and hence the bond will not start, When you do start it the shell freezes and disconnects, even though I am using the wan. most strange
Requires ip link set ethx up
The poor performance (still looking into this)