We use TDA4 VM ,SDK7.3, QNX.
When two switch port send udp to Linux PC simultaneously, udp package from ECU2 loss seriously.
We tested two options.
options 1:
ECU1 send udp packages to Linux PC,10thread,25Hz,50KB per package.
ECU2 send udp packages Linux PC,10thread,25Hz,50KB per package.
When ECU1 and ECU2 Send separately, udp packages donot loss. When ECU1 and ECU2 send simultaneously, ECU2 udp package loss Seriously。
We use tcpdump to capture eth package at ECU2 and Linux PC, we found the packets sent by ECU2 are relatively complete, and the packets received by the Linux PC are continuously lost. As shown in the figure below.
option2:
1. ECU1 send: iperf3 -c 172.16.1.53 -t 60 -i 1 -b 1G -P 5 -u -p 12000
ECU2 send: iperf3 -c 172.16.1.53 -t 60 -i 1 -b 1G -P 5 -u -p 20000
Linux PC: iperf3 -s -p 12000; iperf3 -s -p 20000
When ECU1 and ECU2 Send separately, udp packages donot loss. When ECU1 and ECU2 send simultaneously, ECU2 udp package loss Seriously。As shown in the figure below.