从我的家庭服务器(运行 Ubuntu 12.04 服务器)到我局域网上的任何其他 PC(都运行 Windows 7)的文件传输速度非常慢,但在另一个方向(上传到服务器)的文件传输速度很快。
我在 Samba 和 SFTP 传输中都观察到了这一点,因此决定使用 iperf 进行验证,并得到相同的结果。服务器上的输出如下所示:
iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.95 port 5001 connected with 192.168.1.82 port 1309
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 416 MBytes 349 Mbits/sec
------------------------------------------------------------
Client connecting to 192.168.1.82, TCP port 5001
TCP window size: 46.1 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.95 port 59704 connected with 192.168.1.82 port 5001 …Run Code Online (Sandbox Code Playgroud)