解释iperf TCP双向测量

时间:2015-01-27 08:36:56

标签: networking benchmarking iperf

我用iperf测量了我在嵌入式系统上的wlan连接。
我在两个方向都有速度差异。 我不知道如何解释它,以及是否需要修复。

测试设置:

  1. 带USB wlan stick的嵌入式平台(192.168.1.3):

    • 通过WLAN连接到接入点
    • 运行iperf -s(服务器)
  2. Linux PC(192.168.1.2):

    • 通过ETH(电缆)连接到接入点
    • 正在运行iperf -c .... -d(客户端)
  3. 接入点

    • 仅用于此测量。没有其他流量
  4. 根据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
    

0 个答案:

没有答案