我最近在使用 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%
最近我的速度下降到了大约 1/2(即~500Mbps)而且我不知道为什么......
我尝试了各种故障排除方法,但目前都无济于事。没什么主意了。
- 重新启动
- 检查了物理电缆。笔记本电脑使用与问题机器相同的电缆/交换机端口获得千兆速度
- 关闭所有 docker 容器和 docker 服务本身,以防某些东西占用了带宽
- 已禁用 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