SQM/QoS & Hardware Flow Offloading

Recently just got gigabit broadband and had slow speeds (300Mbps). I turned on both Software & Hardware Flow Offloading and this fixed the issue (getting 1.0Gbps now). I have noticed that the numbers for RX and TX packets on the interface page are way lower than they should be (i.e. reading 3GB right now but I just downloaded a 10GB test file).

Is this because of the software/hardware offloading? I just had a look again and noticed "Experimental feature. Not fully compatible with QoS/SQM". Is there a fix for this? I am on a ASUS RT-AX53U (ramips/mt7621, OpenWrt 23.05.4).

hardware or software offload (wired to wired) skips all interim interfaces like bridge, ppoe and so on.

2 Likes

Actually, it's not really experimental anymore - and I assume you have a MediaTek based router if Hardware Offloading worked for you.

As you see, enabling this is required to get 1Gbps speed on these devices.

Unfortunately this is a feature of offloading traffic, traffic skips (or is offloaded) before certain portions of the CPU processes them. As you see, this means that things like accurately counting traffic is affected.

Also see: Accurate netflow metrics for MT7621 HW offloads

1 Like

Hardware flow offloading is a lost cause, for software flow offloading there is some hope to make the offload interface selectable so qdiscs like sqm uses can actually see all relevant traffic...

3 Likes

You should be able to get 500-600Mbps without offloads with firewall4 head.
Either try (rebuilding firewall4 package from) SNAPSHOT or download files as follows:

Thanks for this, may give it a go but ultimately I'd prefer the faster speeds

Yeah, MediaTek based router. Thank you for explaining this to me!