Hi,
Is there performance numbers available for MCU2_1 EthFW client like iperf.
I had migrated EthFW client to MCU1_0 and the performance that I see is around 26Mbps for UDP based iperf test(example available in PDK lwIP code).
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.
Hi,
Is there performance numbers available for MCU2_1 EthFW client like iperf.
I had migrated EthFW client to MCU1_0 and the performance that I see is around 26Mbps for UDP based iperf test(example available in PDK lwIP code).
Hi,
EthFW Performance data is available in the SDK datasheet. Please follow the instructions in SDK user guide to request access.
Here is the snapshot from the datasheet.
1.1.2.4.2. UDP (IP stack) Performance
1.1.2.4.2.1. CPSW9G - Main domain R5_0 core 0 (mcu2_0)
- Main domain R5_0 at 1GHz
- RGMII interface at 1Gbps
Single Direction Test
Test Measured Throughput (Mbps) CPU Load (%) UDP RX 168.0 93 1.1.2.4.2.2. CPSW2G - MCU domain R5 core 0 (mcu1_0)
- MCU domain R5_0 at 1GHz
- RGMII interface at 1Gbps
Single Direction Test
Test Measured Throughput (Mbps) CPU Load (%) UDP RX 142.0 95 Note:
- TCP/IP throughput results are measured using Enet LLD lwIP example application built with the following modifications which are not PDK’s default settings:
- lwIP example app built with performance optimizations (OPTIMIZATION=PERFORMANCE passed to make command)
- Enable Thumb2 mode (CFLAGS_INTERNAL += -mthumb)
- Current performance numbers are preliminary as throughput profiling is not done in optimized environment (i.e. putting frequently used functions in fast memory, use of pacing using ring monitor, tuning of descriptors, etc.)
Regards,
Stanley
Hi
Can you confirm what is the issue you are facing - are you reporting a lower performance for UDP (please clarify if it Rx vs Tx) when run iperf on a different R5 core. can you also share comparison data.
Also include CPU load information along with the measured performance data
Overall when using a full fledged networking stack like lwip on R5 core, one cannot sustain >300Mbps of throughput.
If higher throughput data needs to handled, you will need an application specific fast implementation that eliminates the overhead of general purpose network stack(avoid copies, overhead associated with layering/context switches etc)
Regards
sriram
Hi Srirama,
Thanks for the response. Ethfw client is migrated to MCU1_0. And the UDP iperf RX performance is low. It is around 26 Mbps. I will get you the CPU numbers. Does TI have UDP performance number from Ethfw client other than linux. Looks like the numbers shown above have PHY also assigned to the core.
Hi Srirama,
Thanks for the response. Ethfw client is migrated to MCU1_0. And the UDP iperf RX performance is low. It is around 26 Mbps. I will get you the CPU numbers. Does TI have UDP performance number from Ethfw client other than linux. Looks like the numbers shown above have PHY also assigned to the core.
Hi Dwarakesh,
Could you double check the compiler option in the MCU1_0 build and make sure the compiler optimization is enabled?
In addition, please also make sure the cache is enabled.
Regards,
Stanley
Hi Stanley,
The CPU load is 100%. We are using the vision_apps/platform configuration and I believe cache is enabled for the memory. Complier Optimization, I will check Can you please let me know the numbers checked when Ethfw Client is used? Even in EVM I get the similar numbers 23Mbps.
Hi Stanley,
1. We also tried enabling the -mthumb and -O3 flags to vision_apps/concerto/compilers/tiarmcgt_llvm.mak , under $(_MODULE)_COPT). Still we see similar numbers of performance in EVM with 23Mbps.
2. What is the test run specifically for UDP RX test ? Is it UDP perf test of the lwip examples ?
Thanks Stanley,
We saw in add on package performance for UDP in SDK 8.1 to be having issue. When we tried in 8.2 SDK, we are seeing 75Mbps as opposed to 8.1 SDK. Can you please throw light on this error. Also if there are patches to back port to 8.1 for this performance fix, please do let me know
Hi,
The fix is in ~/enet/examples/enet_lwip_example/udp_iperf.c.
You can just take this file from 8.2 to 8.1.
Regards,
Stanley