Skip to main content
Visitor II
July 26, 2022
Solved

How is the giga ethernet performance of the STM32MP?

  • July 26, 2022
  • 1 reply
  • 1190 views

I need giga ethernet working on linux.

Is it possible with the STM32MP?

Please let me know if you have any test results with iperf.

Thank you for answers.

    This topic has been closed for replies.
    Best answer by PatrickF

    Hi,

    tests done on STM32MP157F-EV1 board, with Ecosystem v4.0 (Kernel 5.15), iperf3 v3.7, PC ubuntu 20.04 as server on same network.

    TCP transmission : 931 Mbits/sec

    TCP reception: 830 Mbits/sec

    UDP transmission: 785 Mbits/sec

    UDP reception: 554 Mbits/sec

    Regards,

    In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

    1 reply

    PatrickFAnswer
    Technical Moderator
    July 26, 2022

    Hi,

    tests done on STM32MP157F-EV1 board, with Ecosystem v4.0 (Kernel 5.15), iperf3 v3.7, PC ubuntu 20.04 as server on same network.

    TCP transmission : 931 Mbits/sec

    TCP reception: 830 Mbits/sec

    UDP transmission: 785 Mbits/sec

    UDP reception: 554 Mbits/sec

    Regards,

    In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

    Graduate II
    July 26, 2022

    Nice performance! Just seems interesting why UDP is slower than TCP. Generally it should be the other way around, because UDP requires significantly less processing.

    Technical Moderator
    July 27, 2022

    Hi @Piranha​ 

    I think in any OS and SoC HW, TCP is usually better optimized for large bandwidth (i.e. buffers sizing) while UDP is tailored for low latency.

    I think that also the way the test is done by iperf with UDP (as there is no ACK, if you request 1000Mbits, packets are likely send back to back) is more prone to packet loss/corruption which might add additional CPU usage at reception side (STM32MP15x CPU is far from PC performance) which in the end show as lower overall UDP perf.

    Regards,

    In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'