I was recently getting the following speeds when using the ookla speedtest cli...
$ speedtest
Speedtest by Ookla
Server: ********
ISP: TELUS
Idle Latency: 1.98 ms (jitter: 0.08ms, low: 1.85ms, high: 2.05ms)
Download: 913.40 Mbps (data used: 1.3 GB)
4.96 ms (jitter: 0.86ms, low: 1.47ms, high: 10.53ms)
Upload: 900.51 Mbps (data used: 1.2 GB)
4.99 ms (jitter: 1.25ms, low: 1.52ms, high: 11.40ms)
Packet Loss: 0.0%
Recently my speeds dropped to about 1/2 (i.e. ~500Mbps) and I can't figure out why...
I've done various troubleshooting and nothing has helped so far. Running out of ideas.
- Rebooted
- Checked physical cables. Laptop gets gigabit speeds using the same cable / switch port as the problem machine
- Shutdown all docker containers and the docker services itself in case something was eating up bandwidth
- Disabled ipv6
https://askubuntu.com/a/1232022/1636933
sudo vi /etc/gai.conf
Uncomment ::ffff:0:0/96 100
https://askubuntu.com/a/994916/1636933
sudo /sbin/ethtool eth0 # shows full duplex
docker network prune
sudo lshw -C network
*-network
description: Ethernet interface
product: MCP79 Ethernet
vendor: NVIDIA Corporation
physical id: a
bus info: pci@0000:00:0a.0
logical name: enp0s10
version: b1
serial: 90:fb:a6:4c:7d:26
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full ip=192.168.1.101 latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=1Gbit/s
resources: irq:20 memory:fae7d000-fae7dfff ioport:d080(size=8) memory:fae7e800-fae7e8ff memory:fae7e400-fae7e40f
*-network DISABLED
description: Wireless interface
product: RT3090 Wireless 802.11n 1T/1R PCIe
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlp5s0
version: 00
serial: 70:f1:a1:40:20:67
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.15.0-194-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:19 memory:febf0000-febfffff
*-network
description: Ethernet interface
physical id: 1
logical name: vethdde1b89
serial: ba:25:08:f9:20:9e
size: 10Gbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s
sudo apt-get update
doesn't upgrade your version of Ubuntu. That is done by the command ofsudo do-release-upgrade
. Please be precise in your versions. Also, Ubuntu 18.04 will go EOL in April of next year so you might want to consider upgrading to 20.04 LTS or 22.04 LTS. What is the output ofsudo lshw -C network
and add the results to your question. – Terrance Oct 17 '22 at 04:04do-release-upgrade
command until now so not sure how it got upgraded then. At some point I was on 16.x and now I'm on 18.04. In any case I have added thelshw -C network
output to the post. – user1636933 Oct 17 '22 at 04:08nfe
ethernet driver instead of theforcedeth
driver. https://manpages.ubuntu.com/manpages/bionic/man4/if_nfe.4freebsd.html My old MB had the NVIDIA chipset on it, but my new one doesn't so I may not be much help past this here even though I still use Legacy products. – Terrance Oct 17 '22 at 04:17iperf3
server to test network speeds. As others have mentioned, you can't really rely on speedtest.net – Artur Meinild Oct 17 '22 at 08:00