Requirements: If you test the external network speed (broadband network speed), we can test it through speedtest, and for testing the internal network speed, you can use iPerf3 to test the transmission speed between two devices, as follows:
If you use iPerf3 to test the transmission speed, it is required that both devices must install the iPerf3 tool, this article builds the LibreSpeed service on the server, only need to access it in the client browser, you can do the speed test.
LibreSpeed is a tool that can be quickly deployed to test network speed, especially in LAN environments, and is very useful for testing whether network equipment bandwidth is up to standard. The code is mostly made up of a set of html, js, and php, no Flash, no Java, no Websocket, no nonsense, and it's a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.
Source code address:The hyperlink login is visible.
This article uses docker to build a LibreSpeed service, and only requires one command as follows:
At this time, we access port 28082 of the server through the browser of a computer device, for example:http://192.168.50.227:28082/
The test results are shown below:
The download speed is 1006 Mbps and the upload speed is 1009 Mbps becauseMy home router is a gigabit network port, so the test results are also in line with expectations.
(End)
|