标题:
交叉编译iperf测试arm开发板上wifi模块的网络流量速度(3)
[打印本页]
作者:
yuyang911220
时间:
2015-2-27 08:37
标题:
交叉编译iperf测试arm开发板上wifi模块的网络流量速度(3)
从这里来看指定-i参数似乎影响到实际速度,所以可以将其去掉:
/ # ./iperf -c 192.168.2.65 -t 10
------------------------------------------------------------
Client connecting to 192.168.2.65, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.101 port 51692 connected with 192.168.2.65 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 16.5 MBytes 13.8 Mbits/sec
/ # ./iperf -c 192.168.2.65 -t 60
------------------------------------------------------------
Client connecting to 192.168.2.65, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.101 port 51693 connected with 192.168.2.65 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-60.0 sec 71.4 MBytes 9.98 Mbits/sec
/ # ./iperf -c 192.168.2.65 -t 60
------------------------------------------------------------
Client connecting to 192.168.2.65, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.2.101 port 40898 connected with 192.168.2.65 port 500
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-60.0 sec 100 MBytes 14.0 Mbits/sec
在pc端经过60s之后,打印最终log如下:
luther@gliethttp:~$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.2.65 port 5001 connected with 192.168.2.101 port 51692
[ 4] 0.0-10.1 sec 16.5 MBytes 13.8 Mbits/sec
[ 5] local 192.168.2.65 port 5001 connected with 192.168.2.101 port 51693
[ 5] 0.0-60.1 sec 71.4 MBytes 9.97 Mbits/sec
[ 4] local 192.168.2.65 port 5001 connected with 192.168.2.101 port 51694
[ 4] 0.0-10.0 sec 16.2 MBytes 13.6 Mbits/sec
[ 5] local 192.168.2.65 port 5001 connected with 192.168.2.101 port 40898
[ 5] 0.0-60.1 sec 100 MBytes 14.0 Mbits/sec
[ 5] local 192.168.2.65 port 5001 connected with 192.168.2.101 port 34409
[ 5] 0.0-60.1 sec 102 MBytes 14.2 Mbits/sec
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/)
Powered by Discuz! 7.0.0