I noticed that speedtest-cli-2.1.3-2 and speedtest.net produce completely different results. I tried rebooting the router, computer and replugging the wifi adapter, but the results are equally bad in the cli version
Cli results:
Retrieving speedtest.net configuration...
Testing from Turkcell Superonline (**********)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by TheZone Ltd. (Svishtov) [415.21 km]: 87.722 ms
Testing download speed................................................................................
Download: 2.16 Mbit/s
Testing upload speed......................................................................................................
Upload: 2.40 Mbit/s
EDIT: I also noticed you used a different remote server for the command-line speedtest, compared to the website. Make sure to use the same remote servers.
$ speedtest --secure
Retrieving speedtest.net configuration...
Testing from Turkcell Superonline (*****)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by iNES Group SRL (Bucharest) [444.76 km]: 152.542 ms
Testing download speed................................................................................
Download: 2.13 Mbit/s
Testing upload speed......................................................................................................
Upload: 3.05 Mbit/s
I couldnāt run server found by website, it says that id invalid idk why
So I used cli and switched to selected by cli server on website
$ speedtest
Retrieving speedtest.net configuration...
Testing from Turkcell Superonline (*****)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by 4Cloud Teknoloji (Istanbul) [1.86 km]: 75.308 ms
Testing download speed................................................................................
Download: 2.21 Mbit/s
Testing upload speed......................................................................................................
Upload: 2.86 Mbit/s
A thread about speetest-cli lying when the website is telling the truth. Other tools, such as downloading a large file via wget, indicate that the speed is much faster that speedtest-cli tells
Good grief folks. Speed tests are dependent on a lot of things. Itās possible the CLI version ends up using a different server than the website.
speedtest-cli doesnāt appear to be in active development. However, thereās an official Ookla Speedtest CLI application available in the AUR as speedtest:
In a broader sense, if one disagrees with another, it does not mean either of them are lying. In this case, programs only do what they were programmed to do.
I have used the SAME servers for test. And I tried to use āno-installā latest official speedtest-cli. In past, speedtest-cli was working fine but now there are that strange results
I am using a metaphor. To put it more correctly, the results of the site are much closer to reality. speedtest-cli absolutely always gives results several times worse and I was not able to confirm their authenticity, since all applications download much faster
We see a very strange situation: speedtest-cli, using the X server says ā3 Mbpsā, and the website, using the server X, says ā25 Mbpsā. And trying to download some file shows that the website is more right
When calculating the speed of a connection - thereās a lot of factors.
It is very difficult to identical results as any bandwidth test will be influenced by
the actual route - which may change between tests - e.g. ISP load balance or endpoint load balance.
any given activity on the system
any given activity on the local network
the method used to calculate the bandwidth
is the test executed from a wifi ap
is the test executed through a local router
is the test executed connecting directly to the ISP (without local routing)
This is just the scenarios I could pull from memory - thereās likely more.
Even if you are using a browser based test - the browser may influence the test - e.g.browser plugins/add-on.
I have noted the differences with speedtest-cli as well - but it is nothing to worry about - it likely due to differences in calculations and you should not put too much trust into them.
In fact when using ookla from the web browser - the calculations is always showing a better speed than my subscription allows for - which makes me think the algorithm for the ookla web test is too generous - but I have no way of knowing for sure.
I wouldnāt go as far as saying lies more like inaccurate which likely describes the results better.
You would likely get more accurate result by timing your download using time and curl then calculate the transfer by hand.
You could then upload the same file to a server under your control again using time and any upload method supported by your server.
Remember the speed testing business is about money - about attracting a lot of testers to get baselines and sell the results - they also show ads on their web - so your data is being collected and the service is not because of your pretty blue eyes - itās the data you provide them.