Slow Upload on a Dedi

Howdy peeps,

I got a dedi recently and I’m having an issue (I think it’s a configuration problem from my end).

It seems like I can get 800~Mbit/s download speeds and only 4Mbit/s uploads regardless of location.

Info:

# ethtool enp5s0f1
Settings for enp5s0f1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp5s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 3c:4a:92:f3:38:cc brd ff:ff:ff:ff:ff:ff
3: enp5s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 3c:4a:92:f3:38:cd brd ff:ff:ff:ff:ff:ff
    inet 7xxxxxxxxx/29 brd 7xxxxxxxxxx scope global enp5s0f1
       valid_lft forever preferred_lft forever
    inet6 fexxxxxxxxxxxxxxx/64 scope link
       valid_lft forever preferred_lft forever

This is a template ubuntu 18.04 install.

MTU is 1500.

~# lspci | egrep -i --color 'network|ethernet'
05:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)
05:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)

Speedtest

# speedtest-cli
Retrieving speedtest.net configuration...
Testing from DA International Group (7xxxxxxxxxxxxxx)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by AltusHost B.V. (Sofia) [5.69 km]: 1.533 ms
Testing download speed..........................................................                                                                                                                                                                             ......................
Download: 887.67 Mbit/s
Testing upload speed......................................................................................................
Upload: 4.16 Mbit/s

Hmm, now this is interesting. Your dedi is fine, I get the exact same upload result on any Hetzner server I run speedtest-cli on (and have done for the past few months).

2 Likes

I’m with @Wolveix on this one.

Here’s a speedtest from a Hetzner cloud box to AltusHost in Sofia:

Retrieving speedtest.net configuration...
Testing from Hetzner Online GmbH (xx.xx.xx.xx)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by AltusHost B.V. (Sofia) [1421.17 km]: 30.397 ms
Testing download speed................................................................................
Download: 654.22 Mbit/s
Testing upload speed......................................................................................................
Upload: 4.12 Mbit/s

And here’s one to KPN (speedtest-cli --server 12066):

Retrieving speedtest.net configuration...
Testing from Hetzner Online GmbH (xx.xx.xx.xx)...
Retrieving speedtest.net server list...
Retrieving information for the selected server...
Hosted by KPN B.V. (Den Haag) [367.86 km]: 16.83 ms
Testing download speed................................................................................
Download: 680.05 Mbit/s
Testing upload speed......................................................................................................
Upload: 361.99 Mbit/s

Upload speed is perfectly fine if I measure it through iperf or any other decent tool. It easily bursts over 600 Mbit/s. It has been said many times before, but I’ll just say it again: Speedtest is not an accurate way to measure your speed.

And speedtest-cli is pure crap, issues on Github regarding reported slow (upload) speeds are seemingly locked / abandoned without any feedback.

https://github.com/sivel/speedtest-cli/issues/13

2 Likes

Thanks guys, was afraid I was doing something wrong.

All good then :slight_smile:

2 Likes

Can confirm, speedtest-cli is a piece of crap. Use iperf3 if you want to do proper testing

3 Likes

+1 - stop using speedtest.net

1 Like