STM32H573i-DK: Poor TCP TX Performance, iperf
Hey,
i have ported the iperf2 example(https://github.com/STMicroelectronics/STM32CubeH5/tree/main/Projects/NUCLEO-H563ZI/Applications/NetXDuo/Nx_Iperf) of the H563 board to the H573i-DK Board.
It pretty much works as expected now, but the TX performance is a little bit poor. I expected >95Mbit/Sec for all tests. I got the following results (I ran each test about 10 times and took the average values).
- TCP TX: 85.00 Mbits/sec
- TCP RX: 93.41 Mbits/sec
- UDP TX: 95.20 Mbits/sec
- UDP RX: 99 Mbits/sec
Executed Commands on the host system (Ubuntu22.04, iperf version 2.1.5 (3 December 2021) pthreads)
- TCP TX: `iperf -s`
- TCP RX: `iperf -c 192.168.1.101`
- UDP TX: `iperf -s -u`
- UDP RX: `iperf -c 192.168.1.101 -u -b 200M`
I'm currently trying to benchmark another setup with modified ethernet settings and got even poorer results for TCP TX.
Because of that I'm wondering whats the bottleneck here. Is it the CPU?
I'd appreciate any hints or suggestions on how to find the bottleneck and improve this number.
Best,
funkii
