Hello,
I am concerned regarding iPerf results I got with 1G gmac speed, using the available Lwip freertos example.
RTD: S32 Real-Time Drivers Version 4.0.2 HF03
Example lwip_FreeRTOS_S32G399A_M7
Board: https://www.nxp.com/design/design-center/development-boards-and-designs/GOLDBOX-3
Default example iperf result:
iperf -c 192.168.0.200 -p 5001 -P 1 -i 1 -t 20
------------------------------------------------------------
Client connecting to 192.168.0.200, TCP port 5001
TCP window size: 2.50 MByte (default)
------------------------------------------------------------
[ 1] local 192.168.0.10 port 38578 connected with 192.168.0.200 port 5001
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-1.0000 sec 20.6 MBytes 173 Mbits/sec
[ 1] 1.0000-2.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 2.0000-3.0000 sec 15.2 MBytes 128 Mbits/sec
[ 1] 3.0000-4.0000 sec 15.1 MBytes 127 Mbits/sec
[ 1] 4.0000-5.0000 sec 14.0 MBytes 117 Mbits/sec
[ 1] 5.0000-6.0000 sec 15.1 MBytes 127 Mbits/sec
[ 1] 6.0000-7.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 7.0000-8.0000 sec 15.1 MBytes 127 Mbits/sec
[ 1] 8.0000-9.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 9.0000-10.0000 sec 14.0 MBytes 117 Mbits/sec
[ 1] 10.0000-11.0000 sec 15.1 MBytes 127 Mbits/sec
[ 1] 11.0000-12.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 12.0000-13.0000 sec 15.1 MBytes 127 Mbits/sec
[ 1] 13.0000-14.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 14.0000-15.0000 sec 15.2 MBytes 128 Mbits/sec
[ 1] 15.0000-16.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 16.0000-17.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 17.0000-18.0000 sec 15.1 MBytes 127 Mbits/sec
[ 1] 18.0000-19.0000 sec 13.9 MBytes 116 Mbits/sec
[ 1] 19.0000-20.0000 sec 14.0 MBytes 117 Mbits/sec
[ 1] 20.0000-20.3825 sec 128 KBytes 2.74 Mbits/sec
[ 1] 0.0000-20.3825 sec 295 MBytes 121 Mbits/sec
iPerf results with tcpip_thread prio set to 2 instead of 1, and increased tcpip mbox to 80, No of TCP segments PCB set to 80 instead of 20 and tcpip msg api/inpkt set to 40 instead of 20:


iperf -c 192.168.0.200 -p 5001 -P 1 -i 1 -t 20
------------------------------------------------------------
Client connecting to 192.168.0.200, TCP port 5001
TCP window size: 2.50 MByte (default)
------------------------------------------------------------
[ 1] local 192.168.0.10 port 38134 connected with 192.168.0.200 port 5001
[ ID] Interval Transfer Bandwidth
[ 1] 0.0000-1.0000 sec 22.0 MBytes 185 Mbits/sec
[ 1] 1.0000-2.0000 sec 17.0 MBytes 143 Mbits/sec
[ 1] 2.0000-3.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 3.0000-4.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 4.0000-5.0000 sec 17.0 MBytes 143 Mbits/sec
[ 1] 5.0000-6.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 6.0000-7.0000 sec 15.5 MBytes 130 Mbits/sec
[ 1] 7.0000-8.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 8.0000-9.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 9.0000-10.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 10.0000-11.0000 sec 17.0 MBytes 143 Mbits/sec
[ 1] 11.0000-12.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 12.0000-13.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 13.0000-14.0000 sec 17.0 MBytes 143 Mbits/sec
[ 1] 14.0000-15.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 15.0000-16.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 16.0000-17.0000 sec 16.6 MBytes 139 Mbits/sec
[ 1] 17.0000-18.0000 sec 16.0 MBytes 134 Mbits/sec
[ 1] 18.0000-19.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 19.0000-20.0000 sec 15.6 MBytes 131 Mbits/sec
[ 1] 20.0000-20.3902 sec 128 KBytes 2.69 Mbits/sec
[ 1] 0.0000-20.3902 sec 326 MBytes 134 Mbits/sec
I want to know what is the tested limit for lwip stack on s32g3 cortex m7 with freertos?
I expect around 8-900Mbits/second throughput on iPerf with no other task other than the iperf application and the tcpip_thread.
Any help/insights would be appreciated.