-
Notifications
You must be signed in to change notification settings - Fork 3
Performance tips: Bonded connections don't seem to be working elsewhere than the speed tests triggered in Speedify Web UI #3
Comments
Related to this I found that the native Logs generating button doesn't seem to work: speedify-logs-not-working.movI can document this caveat into Readme. The log button in the unofficial page seems to work though and contains all of the logs from the speedify service. |
ssh to your router or install
Run the following on your Mac line-by-line to test your router performance:
Running iperf3 on the router and not on a computer connected via ethernet is inaccurate for testing Wi-Fi, but this simulates a similar CPU load to running a VPN on the device, testing Wi-Fi performance under system load. If multiple TCP is much faster, then it's an indication that the Wi-Fi is lossy only when heavily loaded, and having multiple TCP compensates for retransmissions, this is usually a router/client performance issue. If the speed over the internet (w/o Speedify) is fast despite iperf3 readings, then hardware network acceleration can be the reason which only works with direct Wi-Fi to Ethernet connection or NAT Ethernet to Ethernet, on some routers packets completely bypass the CPU, you can disable it here and check if the speed degrades while running with Speedify off and using speedtest.net on the client/laptop:
If the speed doesn't drop then it's likely that the router CPU isn't the bottleneck. Note that running the Speedify speed test is multi TCP from my tests. |
Yes this should be noted, may also be added as a tab in the Speedify LuCI app. |
Correct, the commands mentioned earlier measure the speed between your laptop and the router not the internet, it also measures the speed Wi-Fi to CPU instead of Wi-Fi to ethernet, similar to Speedify speed test button being CPU-Ethernet, instead of Wi-Fi-CPU-Ethernet which bypasses acceleration twice. Note that those speeds (~200Mbit) are already borderline high considering that the Spitz AX is around the same speed in single core performance as the Slate AX / Flint although with 2 less cores. Slate AX is reported to max out at 320Mbit but with very large buffer bloat. (~800ms).
|
I did finally have time to continue checking this: I get roughly 666 Mbits/sec download and upload 323 Mbits/sec with iperf3. They only differed very minimally when using single or multiple TCP connections. This was between the GL-X3000 router and my laptop. I tried to run the speedify perf3 speedtest with the extra stress to the system and the results were still roughly the same. I did try to disable the network acceleration and even that didn't have any big effect. Speedify support mentioned that I should try following changes in addition:
I'll try them next. |
And the options above didn't really help either. Only made the connections worse. What I'm wondering is that the iperf3 between the router and speedify seems still great: The CPU usage doesn't seem to get higher than ~40% and the highest load average I was able to see was 1.7 which should be okay with my 2 CPU cores. I'm not sure if the software on my side is somehow configured in a stupid way but nothing except the speedify iperf3 doesn't seem to get +200Mbps connections. I'll probably try next the public iperf3 servers mentioned here: https://iperf.fr/iperf-servers.php |
Interesting, I forgot to mention some kernel tweaks applied, not sure if glinet has them added already considering they have VPN apps: /etc/sysctl.conf |
Sorry for bothering you again but I have now been talking to the speedify support for few times and they seem pretty clueless.
Problem with bonded bandwidth
When you're using this setup do you get the maximum bonded speeds outside of Speedify native speedtests?
The redundant mode seems to be working well and the low speed bonding too but when I'm using higher speed (>30mbps) connections the bonding doesn't seem to actually increase my bandwidth at all even though I have set all of my connections to primary.
Speedtests from the router
I ran 2 speedtests on my GL-X3000 router itself to remove the wifi speed issues out of this question:
Speedtest using CLI
Speedtest using Speedify Web UI
Button to trigger the tests:
Test results:
Comparing results
What is pretty weird for me is that even when I have set all of my 3 connections to "primary" to force the bonding according to https://speedify.com/blog/combining-internet-connections/fix-slow-bonding-speeds/amp/.
And even if I do that I'm not able to get the over 200mbps connections anywhere else than directly in the speedify speedtests.
I can clearly see traffic going through multiple connections in the graphs. Could this be happening because of some misconfiguration on my end with the OpenWrt interfaces?
The text was updated successfully, but these errors were encountered: