我构建了一个新的文件服务器,它应该远远超出其用途。它有 2 个 Intel(R) Xeon(R) CPU E5-2660 v3,128GB 内存,它通过 Intel X540T2 网卡运行 LCAP 到 Netgear GS752TP 交换机。我们的路由器是 Ubiquiti EdgeMax
当我尝试向其传输 1GB 数据时,速度保持在 12MBps 左右。我曾看到它达到 25MBps,但甚至降到 500kBps。两次都是短时间内的。
我进行了两次iperf
测试,一次在末尾使用了“-u -b 1000m”,另一次什么都没做。我将在下面发布结果。
我的问题是,为什么这种传输在所有 GB 设备中都如此缓慢,而且是硬连线的?可能是配置错误?
我感谢您给我的任何建议。
计算机测试 1 的结果使用“-u -b 1000m”
[ ID] Interval Transfer Bandwidth Total Datagrams
[ 4] 0.00-1.00 sec 109 MBytes 918 Mbits/sec 14012
[ 4] 1.00-2.00 sec 94.2 MBytes 790 Mbits/sec 12061
[ 4] 2.00-3.00 sec 104 MBytes 871 Mbits/sec 13293
[ 4] 3.00-4.00 sec 108 MBytes 906 Mbits/sec 13827
[ 4] 4.00-5.00 sec 113 MBytes 952 Mbits/sec 14527
[ 4] 5.00-6.00 sec 114 MBytes 953 Mbits/sec 14545
[ 4] 6.00-7.00 sec 111 MBytes 930 Mbits/sec 14197
[ 4] 7.00-8.00 sec 109 MBytes 918 Mbits/sec 14014
[ 4] 8.00-9.00 sec 114 MBytes 956 Mbits/sec 14582
[ 4] 9.00-10.00 sec 103 MBytes 868 Mbits/sec 13244
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-10.00 sec 1.06 GBytes 906 Mbits/sec 0.044 ms 50745/138072 (37%)
[ 4] Sent 138072 datagrams
iperf Done.
来自服务器的测试 1 结果使用“-u -b 1000m”
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 65.2 MBytes 547 Mbits/sec 0.047 ms 4776/13117 (36%)
[ 5] 1.00-2.00 sec 68.4 MBytes 574 Mbits/sec 0.062 ms 3333/12089 (28%)
[ 5] 2.00-3.00 sec 68.3 MBytes 573 Mbits/sec 0.060 ms 4448/13192 (34%)
[ 5] 3.00-4.00 sec 67.8 MBytes 569 Mbits/sec 0.021 ms 4993/13675 (37%)
[ 5] 4.00-5.00 sec 68.6 MBytes 575 Mbits/sec 0.053 ms 5901/14676 (40%)
[ 5] 5.00-6.00 sec 68.3 MBytes 573 Mbits/sec 0.088 ms 5883/14629 (40%)
[ 5] 6.00-7.00 sec 68.0 MBytes 570 Mbits/sec 0.037 ms 5455/14155 (39%)
[ 5] 7.00-8.00 sec 67.6 MBytes 567 Mbits/sec 0.037 ms 5659/14306 (40%)
[ 5] 8.00-9.00 sec 68.4 MBytes 573 Mbits/sec 0.029 ms 5581/14330 (39%)
[ 5] 9.00-10.00 sec 68.5 MBytes 574 Mbits/sec 0.161 ms 4522/13288 (34%)
[ 5] 10.00-10.05 sec 3.29 MBytes 600 Mbits/sec 0.044 ms 194/615 (32%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-10.05 sec 682 MBytes 570 Mbits/sec 0.044 ms 50745/138072 (37%) receiver
计算机测试 2 的结果
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 26.8 MBytes 224 Mbits/sec
[ 4] 1.00-2.00 sec 29.2 MBytes 246 Mbits/sec
[ 4] 2.00-3.00 sec 29.8 MBytes 250 Mbits/sec
[ 4] 3.00-4.00 sec 30.2 MBytes 254 Mbits/sec
[ 4] 4.00-5.00 sec 30.0 MBytes 251 Mbits/sec
[ 4] 5.00-6.00 sec 29.8 MBytes 250 Mbits/sec
[ 4] 6.00-7.00 sec 30.0 MBytes 252 Mbits/sec
[ 4] 7.00-8.00 sec 28.0 MBytes 235 Mbits/sec
[ 4] 8.00-9.00 sec 28.8 MBytes 241 Mbits/sec
[ 4] 9.00-10.00 sec 30.0 MBytes 252 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 292 MBytes 245 Mbits/sec sender
[ 4] 0.00-10.00 sec 292 MBytes 245 Mbits/sec receiver
iperf Done.
来自服务器的测试 2 结果
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 26.5 MBytes 222 Mbits/sec
[ 5] 1.00-2.00 sec 29.4 MBytes 247 Mbits/sec
[ 5] 2.00-3.00 sec 29.6 MBytes 248 Mbits/sec
[ 5] 3.00-4.00 sec 30.3 MBytes 254 Mbits/sec
[ 5] 4.00-5.00 sec 29.9 MBytes 251 Mbits/sec
[ 5] 5.00-6.00 sec 29.7 MBytes 249 Mbits/sec
[ 5] 6.00-7.00 sec 30.0 MBytes 252 Mbits/sec
[ 5] 7.00-8.00 sec 28.2 MBytes 236 Mbits/sec
[ 5] 8.00-9.00 sec 28.7 MBytes 241 Mbits/sec
[ 5] 9.00-10.00 sec 30.0 MBytes 252 Mbits/sec
[ 5] 10.00-10.02 sec 128 KBytes 51.2 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.02 sec 292 MBytes 245 Mbits/sec receiver
答案1
如果我理解正确的话,在其中一个桌面上,rsync、Windows 资源管理器或 robocopy.exe 报告的速度为 12Mbps。至少一个连接上有 37% 的数据包进入 bitbucket。我很惊讶它仍然能够超过半千兆位。这真是太了不起了。从传输速度慢的主机,ping -s 60000
在 Linux 或ping -t -l 60000
Windows 上运行带有非常大数据包的 ping。需要确定它是客户端上的以太网连接还是 NAS 上的以太网连接。还要查看交换机上的丢帧统计信息。速度慢的机器是通过 WiFi 连接的吗?
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-10.05 sec 682 MBytes 570 Mbits/sec 0.044 ms 50745/138072 (37%) receiver
您的数据中最低速度约为 222Mbps。该数据中哪里显示 12MegaBytesPerSecond / 96MegaBitsPerSecond?