我已经用 iperf 测量了我在嵌入式系统上的 wlan 连接。
我得到两个方向的速度差异。我不知道我该如何解释它,以及它是否需要修复。
测试设置:
带有 USB WLAN 记忆棒的嵌入式平台 (192.168.1.3):
- 通过 WLAN 连接到接入点
- 运行 iperf -s(服务器)
Linux PC (192.168.1.2):
- 通过 ETH(电缆)连接到接入点
- 运行 iperf -c .... -d (客户端)
切入点
- 仅用于此测量。没有其他流量
根据<a href="https://serverfault.com/questions/566737/iperf-csv-output-format">https://serverfault.com/questions/566737/iperf-csv-output-format 我解释结果如下:
[4] 客户端-服务器 8.13 Mbits/sec
[5] 服务器-客户端 39.8 Mbits/sec
为什么我会得到这个 5 倍的速度差异?
Tue Jan 27 09:11:58 CET 2015
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.3, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.2 port 36557 connected with 192.168.1.3 port 5001
[ 5] local 192.168.1.2 port 5001 connected with 192.168.1.3 port 33851
[ 4] 0.0-10.1 sec 9.80 MBytes 8.13 Mbits/sec
[ 5] 0.0-10.3 sec 48.9 MBytes 39.8 Mbits/sec