使用iperf测量mesh节点吞吐量问题
使用iperf测量mesh节点吞吐量问题
我把esp-mesh-lite的no-route例程和iperf例程合在一起,想测试两个mesh节点间tcp通信的吞吐量,实际过程中一开始流量正常,数秒后客户端发数据这边monitor卡死没有任何输出,只能手动ctrl+]退出,服务端收数据这边吞吐量归零,正常走完iperf测试时间(我设定的15s)后出现W (897098) iperf: tcp server recv error, error code: 11, reason: No more processes。 客户端那里因为卡死了没输出我也看不了错误原因,我直接使用iperf例程用wifi连接的时候测吞吐量没问题,请问是什么原因呢?用的是esp32-devkitc,esp-idf-v5.2.2
Re: 使用iperf测量mesh节点吞吐量问题
补充下:设置-b 1或-b 2时运行得很平稳,-b 4及以上出现上面说的情况。我想用串口传数据然后用tcp发出去的时候,用460800的波特率没问题,用921600及以上的波特率会出现收不到或者收到但乱码打不开的情况,不知道是不是因为前面测的tcp带宽限制的原因?mesh组网的话吞吐量是只能到2Mb/s吗
Re: 使用iperf测量mesh节点吞吐量问题
更正:不只是mesh上,直接运行iperf例程也有类似问题,有时是卡死,有时是重启,不过都发生在AP这边,重启时错误信息如下:
[Codebox]Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40121df0 PS : 0x00060f30 A0 : 0x80097b00 A1 : 0x3ffc02d0
0x40121df0: RC_GetBlockAckTime at ??:?
A2 : 0x810041d6 A3 : 0x81004136 A4 : 0x3ffb5040 A5 : 0x400996e2
0x400996e2: lmacProcessTxComplete at ??:?
A6 : 0x00000001 A7 : 0x3ffb2664 A8 : 0x3ffc0500 A9 : 0x3ffc04d0
A10 : 0x3ffb2698 A11 : 0x00000001 A12 : 0x3ffb5088 A13 : 0x3ffb5040
A14 : 0x00000010 A15 : 0x00000000 SAR : 0x00000016 EXCCAUSE: 0x0000001c
EXCVADDR: 0x810041dc LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
0x4000c2e0: memcpy in ROM
0x4000c2f6: memcpy in ROM
Backtrace: 0x40121ded:0x3ffc02d0 0x40097afd:0x3ffc02f0 0x40099eb7:0x3ffc0310 0x40097fcd:0x3ffc0330 0x40098069:0x3ffc03b0 0x40098508:0x3ffc03d0 0x4009727e:0x3ffc0490 0x400995c9:0x3ffc04d0 0x400996e7:0x3ffc0500 0x40098663:0x3ffc0540
0x40121ded: RC_GetBlockAckTime at ??:?
0x40097afd: ppCalFrameTimes at ??:?
0x40099eb7: ppAssembleAMPDU at ??:?
0x40097fcd: ppCalTxAMPDULength at ??:?
0x40098069: ppProcessTxQ at ??:?
0x40098508: ppResortTxAMPDU at ??:?
0x4009727e: lmacEndFrameExchangeSequence at ??:?
0x400995c9: lmacProcessTxSuccess at ??:?
0x400996e7: lmacProcessTxComplete at ??:?
0x40098663: ppTask at ??:?[/Codebox]
[Codebox]Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40121df0 PS : 0x00060f30 A0 : 0x80097b00 A1 : 0x3ffc02d0
0x40121df0: RC_GetBlockAckTime at ??:?
A2 : 0x810041d6 A3 : 0x81004136 A4 : 0x3ffb5040 A5 : 0x400996e2
0x400996e2: lmacProcessTxComplete at ??:?
A6 : 0x00000001 A7 : 0x3ffb2664 A8 : 0x3ffc0500 A9 : 0x3ffc04d0
A10 : 0x3ffb2698 A11 : 0x00000001 A12 : 0x3ffb5088 A13 : 0x3ffb5040
A14 : 0x00000010 A15 : 0x00000000 SAR : 0x00000016 EXCCAUSE: 0x0000001c
EXCVADDR: 0x810041dc LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
0x4000c2e0: memcpy in ROM
0x4000c2f6: memcpy in ROM
Backtrace: 0x40121ded:0x3ffc02d0 0x40097afd:0x3ffc02f0 0x40099eb7:0x3ffc0310 0x40097fcd:0x3ffc0330 0x40098069:0x3ffc03b0 0x40098508:0x3ffc03d0 0x4009727e:0x3ffc0490 0x400995c9:0x3ffc04d0 0x400996e7:0x3ffc0500 0x40098663:0x3ffc0540
0x40121ded: RC_GetBlockAckTime at ??:?
0x40097afd: ppCalFrameTimes at ??:?
0x40099eb7: ppAssembleAMPDU at ??:?
0x40097fcd: ppCalTxAMPDULength at ??:?
0x40098069: ppProcessTxQ at ??:?
0x40098508: ppResortTxAMPDU at ??:?
0x4009727e: lmacEndFrameExchangeSequence at ??:?
0x400995c9: lmacProcessTxSuccess at ??:?
0x400996e7: lmacProcessTxComplete at ??:?
0x40098663: ppTask at ??:?[/Codebox]
Who is online
Users browsing this forum: No registered users and 4 guests