当我发现我的整个网络速度下降时,我正在诊断我的SMB性能问题。这些是我的台式机和Linux服务器之间的基准测试结果:
两者均使用CAT6连接,并具有千兆网络。
~$ iperf -c 192.168.2.10 -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.2.10, TCP port 5001
TCP window size: 110 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.2.2 port 54320 connected with 192.168.2.10 port 5001
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 114 MBytes 95.2 Mbits/sec
[ 4] local 192.168.2.2 port 5001 connected with 192.168.2.10 port 49719
[ 4] 0.0-10.0 sec 532 MBytes 446 Mbits/sec
因此,从我的桌面到服务器,这是446 Mb / s,从我的服务器到我的桌面,这不超过95 Mb / s,这两个值都应该(接近)1000 Mb / s。
我还记得当我仍在运行Windows 7时,双向获得> 900 Mb / s的速度。
我已经尝试过各种方法,例如关闭NIC驱动程序中的不同卸载功能,从Realtek手动下载最新的NIC驱动程序以及使用禁用自动调整netsh interface tcp set global autotuning=disabled
。
编辑:
我在交换机之间使用iperf进行了一些广泛的测试,并以Linux服务器(LARS-ILLIUM)和台式机(LARS-VIGIL)之间的方式进行了测试。LARS-FEROS和LARS-RANNOCH都是交换机,其连接如下:
LARS-ILLIUM <---> LARS-FEROS <---> LARS-RANNOCH <---> LARS-VIGIL
当然,还有其他设备连接到交换机,但这是LARS-ILLIUM和LARS-VIGIL之间的路径。
我制作了iperf结果表:http : //prntscr.com/39r0eh我猜该表是不言自明的,但是前三行是从左到右的测试结果,而后三行则是相反的结果。所有测试均为UDP btw。完整的命令:iperf -c 192.168.2.x -u -b 1000M
现在我知道问题不仅限于我的台式机LARS-VIGIL,而且在我的局域网的其余部分也同样发生。仍然没有任何线索可是正在发生什么...
我想到了。iperf结果奇怪的原因是,我测试过的每个系统都有不同的默认TCP窗口和UDP缓冲区大小。使用-w选项手动设置这些参数后,我得到一致的结果:
C:\Users\Lars Veldscholte\Downloads\iperf>iperf -c 192.168.2.2 -w 416k -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 416 KByte
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.2.2, TCP port 5001
TCP window size: 416 KByte
------------------------------------------------------------
[ 4] local 192.168.2.10 port 55803 connected with 192.168.2.2 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 1003 MBytes 841 Mbits/sec
[ 4] local 192.168.2.10 port 5001 connected with 192.168.2.2 port 45938
[ 4] 0.0-10.0 sec 863 MBytes 724 Mbits/sec
至少在我的服务器(LARS-ILLIUM)和台式机(LARS-VIGIL)之间。在这两者之间的开关上进行测试仍然会产生奇怪的结果:
C:\Users\Lars Veldscholte\Downloads\iperf>iperf -c 192.168.2.1 -w 320k -r
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 320 KByte
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.2.1, TCP port 5001
TCP window size: 320 KByte
------------------------------------------------------------
[ 4] local 192.168.2.10 port 55833 connected with 192.168.2.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.3 sec 9.12 MBytes 7.43 Mbits/sec
[ 4] local 192.168.2.10 port 5001 connected with 192.168.2.1 port 55335
[ 4] 0.0-10.4 sec 5.00 MBytes 4.01 Mbits/sec
我不知道那是怎么回事。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句