6、带宽测试
利用iperf工具测试带宽:
PC端执行:
iperf -s -i 1 //以server模式启动,1s打印一次
开发板端执行:
iperf -c 192.168.101(电脑的ip地址) -i 1 -w 2M -t 120
测试结果如下:
------------------------------------------------------------
Client connecting to 192.168.0.100, TCP port 5001
TCP window size: 416 KByte (WARNING: requested 2.00 MByte)
------------------------------------------------------------
[ 3] local 192.168.0.101 port 59990 connected with 192.168.0.100 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 1.0- 2.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 2.0- 3.0 sec 14.6 MBytes 123 Mbits/sec
[ 3] 3.0- 4.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 4.0- 5.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 5.0- 6.0 sec 14.2 MBytes 120 Mbits/sec
[ 3] 6.0- 7.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 7.0- 8.0 sec 15.8 MBytes 132 Mbits/sec
[ 3] 8.0- 9.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 9.0-10.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 10.0-11.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 11.0-12.0 sec 15.0 MBytes 126 Mbits/sec
[ 3] 12.0-13.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 13.0-14.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 14.0-15.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 15.0-16.0 sec 15.2 MBytes 128 Mbits/sec
[ 3] 16.0-17.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 17.0-18.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 18.0-19.0 sec 16.1 MBytes 135 Mbits/sec
[ 3] 19.0-20.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 20.0-21.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 21.0-22.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 22.0-23.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 23.0-24.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 24.0-25.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 25.0-26.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 26.0-27.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 27.0-28.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 28.0-29.0 sec 16.1 MBytes 135 Mbits/sec
[ 3] 29.0-30.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 30.0-31.0 sec 15.0 MBytes 126 Mbits/sec
[ 3] 31.0-32.0 sec 15.8 MBytes 132 Mbits/sec
[ 3] 32.0-33.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 33.0-34.0 sec 15.2 MBytes 128 Mbits/sec
[ 3] 34.0-35.0 sec 14.6 MBytes 123 Mbits/sec
[ 3] 35.0-36.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 36.0-37.0 sec 16.8 MBytes 141 Mbits/sec
[ 3] 37.0-38.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 38.0-39.0 sec 14.2 MBytes 120 Mbits/sec
[ 3] 39.0-40.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 40.0-41.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 41.0-42.0 sec 14.1 MBytes 118 Mbits/sec
[ 3] 42.0-43.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 43.0-44.0 sec 13.6 MBytes 114 Mbits/sec
[ 3] 44.0-45.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 45.0-46.0 sec 16.4 MBytes 137 Mbits/sec
[ 3] 46.0-47.0 sec 17.1 MBytes 144 Mbits/sec
[ 3] 47.0-48.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 48.0-49.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 49.0-50.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 50.0-51.0 sec 14.1 MBytes 118 Mbits/sec
[ 3] 51.0-52.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 52.0-53.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 53.0-54.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 54.0-55.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 55.0-56.0 sec 16.9 MBytes 142 Mbits/sec
[ 3] 56.0-57.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 57.0-58.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 58.0-59.0 sec 12.1 MBytes 102 Mbits/sec
[ 3] 59.0-60.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 60.0-61.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 61.0-62.0 sec 13.4 MBytes 112 Mbits/sec
[ 3] 62.0-63.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 63.0-64.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 64.0-65.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 65.0-66.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 66.0-67.0 sec 16.5 MBytes 138 Mbits/sec
[ 3] 67.0-68.0 sec 16.1 MBytes 135 Mbits/sec
[ 3] 68.0-69.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 69.0-70.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 70.0-71.0 sec 16.4 MBytes 137 Mbits/sec
[ 3] 71.0-72.0 sec 16.4 MBytes 137 Mbits/sec
[ 3] 72.0-73.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 73.0-74.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 74.0-75.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 75.0-76.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 76.0-77.0 sec 16.6 MBytes 139 Mbits/sec
[ 3] 77.0-78.0 sec 14.4 MBytes 121 Mbits/sec
[ 3] 78.0-79.0 sec 11.8 MBytes 98.6 Mbits/sec
[ 3] 79.0-80.0 sec 13.2 MBytes 111 Mbits/sec
[ 3] 80.0-81.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 81.0-82.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 82.0-83.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 83.0-84.0 sec 10.9 MBytes 91.2 Mbits/sec
[ 3] 84.0-85.0 sec 10.1 MBytes 84.9 Mbits/sec
[ 3] 85.0-86.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 86.0-87.0 sec 12.6 MBytes 106 Mbits/sec
[ 3] 87.0-88.0 sec 14.6 MBytes 123 Mbits/sec
[ 3] 88.0-89.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 89.0-90.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 90.0-91.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 91.0-92.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 92.0-93.0 sec 13.4 MBytes 112 Mbits/sec
[ 3] 93.0-94.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 94.0-95.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 95.0-96.0 sec 13.6 MBytes 114 Mbits/sec
[ 3] 96.0-97.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 97.0-98.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 98.0-99.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 99.0-100.0 sec 11.8 MBytes 98.6 Mbits/sec
[ 3] 100.0-101.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 101.0-102.0 sec 12.2 MBytes 103 Mbits/sec
[ 3] 102.0-103.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 103.0-104.0 sec 12.1 MBytes 102 Mbits/sec
[ 3] 104.0-105.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 105.0-106.0 sec 12.1 MBytes 102 Mbits/sec
[ 3] 106.0-107.0 sec 12.6 MBytes 106 Mbits/sec
[ 3] 107.0-108.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 108.0-109.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 109.0-110.0 sec 12.4 MBytes 104 Mbits/sec
[ 3] 110.0-111.0 sec 11.9 MBytes 99.6 Mbits/sec
[ 3] 111.0-112.0 sec 11.5 MBytes 96.5 Mbits/sec
[ 3] 112.0-113.0 sec 10.9 MBytes 91.2 Mbits/sec
[ 3] 113.0-114.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 114.0-115.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 115.0-116.0 sec 10.9 MBytes 91.2 Mbits/sec
[ 3] 116.0-117.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 117.0-118.0 sec 11.5 MBytes 96.5 Mbits/sec
[ 3] 118.0-119.0 sec 11.8 MBytes 98.6 Mbits/sec
[ 3] 119.0-120.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 0.0-120.0 sec 1.67 GBytes 120 Mbits/sec
从测试结果来看,带宽平均在120Mbits/sec左右。
6、带宽测试
利用iperf工具测试带宽:
PC端执行:
iperf -s -i 1 //以server模式启动,1s打印一次
开发板端执行:
iperf -c 192.168.101(电脑的ip地址) -i 1 -w 2M -t 120
测试结果如下:
------------------------------------------------------------
Client connecting to 192.168.0.100, TCP port 5001
TCP window size: 416 KByte (WARNING: requested 2.00 MByte)
------------------------------------------------------------
[ 3] local 192.168.0.101 port 59990 connected with 192.168.0.100 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 1.0- 2.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 2.0- 3.0 sec 14.6 MBytes 123 Mbits/sec
[ 3] 3.0- 4.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 4.0- 5.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 5.0- 6.0 sec 14.2 MBytes 120 Mbits/sec
[ 3] 6.0- 7.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 7.0- 8.0 sec 15.8 MBytes 132 Mbits/sec
[ 3] 8.0- 9.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 9.0-10.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 10.0-11.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 11.0-12.0 sec 15.0 MBytes 126 Mbits/sec
[ 3] 12.0-13.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 13.0-14.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 14.0-15.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 15.0-16.0 sec 15.2 MBytes 128 Mbits/sec
[ 3] 16.0-17.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 17.0-18.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 18.0-19.0 sec 16.1 MBytes 135 Mbits/sec
[ 3] 19.0-20.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 20.0-21.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 21.0-22.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 22.0-23.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 23.0-24.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 24.0-25.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 25.0-26.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 26.0-27.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 27.0-28.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 28.0-29.0 sec 16.1 MBytes 135 Mbits/sec
[ 3] 29.0-30.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 30.0-31.0 sec 15.0 MBytes 126 Mbits/sec
[ 3] 31.0-32.0 sec 15.8 MBytes 132 Mbits/sec
[ 3] 32.0-33.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 33.0-34.0 sec 15.2 MBytes 128 Mbits/sec
[ 3] 34.0-35.0 sec 14.6 MBytes 123 Mbits/sec
[ 3] 35.0-36.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 36.0-37.0 sec 16.8 MBytes 141 Mbits/sec
[ 3] 37.0-38.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 38.0-39.0 sec 14.2 MBytes 120 Mbits/sec
[ 3] 39.0-40.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 40.0-41.0 sec 15.9 MBytes 133 Mbits/sec
[ 3] 41.0-42.0 sec 14.1 MBytes 118 Mbits/sec
[ 3] 42.0-43.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 43.0-44.0 sec 13.6 MBytes 114 Mbits/sec
[ 3] 44.0-45.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 45.0-46.0 sec 16.4 MBytes 137 Mbits/sec
[ 3] 46.0-47.0 sec 17.1 MBytes 144 Mbits/sec
[ 3] 47.0-48.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 48.0-49.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 49.0-50.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 50.0-51.0 sec 14.1 MBytes 118 Mbits/sec
[ 3] 51.0-52.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 52.0-53.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 53.0-54.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 54.0-55.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 55.0-56.0 sec 16.9 MBytes 142 Mbits/sec
[ 3] 56.0-57.0 sec 15.1 MBytes 127 Mbits/sec
[ 3] 57.0-58.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 58.0-59.0 sec 12.1 MBytes 102 Mbits/sec
[ 3] 59.0-60.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 60.0-61.0 sec 11.2 MBytes 94.4 Mbits/sec
[ 3] 61.0-62.0 sec 13.4 MBytes 112 Mbits/sec
[ 3] 62.0-63.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 63.0-64.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 64.0-65.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 65.0-66.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 66.0-67.0 sec 16.5 MBytes 138 Mbits/sec
[ 3] 67.0-68.0 sec 16.1 MBytes 135 Mbits/sec
[ 3] 68.0-69.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 69.0-70.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 70.0-71.0 sec 16.4 MBytes 137 Mbits/sec
[ 3] 71.0-72.0 sec 16.4 MBytes 137 Mbits/sec
[ 3] 72.0-73.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 73.0-74.0 sec 14.5 MBytes 122 Mbits/sec
[ 3] 74.0-75.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 75.0-76.0 sec 16.2 MBytes 136 Mbits/sec
[ 3] 76.0-77.0 sec 16.6 MBytes 139 Mbits/sec
[ 3] 77.0-78.0 sec 14.4 MBytes 121 Mbits/sec
[ 3] 78.0-79.0 sec 11.8 MBytes 98.6 Mbits/sec
[ 3] 79.0-80.0 sec 13.2 MBytes 111 Mbits/sec
[ 3] 80.0-81.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 81.0-82.0 sec 16.0 MBytes 134 Mbits/sec
[ 3] 82.0-83.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 83.0-84.0 sec 10.9 MBytes 91.2 Mbits/sec
[ 3] 84.0-85.0 sec 10.1 MBytes 84.9 Mbits/sec
[ 3] 85.0-86.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 86.0-87.0 sec 12.6 MBytes 106 Mbits/sec
[ 3] 87.0-88.0 sec 14.6 MBytes 123 Mbits/sec
[ 3] 88.0-89.0 sec 15.6 MBytes 131 Mbits/sec
[ 3] 89.0-90.0 sec 15.4 MBytes 129 Mbits/sec
[ 3] 90.0-91.0 sec 14.9 MBytes 125 Mbits/sec
[ 3] 91.0-92.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 92.0-93.0 sec 13.4 MBytes 112 Mbits/sec
[ 3] 93.0-94.0 sec 14.8 MBytes 124 Mbits/sec
[ 3] 94.0-95.0 sec 15.5 MBytes 130 Mbits/sec
[ 3] 95.0-96.0 sec 13.6 MBytes 114 Mbits/sec
[ 3] 96.0-97.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 97.0-98.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 98.0-99.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 99.0-100.0 sec 11.8 MBytes 98.6 Mbits/sec
[ 3] 100.0-101.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 101.0-102.0 sec 12.2 MBytes 103 Mbits/sec
[ 3] 102.0-103.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 103.0-104.0 sec 12.1 MBytes 102 Mbits/sec
[ 3] 104.0-105.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 105.0-106.0 sec 12.1 MBytes 102 Mbits/sec
[ 3] 106.0-107.0 sec 12.6 MBytes 106 Mbits/sec
[ 3] 107.0-108.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 108.0-109.0 sec 11.4 MBytes 95.4 Mbits/sec
[ 3] 109.0-110.0 sec 12.4 MBytes 104 Mbits/sec
[ 3] 110.0-111.0 sec 11.9 MBytes 99.6 Mbits/sec
[ 3] 111.0-112.0 sec 11.5 MBytes 96.5 Mbits/sec
[ 3] 112.0-113.0 sec 10.9 MBytes 91.2 Mbits/sec
[ 3] 113.0-114.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 114.0-115.0 sec 11.1 MBytes 93.3 Mbits/sec
[ 3] 115.0-116.0 sec 10.9 MBytes 91.2 Mbits/sec
[ 3] 116.0-117.0 sec 11.6 MBytes 97.5 Mbits/sec
[ 3] 117.0-118.0 sec 11.5 MBytes 96.5 Mbits/sec
[ 3] 118.0-119.0 sec 11.8 MBytes 98.6 Mbits/sec
[ 3] 119.0-120.0 sec 12.0 MBytes 101 Mbits/sec
[ 3] 0.0-120.0 sec 1.67 GBytes 120 Mbits/sec
从测试结果来看,带宽平均在120Mbits/sec左右。
举报