This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Linux
您好!
我将 R8.5与 Linux 内核3.14.49 (Arago 发行版、菊花链分支)搭配使用。
当运行 iperf for UDP 时、我获得了以下结果:
root@AM335x-EVM:~#./iperf -s -B 192.168.43.116 -i1 -u ------------------------------------------------------- 服务器侦听 UDP 端口5001 绑定到本地地址192.168.43.116 接收到1470字节数据报 UDP 缓冲区大小:160KB (默认值)------------------------------------------------------- [3]本地192.168.43.116端口5001连接192.168.43.106端口34898 [ID]间隔 传输 带宽 抖动丢失/总数据报 [3] 0.0- 1.0秒240 KBytes 1.96 Mbits/sec 9.571 ms 61/228 (27%) [3] 1.0- 2.0 sec 385 KBytes 3.15 Mbits/sec 12.732 ms 92/360 (26%) [3] 2.0-3.0 sec 441 KB3.61 Mbits/sec 6.740 ms 88/ 395 (22% - 3.0秒)[3.0 329 KB279ms 2.69 Mbits/sec 5.302 ms 90/319 (28%) [3] 4.0- 5.0 sec 290 KB 2.38 Mbits/sec 4.748 ms 40/242 (17%) [3] 5.0 - 6.0 sec 324 KB2.66 Mbits/sec 5.089 ms 31/257 (12%) [3] 6.0 - 7.0 KB357 2.93 Mbits/11.79 ms (11%) [3] 7.0- 8.0秒312 KB 2.55 MB /秒6.238 ms 49/266 (18%) [3] 8.0- 9.0 sec 435 KB 3.56 MB /秒2.171 MB 81 / 384 (21%) [3] 9.0-10.0 sec 326 KB2.67 MB /秒12.655 ms 82/秒(27%) 3.313 MB /秒(3]3.0-10.0–3KB 3.67 MB /秒 12.407 ms 127/345 (37%) [3] 11.0-12.0秒66.0 KBytes 541 kbits /秒28.808 ms 64/110 (58%) [3] 12.0-13.0秒385 KBytes 3.15 MBytes /秒7.921 ms 101/369 (27%) [3] 13.0-14.0秒336 KB2.75 Mbits/15.0 KB5.500 ms (314.0ms)[3]14.0/28.2ms 3.70兆比特/秒7.646 ms 83/398 (21%) [3] 15.0-16.0秒419 KB 3.43兆比特/秒4.475毫秒121/ 413 (29%) [3] 16.0-17.0秒287 KB 2.35兆 比特/秒7.237毫秒72/272 (26%)[3] 17.0-18.0秒4410/秒(3.63兆比特 /秒) 4.91443兆比特/秒 449 KB3.68 Mbits/sec 6.012 ms 107/420 (25%) [3] 19.0-20.0 sec 494 KBytes 4.05 Mbits/sec 4.706 ms 98/442 (22%) [3] 20.0-21.0 sec 409 KB3.35 Mbits/sec 6.731 ms 98/383 (26%) [3] 21.0-22.0 MB23.0 ms 3384KB/23362ms 2.5376ms (24%/275 KB/362ms) 22.0-23.0秒228 KB 1.87 MB /秒11.121毫秒54/213 (25%) [3] 23.0-24.0秒284 KB 2.33 MB /秒10.630毫秒87/ 285 (31%) [3] 24.0-25.0秒380 KB565 MM比特/秒8.661毫秒109/374 (29%) [3] 24.0-25.0毫秒3KB565M472比特/秒 [3] 26.0-27.0秒212 KB 1.74 Mbit/s 18.653 ms 78/226 (35%) [3] 27.0-28.0秒471 KB 3.86 Mbits/sec 2.890 ms 102/430 (24%) [3] 28.0-29.0秒356 KB9352KB9352.92 Mbits/sec 2.541 ms 104/352 (30%3.80 Mbits/30.04ms 440 (27%) [3] 30.0-31.0秒405 KB 3.32 Mbits/sec 9.191 ms 112/394 (28%) [3] 31.0~32.0秒320 KB 2.62 Mbits/sec 8.098 ms 130/353 (37%) [3] 32.0-33.0 sec 121 KB79 Kbits/13.742 34.0 Mbits/34.0 MB/34.0 ms (34.0 MB/34.0) 3140 KB79 Kbits/31.042%/31.0423.04 KB8340 KB/3242ms ms 83/320 (26%) [3] 34.0-35.0秒161 KB 1.32 Mbits/sec 16.915 ms 94/206 (46%) [3] 35.0-36.0秒240 KB 1.96 Mbits/sec 11.585 ms 97/264 (37%) [3] 36.0-37.0 sec 422 KB3.46 M69s/sec 38.0 KB386-324%/386-0452ms 30.04ms 3KB3.9238.0-386-386-3KB3.9%/3KB3.9238.0452ms 3KB3.9238.0453KB/3KB/3KB3.9238.0453KB3. Mbits/sec 2.055 ms 96/410 (23%) [3] 38.0-39.0 sec 541 KB 4.43 Mbits/sec 7.808 ms 96/473 (20%) [3] 39.0-40.0 sec 347 KB208 2.85 Mbits/9.060 ms 89/331 (27%) [3] 40.0-41.0 KB 306 30.09-40.0923ms 32.8 KB20.08232ms (11.20.0826ms ) 386ms) 389/秒381KB2ms KB 1.71 Mbits/sec 22.692 ms 86/231 (37%) [3] 42.0-43.0 sec 271 KB 2.22 Mbits/sec 5.460 ms 81/ 270 (30%) [3] 43.0-44.0 KB484 KB3.96 Mbits/sec 2.458 ms 104/441 (24%) [3] 44.0-41.039 M4.0秒31.039 KB4.0-45.0 ms (4.103%45.0 M430 5.0/秒) 4.103KB4.103KB4.00/ 4.103KB4.103KB4.00/ 4.103KB4.103ms 3.60位/4.103KB4.103KB4.103KB4.00ms SEC 981 KB3.59 Mbits/sec 9.469 ms 113/418 (27%)[3] 46.0-47.0 sec 112字节917 KBbits/sec 13.003 ms 58/136 (43%)[3] 47.0-48.0 sec 197 KB491.61 Mbits/sec 12.764 ms 75/212 (35%)[3] 43]49.0-492KB4.05 KB494ms (4.09 KB494ms)[381KB493KB493/秒(27.0/秒 3] 49.0-50.0秒403 KB 3.30 MB 每秒9.844 ms 80/361 (22%) [3] 50.0-51.0秒380 KB 3.12 MB 每秒10.214 ms 131/396 (33%) [3] 51.0-52.0秒271 KB KB2.22 MB 每秒1.826 ms 46/235 (20%) [3] 3.0-5334 MB 每秒13.0 MB 每秒 (29%) [3] 53.0-54.0秒237 KBytes 1.94 Mbits/sec 24.926 ms 89/254 (35%) [3] 54.0-55.0秒179 KBytes 1.47 Mbits/sec 11.242 ms 95/220 (43%) [3] 55.0-56.0秒50.2 KB412 KB2861 KB271ms 5.76 Mbits/5.76 MBs/5.68 ms 3[43%5670-50.01ms 72/ 288 (25%) [3] 57.0-58.0秒350 KBytes 2.87 Mbits/sec 7.494 ms 103/347 (30%) [3] 58.0-59.0 sec 393 KBytes 3.22 Mbits/sec 3.464 ms 97/371 (26%) [3] 59.0-60.0 sec 3KB366-53.00 Mbits/9.105 KB30.03ms 3KB360 Mbits/60.03KB3KB3KB360 360 3KB3bits 3.923825-3KB/13.835ms (1.90.03KB3KB3KB3KB3KB3KB3KB3KB/61.03KB3KB/3 17.006毫秒57/223 (26%) [3] 61.0-62.0秒316千字节2.59兆位/秒5.990毫秒91/311 (29%) [3] 62.0-63.0秒360千字节2.95兆位/秒8.404毫秒97/348 (28%) [3] 63.0-64.0秒469千字节3.85兆位/6474秒(6.23千兆位/秒 3.88 Mbits/sec 6.333 ms 113/443 (26%) [3] 65.0-66.0 sec 438 KB 3.59 Mbits/sec 6.352 ms 102/407 (25%) [3] 66.0-67.0 sec 336 KB2.75 Mbits/sec 7.263 ms 68/302 (23%) [3] 67.0-6451 Mbits/68.0 ms 3KB8.0-6282ms 3KB802ms/ 3.8.0 KB8.023ms 3KB802ms 3.282ms/ 4.282ms 3.8.0 KB802ms 3.282ms 3.282ms 3.282ms/ 4.282ms 3.8.0 KB802ms 3.282ms 3. 210 KB1.72 Mbits/sec 13.994 ms 66/212 (31%) [3] 69.0-70.0 sec 177 字节1.45 Mbits/sec 11.703 ms 76/199 (38%)[3] 70.0-71.0 KB346 KB305 2.83 Mbits/sec 4.305 KB 74/315 (23%)[3] 71.00-72.0 MB3s (1.165 MB/3KB9.33 ms) 72.0-73.0秒0.00字节0.00位/秒9.305毫秒0 / 0 (nan%) [3] 73.0-74.0秒0.00字节0.00位/秒9.305毫秒0 / 0 (nan%) [3] 74.0-75.0秒0.00字节0.00位/秒9.305毫秒0 / 0 (nan%) [3] 75.0-76.0毫秒0 (nan% 0字节) [3] 76.0-77.0秒109 KBytes 894 KB/秒30.619 ms 244/320 (76%) [3] 77.0-78.0秒123 KBytes 1.01 Mbit/s 16.512 ms 49/135 (36%)
您可以看到、不能接受具有此类性能。
然后、我使用 configure-device.sh 创建了一个新的 wl18xx-conf.bin、这使我在下降百分比更小的情况下获得了稍好的结果、但吞吐量仍然很差
root@AM335x-EVM:~#./iperf -s -B 192.168.43.60 -i1 -u
----------------------------------------
服务器侦听 UDP 端口5001
绑定到本地地址192.168.43.60
接收1470字节数据报
UDP 缓冲区大小: 160KB (默认值)
----------------------------------------
[3] 本地192.168.43.60端口5001与192.168.43.106端口41150相连
[ ID]间隔 传输 带宽 抖动 丢失/总数据报丢失
[3] 0.0- 1.0秒 558 KBytes 4.57 Mbit/s 4.128 ms 62/451 (14%)
[3] 1.0-2.0秒 741 KB 6.07 Mbits/sec 1.903 ms 1/517 (0.19%)
[3] 2.0- 3.0秒 790 KB 6.47 MB /秒 6.843 ms 29/579 (5%)
[3] 3.0-4.0秒 709 KB 5.81 MB /秒 2.396 ms 30/524 (5.7%)
[3] 4.0- 5.0秒 670 KBytes 5.49 Mbits/sec 8.502 ms 1/ 468 (0.21%)
[3] 5.0-6.0秒 234 KB 1.92 Mbits/sec 14.306 ms 17/180 (9.4%)
[3] 6.0- 7.0秒 266 KB 2.18 MB /秒 5.010 ms 115/ 300 (38%)
[3] 7.0-8.0秒 823 KBytes 6.74 Mbits/sec 2.370 ms 7/580 (1.2%)
[3] 8.0 - 9.0秒 702 KBytes 5.75 Mbit/s 2.693 ms 86/575 (15%)
[3] 9.0-10.0秒 508 KBytes 4.16 Mbit/s 1.899 ms 21/375 (5.6%)
[3] 10.0-11.0秒 998 KB 8.17 MB /秒 4.560 ms 7/702 (1%)
[3] 11.0-12.0秒 847 KB 6.94 Mbits/sec 2.694 ms 13/603 (2.2%)
[3] 12.0-13.0秒 749 KBytes 6.14 Mbits/sec 3.330 ms 0/522 (0%)
[3] 13.0-14.0秒 564 KB 4.62 Mbit/s 5.645 ms 102/495 (21%)
[3] 14.0-15.0秒 633 KB 5.19 MB /秒 4.703 ms 24/465 (5.2%)
[3] 15.0-16.0秒 411 KBytes 3.36 Mbit/s 4.620 ms 12/298 (4%)
[3] 16.0-17.0秒 639 KB 5.23 MB /秒 8.564 ms 25/470 (5.3%)
[3] 17.0-18.0秒 744 KBytes 6.09 Mbit/s 2.743 ms 6/524 (1.1%)
[3] 18.0-19.0秒 751 KB 6.15 MB /秒 6.549 ms 19/542 (3.5%)
[3] 19.0-20.0秒 906 KBytes 7.42 Mbit/s 1.861 ms 9/640 (1.4%)
[3] 20.0-21.0秒 600 KBytes 4.92 Mbit/s 3.141 ms 6/424 (1.4%)
[3] 21.0-22.0秒 435 KB 3.56 MB /秒 6.062 ms 17/320 (5.3%)
[3] 22.0-23.0秒 156 KBytes 1.28 Mbit/s 16.319 ms 17/126 (13%)
[3] 23.0-24.0秒 349 KB 2.86 MB /秒 6.070 ms 13/256 (5.1%)
[3] 24.0-25.0秒 531 KBytes 4.35 Mbits/sec 2.566ms 6/376 (1.6%)
[3] 25.0-26.0秒 709 KB 5.81 MB /秒 5.718 ms 0/494 (0%)
[3] 26.0-27.0秒 294 KB 2.41 MB /秒 3.705 ms 0/205 (0%)
[3] 27.0-28.0秒 0.00字节 0.00位/秒 3.705ms 0/0 (nan%)
[3] 28.0-29.0秒 0.00字节 0.00位/秒 3.705ms 0/0 (nan%)
[3] 29.0-30.0秒 0.00字节 0.00位/秒 3.705ms 0/0 (nan%)
[3] 30.0-31.0秒 0.00字节 0.00位/秒 3.705ms 0/0 (nan%)
[3] 31.0-32.0秒 247 KB 2.02 MB /秒 5.157 ms 76/248 (31%)
[3] 32.0-33.0秒 247 KB 2.02 MB /秒 6.134 ms 18/190 (9.5%)
附件是./wlconf -i /lib/firmware/ti-connectivity/wl18xx-conf.bin -g 的结果
e2e.ti.com/.../4454.wl18xx_2D00_conf.txt
我们有单个2.4GHz 板载天线。
我的问题是如何提高 WiFi 性能?
请勿建议更新 R8.6、因为我无法更新、原因有多种。 我很确定 R8.5不是那么糟糕、许多用户仍在使用它。
此致
Ankur
要添加更多信息、如果我使用模块的热点功能、那么我将获得更好的结果:
root@AM335x-EVM:~#./iperf -s -B 10.2.1.1 -i1 -u
----------------------------------------
服务器侦听 UDP 端口5001
绑定到本地地址10.2.1.1
接收1470字节数据报
UDP 缓冲区大小: 160KB (默认值)
----------------------------------------
[3] 本地10.2.1.1端口5001与10.2.1.2端口47504连接
[ ID]间隔 传输 带宽 抖动 丢失/总数据报丢失
[3] 0.0 - 1.0秒 2.20 MB 18.4 MB 比特/秒 1.407 ms 0 / 1567 (0%)
[3] 1.0- 2.0秒 2.19 MB 18.4 Mbit/s 0.746 ms 0/1561 (0%)
[3] 2.0-3.0秒 2.23 MB 18.7 MB 每秒 0.707 ms 0/1590 (0%)
[3] 3.0-4.0秒 2.49 MB 20.9兆比特/秒 1.763 ms 0/1776 (0%)
[3] 4.0- 5.0秒 1.36 MB 11.4 Mbits/sec 2.048 ms 0/968 (0%)
[3] 5.0-6.0秒 1.10 MB 9.23 MB /秒 0.684 ms 0/785 (0%)
[3] 6.0- 7.0秒 1.41 MB 11.8兆位/秒 0.760 ms 0/1005 (0%)
[3] 7.0-8.0秒 1.06 MB 8.93 MB /秒 1.251 ms 0/759 (0%)
[3] 8.0- 9.0秒 1.22 MB 10.3 Mbit/s 6.870 ms 0/872 (0%)
[3] 9.0-10.0秒 1.70 MB 14.2 Mbit/s 0.895 ms 0/1210 (0%)
[3] 10.0-11.0秒 2.31 MB 19.4 MB 每秒 1.413 ms 0/1648 (0%)
[3] 11.0-12.0秒 2.36 MB 19.8兆位/秒 0.723 ms 0/1680 (0%)
[3] 12.0-13.0秒 2.42 MB 20.3 MB 每秒 0.588 ms 0/1725 (0%)
[3] 13.0-14.0秒 2.53 MB 21.2 Mbit/s 0.608 ms 0/1802 (0%)
[3] 14.0-15.0秒 2.36 MB 19.8兆比特/秒 2.057毫秒 0/1680 (0%)
[3] 15.0-16.0秒 2.38 MB 19.9 MB 每秒 0.844 ms 0/1696 (0%)
[3] 16.0-17.0秒 2.62 MB 22.0 Mbit/s 0.753 ms 0/1870 (0%)
[3] 17.0-18.0秒 2.41 MB 20.2 Mbit/s 1.089 ms 0/1717 (0%)
[3] 18.0-19.0秒 2.04 MB 17.1 Mbit/s 0.642 ms 0/1458 (0%)
[3] 19.0-20.0秒 2.41 MB 20.2 MB 每秒 1.007 ms 0/1719 (0%)
[3] 20.0-21.0秒 2.43 MB 20.4兆位/秒 0.610 ms 0/1736 (0%)
[3] 21.0-22.0秒 2.33 MB 19.5 Mbit/s 1.112 ms 0/1660 (0%)
[3] 22.0-23.0秒 2.06 MB 17.3 MB 每秒 3.250 ms 0/1468 (0%)
[3] 23.0-24.0秒 2.59 MB 21.7 MB 每秒 0.966 ms 0/1846 (0%)
[3] 24.0-25.0秒 2.58 MB 21.6 MB 每秒 1.071 ms 0/1840 (0%)
[3] 0.0-25.9秒 54.9 MB 17.8兆位/秒 2.778 ms 0/39174 (0%)
[3] 0.0-25.9秒 收到的1个数据报顺序不一致
尊敬的 Saurabh:
我在露天环境中进行这些测试、我知道多个因素会影响性能。
但我已经确保使用 WiFi 分析仪、露天环境不会有如此糟糕的结果。 它更接近正常的家庭/办公室环境、而范围内的 AP 极少。
我在运行在800MHz 的基于 AM3354的产品上使用 Linux 内核3.14.49运行 iperf 服务器
我没有对产品进行任何射频表征、您能告诉我该怎么做以及如何做吗? 我将分享结果
谢谢
Ankur
尊敬的 Saurabh:
您在 wl18xx-conf.bin 转储中发现了什么问题吗?
此致
Ankur
您好、Ankur、
由于您使用的是非常旧的 WiLink8驱动程序版本,因此 wlconf 转储可能会有所不同。 我注意到迹线丢失和其它值(从 INI 中选取)不同。 我假设您使用的是 TI 模块和匹配的 INI -正确吗? 我知道您不想更新到最新的驱动程序,但强烈推荐。 无论您需要确保电路板上的射频正常,您都可以参考以下 PLT 测试以检查无线电是否按预期工作: http://processors.wiki.ti.com/index.php/WL18xx_TX_Testing