SpeedTest client for Linux

uncle_josh

Master Member
Joined
Jun 16, 2018
Messages
3,032
Reaction score
733
Due to the slow/inaccurate speedtest result from the SpeedTest-Cli provided in the linux distribution, I have manage to find this client for Linux user to make and compile on their linux client so that they can perform a more accurate result which correlates or close to the clients speedtest result in Windows.

1. Download the SpeedTest zip here : https://github.com/taganaka/SpeedTest

2. Unzip & Compile
Instructions can be found in the "readme.md" file (after decompress the zip file)
$ sudo apt-get install build-essential libcurl4-openssl-dev libxml2-dev libssl-dev cmake
$ git clone https://github.com/taganaka/SpeedTest
$ cd SpeedTest
$ cmake -DCMAKE_BUILD_TYPE=Release .
$ sudo make install

3. Usage
$ ./SpeedTest --help
Usage: ./SpeedTest [--latency] [--quality] [--download] [--upload] [--share] [--help]
[--test-server host:port] [--quality-server host:port] [--output verbose|text]
optional arguments:
--help Show this message and exit
--latency Perform latency test only
--quality Perform quality test only. It includes latency test
--download Perform download test only. It includes latency test
--upload Perform upload test only. It includes latency test
--share Generate and provide a URL to the speedtest.net share results image
--test-server host:port Run speed test against a specific server
--quality-server host:port Run line quality test against a specific server
--output verbose|text Set output type. Default: verbose

2054 - Viewqwest Pte Ltd
4235 - StarHub Mobile Pte Ltd
5935 - MyRepublic


4. Results :
Win10 results - https://www.speedtest.net/result/d/a3a8d501-c411-4cdc-9eef-f9f18da8d16c.png
Linux results - https://www.speedtest.net/result/8857940195.png
 
Last edited:

uncle_josh

Master Member
Joined
Jun 16, 2018
Messages
3,032
Reaction score
733
For those who wants to run this speedtest under Windows 10, follow these steps :

i)Enable Developer mode
-All Settings -> Update & Security -> For developers -> Developer mode


ii)Enable WSL (Windows Sub-system for Linux)
Start -> appwiz.cpl -> Turn Windowsfeature on/off -> Windows Subsystem for Linux -> tick -> ok -> Restart now

iii)Open Linux using Bash command
Start -> Bash -> right click, select run as Administrator

Source : How to Enable the Linux Bash Shell in Windows 10

Once the above done, just continue the step in post #1
 

dryteletubby

Senior Member
Joined
Aug 25, 2017
Messages
2,302
Reaction score
1
Everything above 1Gbps results are inaccurate unless your use network equipment capable of above Gigabit speeds.

I feel those speedtest sites aren't very accurate I somehow manage to get 1.4Gbps
4ZRd5nZ.jpg
from fast.com

also according to speedtest.net blog lower performance systems may not reach 1Gbps via browser

If you’re sure your setup is perfect but you’re still not seeing the Speedtest result you expect, download our free desktop apps for Windows or MacOS. Many lower performance systems can’t reach 1 Gbps via browser tests due to various limitations. Plus our desktop apps give you data on jitter and packet loss.
 

uncle_josh

Master Member
Joined
Jun 16, 2018
Messages
3,032
Reaction score
733
Fast.com results just make you happy. I'm well aware their test is inaccurate.

However Speedtest via browser is also grossly under performing
 

dryteletubby

Senior Member
Joined
Aug 25, 2017
Messages
2,302
Reaction score
1
I don't see the point of continuously attempting to run speedtest just to see if you get gigabit speeds. Unless there is a problem with your ISP, usually Internet speeds shouldn't drop for no reason.

Also like I said in my previously comment. Speedtest.net blog claimed some slow or lower power pc can't reach gigabit speeds via browser test. So it likely your pc rather then the browser version of speed test that is underperforming.

Most consumer routers can route gigabit speeds easily. It would be kinda absurd if your ISP gave you a router that can't do gigabit when you subscribe to 1Gbps broadband.

Also speedtest is almost a best case scenario for Internet speeds. Under less ideal uses like with many people using the network your router may not be able to cope with that large number of users and performance will suffer.
 

uncle_josh

Master Member
Joined
Jun 16, 2018
Messages
3,032
Reaction score
733
Those web browser speedtest is unreliable. I am stating so as I have tried speedtest in browser under win10 and linux, all give very sucky results.
Hence I hunt and found this tool which at least tells me my internet speed that I am getting is what I subscribed.

As for pc performance, both pc I have are Quad core CPU.
Definitely more than enough to do a simple speedtest.

Speedtest.net blog can claimed this , claim that.
Yes some are due to slow pc . Those reasons are very generic.
When troubleshooting, you really have to go case by case basis.

The point for starting this thread is for ppl who encounter slow/inaccurate speedtest speed, they can try this tool which is much better that the one that came bundled with the Linux distribution.

Those who is not affect by the speedtest in the browser, pls continue to do what you are doing.
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
Those web browser speedtest is unreliable. I am stating so as I have tried speedtest in browser under win10 and linux, all give very sucky results.
Hence I hunt and found this tool which at least tells me my internet speed that I am getting is what I subscribed.

As for pc performance, both pc I have are Quad core CPU.
Definitely more than enough to do a simple speedtest.

Speedtest.net blog can claimed this , claim that.
Yes some are due to slow pc . Those reasons are very generic.
When troubleshooting, you really have to go case by case basis.

The point for starting this thread is for ppl who encounter slow/inaccurate speedtest speed, they can try this tool which is much better that the one that came bundled with the Linux distribution.

Those who is not affect by the speedtest in the browser, pls continue to do what you are doing.

If you really want to test out your network, use iperf. Your target system of performing network load test will greatly affect your results.

You will need to know what you are trying to measure for network traffic results. No point getting superb results accessing a local server when it is going to give you dismal results when accessing a server in US. Even testing against a target system in US, is not representative across the entire US.

Your system and NIC matters, your ISP matters,, your target system and NIC matters, your target ISP matters, your actual route matters, your testing tool matters.

So after you have a 900++Mbps results, what does it mean? Suddenly facebook surfing becomes fast? Apparently not either, your DNS resolution matters, the javascript speed execution matters. If you are using HTTPS, which X.509 certificates matters, whether the target system did OCSP staple matters. All the other resources either CSS, JS, media, which can be outside of facebook matters. Whether the resources are served via CDN matters. :)

So it would seems a speedtest results tells very little of what you will really be experiencing as an end-user, at the end of day. :)
 
Last edited:

uncle_josh

Master Member
Joined
Jun 16, 2018
Messages
3,032
Reaction score
733
End of the day , i just need a reliable speedtest tool !!

I having actually a great experience surfing and getting information from the internet currently.
That's why I said those speedtest in browser that show slow results are inaccurate.
 
Last edited:

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,547
Reaction score
1,301
End of the day , i just need a reliable speedtest tool !!

I having actually a great experience surfing and getting information from the internet currently.
That's why I said those speedtest in browser that show slow results are inaccurate.

As you wish, because accurate also tells nothing much. You want accurate network graph locally. do a simple iperf, you can tell more from it. But you need your own server and that is the right way to do network performance test. Anything else is just for your own pleasure, accurate or not is rather moot. Not all network that is bandwidth critical uses TCP. UDP matters too.

Believe it or not at your own discretion. Have fun. :)
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ Forums. Forum members and moderators are responsible for their own posts. Please refer to our Community Guidelines and Standards and Terms and Conditions for more information.
Top