Hi GLiNet folks. I recently set up my first WireGuard server/client system on a Brume/SlateAX and have had fun testing it out. However I’ve noticed some speed issues that I want to investigate. In forums I’ve read that the iPerf3 function is great to test this, however I don’t know how it works.
Are there any beginning guides on how to use iPerf3 to test network speeds on GLiNet server/client WG system? The furthest I’ve gotten is to install it via the plugins menu on the SlateAX. Thanks for any help in getting this working. Cheers.
the use of iperf3 is very simple and does not require much study I will now go into the use via SSH - presumably the plug-in only takes care of the installation.
On the router
connect to your router via SSH (e.g. ssh root@192.168.177.1)
Connect iperf3 to the server via command line: .\iperf3.exe -c 192.168.177.1
The IP naturally corresponds to the IP of the router.
Read the results.
Both programs can be interchanged - i.e. you can start the server mode (-s) on the client and the client mode (-c [IP of the client]) on the router. And vice versa.
You can use the “reverse” switch -R on the client to test from router → client without need to change the server/client options. So .\iperf3.exe -c 192.168.177.1 -R will send the traffic from router to client.
By running iPerf on the routers you may not get accurate throughput speeds as the router’s cpu may affect the results. If I were doing the testing I’d have two capable computers on either end of the iPerf connection. In your case one computer attached to the Brume AX and the other computer attached to the SlateAX. Of course both computers would be connected with ethernet.
Interesting ideas. I actually did test the client on both the SlateAX and my PC that was connected to the SlateAX via wifi (also tried ethernet, same results).
I was also monitoring the Slate and Brume’s CPU on the status page, but I barely noticed a rise in CPU activity when running the test (which was surprising). Even if I ran concurrent tests with -P.
I was able to get a better throughput with -P 5. On the download got up to 50Mbps whereas single connection was around 35Mbps.
Interesting stuff!
However when trying the same tests with UDP it wouldn’t work and just kept sending 0kb over and over. Haven’t figured that one out yet
Hello admon, all is fine, but after i check it, i need a command line for ending server mode in my router? Or with a reboot it's fine? i have rebooted my router.