By Matt Clegg
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?
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!
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:
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest.py
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?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.