How to run network speed tests on your Webdock server
Last updated: May 24th 2024
Introduction
This mini-article outlines instructions on how to run and get accurate network speed test results for your Webdock server.
Pre-requisites
- A Webdock cloud instance (a distro that Webdock supports)
- You have SSH access to your VPS.
Running speed tests
We have seen many users installing the speedtest-cli apt package to run speed tests. But that package is quite outdated and most often outputs inaccurate results. To fix this you can install the CLI provided by Ookla.
Head over to the Ookla CLI page and install it on your server based on your server’s operating system.
Then run the below command and hit yes to the prompts. Right after that, the speed test begins.
$ speedtest
By default, the closest test server will be chosen. Sometimes speedtest can be pretty bad at picking the closest server and may pick something which is actually quite far away.
If you want you can list what speedtest thinks are the closest servers and check that. Simply run the speedtest command with the -L flag to view the closest servers.
$ speedtest -L
The output will be similar to this:
Closest servers:
ID Name Location Country
==============================================================================
27370 Norlys Kolding Denmark
47805 Cloud Factory A/S Kolding Denmark
4435 Waoo Skanderborg Denmark
8763 TDC Group Tranbjerg Denmark
39781 Altibox AS Ikast Denmark
9062 VPN-Byen.dk A/S Tønder Denmark
4556 TNG Stadtnetz GmbH Kiel Germany
51706 Osted Nettet ApS Osted Denmark
29351 Tune Kabelnet Tune Denmark
59153 Fiberby ApS Taastrup Denmark
Then you can run the speed test by selecting a specific speed test server by its ID. For example:
$ speedtest --server-id 51706
For other flags, you can see the help section of the speedtest package (run speedtest -h to view help information).
Recommended speedtest servers
During testing, we have found a few reliable test servers that give accurate speed test results. We recommend running speed tests using these test server IDs.
Denmark:
$ speedtest --server-id 11530
$ speedtest --server-id 8763
$ speedtest --server-id 4435
An alternative
As an alternative, you can also run the speed tests using iperf.
Execute the below command:
$ curl -sL yabs.sh | bash -s -- -fg
The script runs speed tests against multiple speed test servers across the globe.
The above command is strictly limited to network speed tests. Have a look at this GitHub repo if you want to run CPU, disk r/w tests, and other things.
Conclusion
This article outlined instructions on how to run network speed tests and get accurate test results.
Related articles
-
Server IP Adresses
Read all about how IPs are assigned to your Webdock server and how to manage them.
Last updated: November 8th 2022
-
How to point your domain to your server using DNS
This article describes how you set A and AAAA records with your DNS provider in order to point your domain to your server.
Last updated: November 8th 2022
-
Webdock uses Google DNS with Cloudflare as backup
Wwe have decided to make Google our primary and Cloudflare our backup.
Last updated: April 4th 2021
-
Servers with no IPv4 networking (IPv6 only)
In this article we tell you about Servers with no IPv4 networking (IPv6 only).
Last updated: November 8th 2022
-
Using Looking Glass to test latency and network speed
A short article outlining the steps to check latency and network speed of Webdock servers.
Last updated: May 24th 2024
-
Private Communication Between Your Webdock Servers using Tailscale
Creating a VLAN-like environment using Tailscale
Last updated: January 18th 2024
-
DOS and DDOS Protection in Webdock Datacenters
Last updated: September 16th 2024
-
What To Do If Your Webdock IP Address Is Incorrectly Geolocated
A short article to help you with fixing incorrect geolocation information of your server IP
Last updated: September 19th 2024