Well, I'm glad you brought this up.. maybe the V2 owner can download 19.07.1 and see what speed they get doing some speed tests. That would be a great test to see the impact offloading has if it indeed is enabled by default on 19.07.1 (looks like it is configured).
At any rate will take a look at the configuration tonight.
Well, as our routers are quite powerful you will need to have a 1 gb's line to test it, however it should give you a bit lower cpu utilization on higher loads, so making more resources free for other stuff. To my understanding on you'r builds flow offloading is not enabled by default and adding option flow offloading to /etc/config/firewall didn't enable it aswell. The command "cat /proc/net/nf_conntrack | grep OFFLOAD | wc -l" will show you the number of offloaded connections.
Users always need to enable it by selecting Software flow offloading under firewall settings. or adding it to /etc/config/firewall "option flow_offloading '1'" Also the commands where there since the beginning in the early days i was testing this on Archer C7 v2 (Massive performance boost). Sorry for many edits....
Ok will check this out once my compile has finished, started it at 3pm today its still going now even with a -j4 run lol just hope it doesn't fail like it has for the past 4 days.
Thanks for the info.. It's been a while since I tested, but when offloading became available it was tested thoroughly and for the beefy processors already in the linksys series, it made 1.5%~ish difference in processor (from what I remember). It was well within the margin of error and there wasn't a perceivable difference. IDK, maybe things have changed, so I'm willing to test it again.
For our devices, it doesn't change allot offload helps on devices that have weak cpu's. Other then that offloading does increase performance. Is it noticeable for us? nope prob not. Only hardware offloading would but that's not going to happen. Our device should be able to handle something near 1gb's even on OpenWRT without hardware nat and software nat. If you have other devices running OpenWRT with slower cpu's you can test that out to get the idea.
Okay, so I've had a chance to do some testing, and these numbers look good, and a marked improvement! However, I recommend everyone test of their own.. I'm particularly interested in @Comitizer V2, and what speeds he will get with Offloading turned on.
First off, offloading needs to be checked, though the packages are already in the build (With the Luci Option or Without). It appears @hnyman may have gone through the trouble of adding the option to LuCi making this as simple as a click. As you pointed out, all that's needed is the "kmod-ipt-offload" package, and the option magically becomes available in LuCi (Firewall Section). In the past, it was adding an option to the firewall rules and firewall configuration, but no longer.
Here are the test results, but keep in mind I only have a 600mbps download pipe, so it could be a 1Gbps pipe could make these numbers even better comparatively.
Each test I did the peak download speeds reached 620mbps download. An average of the 2 processors was taken using HTOP. Basically, I had to eyeball it, however after 4 tests I could easily see the lower CPU% with offloading enabled.
30% CPU% <- Offload ON
45% CPU% <- Offload OFF
33% CPU% <- Offload ON
44% CPU% <- Offload OFF
On a scale from 0-100% this appears to be around a 15% improvement for the 3200ACM downloading at 620mbps. No shabby!
Seemed to make a difference of around 15-18% CPU time.. before the offload - i did a few fast.com speed tests - the 3200ACM hit average 590mbps - after - 890mbps - all tested within minutes of each other.. this is on a GB connection..
There might be a mistake in the speed test because the 3200acm isn't cpu limited on a 1 gig link. Hence there wouldn't be a throughput difference, but lower cpu% is expected.
Strange. I also have a WRT32X and it's working for me. I wonder what the difference could be. Are your 2 SSIDs on the same channel and width? Mine are both on 6 @ 20 MHz, with "SSID-IoT" having Hide ESSID enabled.
Is openwrt-sfe-flowoffload a package? and are the differences between those two speed tests because of the hardware option for flow offload being enabled?
I had forgot this was possible due to I believe kernel 4.14, so it dawned on me that the option for hardware isn't supported.
I wanted to show how wrt1900acs v2 works with soft offload via Network / Firewall, it is exactly the configuration you use.
But I think Hardware flow offloading doesn't help you if you have it enabled, hardware offloading I understand that it only works with some mediatek chips for now.