Hello my dear friends,
+ No doubt you want to know the upload and download speeds of a file while using a given server (Cloud Server), right?
+ Today I’ll show you a couple methods for testing the Server’s download and upload speeds
+ But first, you need to satisfy some of the following conditions
+ Cloud Server is required to test network speed
+ You can’t perform the test on a Shared Hosting server since all of the server’s resources are shared with other users. As a result, having shared hosting makes it harder to make reliable measurements.
+ On the other hand, 1Byte is offering a discount for all 1Byte services on the festival of the Khmer New Year
+ Not satisfied with that, you can now get a whole month of Web Hosting and Cloud Server for free of using. Why not give it a go?
Let's HANDS ON
+For Cloud Server, you need to use terminal console to login via ssh
+ Now, from the terminal console of Cloud Server, perform network speed tests
STARTING Checking Network Speed
Method 1: Checking your download speed by downloading a null file
wget -O /dev/null https://speedsin.phoenixnap.com/sin-1gb.test
(As you can see, downloading a 1GB file from Singapore Server to 1Byte’s Cloud Hosting, the average download speed is 605 KB/s)
+ You can go PhoenixNAP to choose the location of a file, then test the download speed to test the download speed from your Cloud Hosting/ Cloud Server to that location
Can only test Download Speed
→ Can't test Upload Speed
Method 2: Using python script (speedtest.py)
+ Run the following commands one by one, do not to run them at the same time, and don’t run the commands start with the # sign because it’s a comment
#Download python3 packages yum install python3 -y #Downloading speedtest.py script wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py #Using ls command to check ls
#List the speedtest.net server-based upon physical distance. python3 speedtest.py --list
# Here server ID 48580 of Global Communication (Metfone) python3 speedtest.py --server 48580
(As you can see, the average download speed is 114.89 Mbit/s, the average upload speed is 1.84 Mbit/s. Distance from Cloud Hosting/ Cloud Server to Metfone at Bangladesh is 1912.27 km)
Just 1 command can show the Download & Upload speed
→ Extremely convenient
The Server must have Python3 packages and must download speedtest.py script
→ Takes your time to install
+ Download and upload speeds reported by the tool are not completely accurate and should not rely on it. It’s just relative values output is responsible for the server selected to be tested against. CPU and Memory capacity will influence the result to a certain extent.
→ The more CPU and RAM the server has, the faster the download and upload speeds will be
+ That’s all for now, till then stay tuned and connected to 1Byte. Don’t forget to give your valuable feedback in the comments below. Like and share us and help us get spread.