Question

Why the vast differences in upload and download speeds?

I recently setup a small $5 droplet in the London region. I installed speedtest-cli to test the upload and download speeds, but I saw some very different results.

Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by Vodafone UK (Bracknell) [14.60 km]: 4.009 ms
Testing download speed................................................................................
Download: 3837.55 Mbit/s
Testing upload speed......................................................................................................
Upload: 4.16 Mbit/s

I tested on multiple speedtest servers but the results were basically the same, the downloads were betweeh 500-3300mb while the upload was around 4mb. Any thoughts on why the upload is so slow compared to the download?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
August 11, 2019
Accepted Answer

Hello,

I’ve just tested that and indeed I got the same results. Then I used the strace command to strace the process and I noticed that during the Upload tests the connections to speedtest.net were timing out.

So I decided to get latest speedtest speedtest script rather than using the one available from the repository:

  • Get the latest version of the script:
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
  • Make the file executable:
chmod +x speedtest.py
  • Run the script:
python speedtest.py

The results were much better in this case:

Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by XILO (Maidenhead) [3.98 km]: 2.976 ms
Testing download speed................................................................................
Download: 702.54 Mbit/s
Testing upload speed................................................................................................
Upload: 800.73 Mbit/s

So my guess would be that the speedtest tool in the repository is outdated or something. It is always best to use the official instructions when installing tools on your system:

https://www.speedtestserver.com/

Hope that this helps! Regards, Bobby

I did what was suggested and my upload speed keeps very slow. And the most bizarre thing is that occurs only when I upload files through Windows. I did the same test in my iPad, trying to upload the same big file to the server, and the upload speed was blazing fast with the same user and same internet!

Anybody knows what more can I do to solve this?

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel