我最近为我的主台式机(Windows 10)和 NAS 服务器(Ubuntu 20.04)购买了 2.5GB 适配器。
使用 iPerf3 进行测试时从Windows 上,我只得到 1GB。但是当我使用该--reverse
标志时,我得到了 2.5GB(或足够接近)。
无论-s
服务器标志是在 Ubuntu 还是 Windows 机器上,都会发生这种情况。我还尝试了两种不同的以太网电缆,结果相同。
Ubuntu 上的服务器。
数据从 Windows 传输到 Ubuntu:
H:\Downloads\iperf-3.1.3-win64
λ iperf3 -c 10.0.51.3
Connecting to host 10.0.51.3, port 5201
[ 4] local 10.0.51.2 port 1111 connected to 10.0.51.3 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 120 MBytes 1.01 Gbits/sec
[ 4] 1.00-2.00 sec 120 MBytes 1.01 Gbits/sec
[ 4] 2.00-3.00 sec 120 MBytes 1.00 Gbits/sec
[ 4] 3.00-4.00 sec 118 MBytes 994 Mbits/sec
[ 4] 4.00-5.00 sec 119 MBytes 994 Mbits/sec
[ 4] 5.00-6.00 sec 120 MBytes 1.00 Gbits/sec
[ 4] 6.00-7.00 sec 118 MBytes 992 Mbits/sec
[ 4] 7.00-8.00 sec 117 MBytes 984 Mbits/sec
[ 4] 8.00-9.00 sec 119 MBytes 999 Mbits/sec
[ 4] 9.00-10.00 sec 117 MBytes 984 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.16 GBytes 997 Mbits/sec sender
[ 4] 0.00-10.00 sec 1.16 GBytes 997 Mbits/sec receiver
iperf Done.
反向 - 数据从 Ubuntu 到 Windows:
H:\Downloads\iperf-3.1.3-win64
λ iperf3 -c 10.0.51.3 --reverse
Connecting to host 10.0.51.3, port 5201
Reverse mode, remote host 10.0.51.3 is sending
[ 4] local 10.0.51.2 port 1122 connected to 10.0.51.3 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 273 MBytes 2.29 Gbits/sec
[ 4] 1.00-2.00 sec 272 MBytes 2.28 Gbits/sec
[ 4] 2.00-3.00 sec 276 MBytes 2.31 Gbits/sec
[ 4] 3.00-4.00 sec 273 MBytes 2.29 Gbits/sec
[ 4] 4.00-5.00 sec 274 MBytes 2.30 Gbits/sec
[ 4] 5.00-6.00 sec 272 MBytes 2.29 Gbits/sec
[ 4] 6.00-7.00 sec 275 MBytes 2.30 Gbits/sec
[ 4] 7.00-8.00 sec 274 MBytes 2.30 Gbits/sec
[ 4] 8.00-9.00 sec 276 MBytes 2.32 Gbits/sec
[ 4] 9.00-10.00 sec 275 MBytes 2.30 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 2.68 GBytes 2.30 Gbits/sec 0 sender
[ 4] 0.00-10.00 sec 2.68 GBytes 2.30 Gbits/sec receiver
iperf Done.