工具和方法:iperf
Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能,交叉编译后在机器运行即可得到带宽数据。
测试数据:
WiFi 分别测试10次带宽如下:
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 16.3 MBytes 13.7 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.1 sec 17.7 MBytes 14.7 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.1 sec 19.5 MBytes 16.2 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 19.1 MBytes 16.0 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 17.6 MBytes 14.7 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 19.7 MBytes 16.5 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 9.82 MBytes 8.23 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.2 sec 20.1 MBytes 16.5 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 18.4 MBytes 15.4 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 17.4 MBytes 14.5 Mbits/sec
平均带宽为 14.643Mbits/sec
无线 移动卡分别测试10次带宽如下:
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.1 sec 5.89 MBytes 4.90 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.2 sec 6.59 MBytes 5.42 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.2 sec 7.51 MBytes 6.17 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.2 sec 7.45 MBytes 6.15 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.2 sec 8.15 MBytes 6.71 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.4 sec 7.38 MBytes 5.97 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.2 sec 7.37 MBytes 6.07 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.0 sec 7.64 MBytes 6.41 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.0-10.5 sec 7.72 MBytes 6.17 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.2 sec 7.90 MBytes 6.50 Mbits/sec
平均带宽为 6.047Mbits/sec