各种折腾,升级内核啥的,突然有一天发现,PVE 网速变得极慢,只有 30MB/s 不到,具体什么原因也不知道。不涉及 USB 等存储设备,大无语。
% iperf3 -c 192.168.200.2 -t 20 -i 5 -f Mb
Connecting to host 192.168.200.2, port 5201
[ 5] local 192.168.200.50 port 50084 connected to 192.168.200.2 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-5.00 sec 128 MBytes 25.5 MBytes/sec
[ 5] 5.00-10.00 sec 120 MBytes 24.0 MBytes/sec
[ 5] 10.00-15.00 sec 125 MBytes 25.0 MBytes/sec
[ 5] 15.00-20.00 sec 118 MBytes 23.7 MBytes/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-20.00 sec 491 MBytes 24.5 MBytes/sec sender
[ 5] 0.00-20.02 sec 490 MBytes 24.5 MBytes/sec receiver
iperf Done.
root@pve:~# ethtool enp0s31f6
Settings for eno2:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
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: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
MDI-X: on (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
和物理无关:之前能搞 100MB/s ,也尝试过换网线、换网口,都无效。
% iperf3 -c 192.168.200.2 -t 20 -i 5 -f Mb
Connecting to host 192.168.200.2, port 5201
[ 5] local 192.168.200.50 port 50084 connected to 192.168.200.2 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-5.00 sec 128 MBytes 25.5 MBytes/sec
[ 5] 5.00-10.00 sec 120 MBytes 24.0 MBytes/sec
[ 5] 10.00-15.00 sec 125 MBytes 25.0 MBytes/sec
[ 5] 15.00-20.00 sec 118 MBytes 23.7 MBytes/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-20.00 sec 491 MBytes 24.5 MBytes/sec sender
[ 5] 0.00-20.02 sec 490 MBytes 24.5 MBytes/sec receiver
iperf Done.
root@pve:~# ethtool enp0s31f6
Settings for eno2:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
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: No
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
MDI-X: on (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
和物理无关:之前能搞 100MB/s ,也尝试过换网线、换网口,都无效。