Archer C6 v2 no space for ath10k-firmware

CPU is extremely slow. And since it is one CPU anything extra running there makes it slower, like if you run top in ssh session you lose 50Mbps. Older 1043 had slower CPU but faster RAM and did better with offload while worse without.

OEM firmware uses old discontinued offload modules whose recent (5yo) 64bit counterpart is included in NSS builds.

You can try hardware offload , it does not use any hardware, just bypasses ARP and switch Forwarding database, and routing tables, works as long as MAC address does not roam between ports, like 2 wifi bands.

You can "install 59+ ruleset file. It makes entrance to offload one packet earlier

wget -O /usr/share/firewall4/templates/ruleset.uc https://github.com/brada4/firewall4/raw/aec0dc5606ad84efb2b31dd7c0b797f6cc513828/root/usr/share/firewall4/templates/ruleset.uc

Then load modified ruleset

fw4 check 
fw4 reload

do the measurements?

Undo:

cat /rom/usr/share/firewall4/templates/ruleset.uc > /usr/share/firewall4/templates/ruleset.uc
# fw4 pair

Keep:

echo /usr/share/firewall4/templates/ruleset.uc >> /etc/sysupgrade.conf

Others simplify no-offload case (which includes the packet offloading the connection)

Please post result from https://www.waveform.com/tools/bufferbloat ? (link, it has no ip addresses or other pii)

After installing 59+ ruleset and reload: https://www.waveform.com/tools/bufferbloat?test-id=7377bbe5-71de-481a-ba10-5a0bd713d81f

After the second part: https://www.waveform.com/tools/bufferbloat?test-id=8d905b0f-ad68-414f-bbc0-da54beba117b

^^ apply it

vv save it

(do not do the "undo" part)

WAN->WIFI will not cross performance-challenged vlan tagging. You should be able to easily reach 1/2 of advertised speed in a free / little loaded wifi channel. If you want to play shooting/racing games you need a new router. This will do 4k video and very comfortable browsing.

I don't care really about WIFI, but LAN

You can try to manually insert different offload device set (ie eth0 only, soft offload ie no `flags offload)

More or less you achieved what soc is capable of without proprietary, discontinued, never opensourced qualcomm offload driver included in 5 years old OEM firmware.

EDIT:

flowtable pft {
                hook ingress priority filter
                devices = { eth0 }
#                flags offload
                counter
        }

        chain lans {
                type filter hook forward priority filter + 1; policy accept;
                flow add @pft return
        }

ie offload (hopefully) takes whole network framw including vlan tag and (hopefully without copying) sends out converted ex-vlan packet and vice versa.

In file included from /dev/stdin:32:2-33:
/etc/nftables.d/abc.nft:1:11-13: Error: Could not process rule: File exists
flowtable pft {
^^^
In file included from /dev/stdin:32:2-33:
/etc/nftables.d/abc.nft:10:17-29: Error: Could not process rule: No such file or directory
flow add @pft return
^^^^^^^^^^^^^

You have to disable offload... Then this kicks in

Around 600Mbps, a bit worse

try { eth0 , eth0.1}

Same... I guess there's no point in trying... It's just a kinda crappy router and I'm amazed people are even able to think of these ways how to optimize it etc. So thanks for that

OK, use the default offload :wink:

Could you try https://github.com/openwrt/firewall4/issues/84#issuecomment-3586207889 (script reloads a bit optimized ruleset) without offloads?
Should be near soft offload.

Where should I create the script? .nft like before?

No, a shell script, it just reloads with slightly modified fw4 rules

// disable offload
// record speed
// save script in home dir
// ash this.sh
// record speed2
// re-enable offload (loads back original rules)
// maybe test again

tell what numbers you get :wink: thanks in advance.