CCS v12.1 + MCU+ SDK v08.06.00.43
Running enet_lwip_icssg_am64x_evm_r5fss0-0_freertos_ti-arm-clang example
Connected the lower ICSSG ethernet port through a TPLink gigabit switch to a PC running Windows 10 and iperf v2.0.9-win64
Given the example output I was expecting 100Mbits/sec at around 50% CPU usage but instead getting around 50Mbits/s at around 100% CPU usage . I need GbE running at full speed so what is causing the poor performance from the R5F core ? What release of the 08.06 MCU+ SDK was the example tested with ?
TMDS64EVM output
▒ Starting NULL Bootloader ... DMSC Firmware Version 8.6.4--v08.06.04 (Chill Capybar DMSC Firmware revision 0x8 DMSC ABI revision 3.1 INFO: Bootloader_runCpu:155: CPU r5f1-0 is initialized to 800000000 Hz !!! INFO: Bootloader_runCpu:155: CPU r5f1-1 is initialized to 800000000 Hz !!! INFO: Bootloader_runCpu:155: CPU m4f0-0 is initialized to 400000000 Hz !!! INFO: Bootloader_runCpu:155: CPU a530-0 is initialized to 800000000 Hz !!! INFO: Bootloader_runCpu:155: CPU a530-1 is initialized to 800000000 Hz !!! INFO: Bootloader_loadSelfCpu:207: CPU r5f0-0 is initialized to 800000000 Hz !!! INFO: Bootloader_loadSelfCpu:207: CPU r5f0-1 is initialized to 800000000 Hz !!! INFO: Bootloader_runSelfCpu:217: All done, reseting self ... ========================== ENET LWIP App ========================== Enabling clocks! Mdio_open: MDIO Manual_Mode enabled EnetPhy_bindDriver: PHY 15: OUI:080028 Model:0f Ver:01 <-> 'dp83869' : OK PHY 3 is alive PHY 15 is alive Starting lwIP, local interface IP is dhcp-enabled [LWIPIF_LWIP] NETIF INIT SUCCESS Host MAC address-0 : 34:08:e1:80:b7:b3 [LWIPIF_LWIP] Enet has been started successfully [0]status_callback==UP, local interface IP is 0.0.0.0 UDP server listening on port 5001 Icssg_handleLinkUp: icssg1-1: Port 1: Link up: 1-Gbps Full-Duplex link_callback==UP 5.149s : CPU load = 2.82 % [0]status_callback==UP, local interface IP is 195.198.8.234 10.149s : CPU load = 2.57 % 15.149s : CPU load = 2.52 % 20.149s : CPU load = 2.52 % 25.149s : CPU load = 2.52 % 30.149s : CPU load = 2.53 % 35.149s : CPU load = 91.42 % 40.149s : CPU load = 98.74 % IPERF report: type=2, remote: 195.198.8.236:5001, total bytes: 10314924, duration in ms: 13745, kbits/s: 6000 45.149s : CPU load = 97.89 % 50.149s : CPU load = 97.29 % IPERF report: type=0, remote: 195.198.8.236:1751, total bytes: 114819096, duration in ms: 20062, kbits/s: 45784 55.149s : CPU load = 9.13 % 60.149s : CPU load = 2.54 % 65.149s : CPU load = 2.54 % 70.149s : CPU load = 2.55 % 75.149s : CPU load = 2.54 % 80.149s : CPU load = 2.54 % 85.149s : CPU load = 2.54 % 90.149s : CPU load = 2.54 % 95.149s : CPU load = 2.55 % 100.149s : CPU load = 2.55 % 105.149s : CPU load = 2.55 % 110.149s : CPU load = 2.54 % 115.149s : CPU load = 2.57 % 120.149s : CPU load = 2.54 % 125.149s : CPU load = 81.26 % 130.149s : CPU load = 98.18 % IPERF report: type=0, remote: 195.198.8.236:1756, total bytes: 64618520, duration in ms: 10071, kbits/s: 51328 135.149s : CPU load = 96. 7 % 140.149s : CPU load = 96.98 % IPERF report: type=1, remote: 195.198.8.236:5001, total bytes: 47467544, duration in ms: 10000, kbits/s: 37968 145.149s : CPU load = 28.55 % 150.149s : CPU load = 97.77 % IPERF report: type=0, remote: 195.198.8.236:1759, total bytes: 64880664, duration in ms: 10064, kbits/s: 51568 155.149s : CPU load = 97. 7 % 160.149s : CPU load = 97. 0 % IPERF report: type=1, remote: 195.198.8.236:5001, total bytes: 47400384, duration in ms: 10003, kbits/s: 37904 165.149s : CPU load = 91.27 % 170.149s : CPU load = 2.55 % 175.149s : CPU load = 90.95 % 180.149s : CPU load = 98.67 % IPERF report: type=2, remote: 195.198.8.236:5001, total bytes: 10974, duration in ms: 9620, kbits/s: 8 185.149s : CPU load = 96.88 % 190.149s : CPU load = 97.67 % IPERF report: type=0, remote: 195.198.8.236:1763, total bytes: 129499160, duration in ms: 20064, kbits/s: 51632 195.149s : CPU load = 11.81 % 200.149s : CPU load = 2.55 % 205.149s : CPU load = 2.55 % 210.149s : CPU load = 2.55 % 215.149s : CPU load = 2.55 %
PC output
C:\Users\Jon\Downloads\iperf-2.0.9-win64\iperf-2.0.9-win64>iperf -c 195.198.8.234 -i 5 -t 20 -d ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 195.198.8.234, TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ [ 4] local 195.198.8.236 port 1751 connected with 195.198.8.234 port 5001 [ 5] local 195.198.8.236 port 5001 connected with 195.198.8.234 port 59266 [ ID] Interval Transfer Bandwidth [ 4] 0.0- 5.0 sec 17.1 MBytes 28.7 Mbits/sec [ 4] 5.0-10.0 sec 31.0 MBytes 52.0 Mbits/sec [ 4] 10.0-15.0 sec 30.8 MBytes 51.6 Mbits/sec [ 4] 15.0-20.0 sec 30.5 MBytes 51.2 Mbits/sec [ 4] 0.0-20.0 sec 110 MBytes 45.9 Mbits/sec C:\Users\Jon\Downloads\iperf-2.0.9-win64\iperf-2.0.9-win64>iperf -c 195.198.8.234 -r ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 195.198.8.234, TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ [ 4] local 195.198.8.236 port 1756 connected with 195.198.8.234 port 5001 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 61.6 MBytes 51.5 Mbits/sec [ 4] local 195.198.8.236 port 5001 connected with 195.198.8.234 port 59267 [ 4] 0.0-10.0 sec 45.3 MBytes 38.0 Mbits/sec C:\Users\Jon\Downloads\iperf-2.0.9-win64\iperf-2.0.9-win64>iperf -c 195.198.8.234 -r ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 195.198.8.234, TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ [ 4] local 195.198.8.236 port 1759 connected with 195.198.8.234 port 5001 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 61.9 MBytes 51.8 Mbits/sec [ 4] local 195.198.8.236 port 5001 connected with 195.198.8.234 port 59268 [ 4] 0.0-10.0 sec 45.2 MBytes 37.9 Mbits/sec C:\Users\Jon\Downloads\iperf-2.0.9-win64\iperf-2.0.9-win64>iperf -c 195.198.8.234 -i 5 -t 20 -d -V ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ ------------------------------------------------------------ Client connecting to 195.198.8.234, TCP port 5001 TCP window size: 208 KByte (default) ------------------------------------------------------------ [ 4] local 195.198.8.236 port 1763 connected with 195.198.8.234 port 5001 [ ID] Interval Transfer Bandwidth [ 4] 0.0- 5.0 sec 31.4 MBytes 52.6 Mbits/sec [ 4] 5.0-10.0 sec 30.9 MBytes 51.8 Mbits/sec [ 4] 10.0-15.0 sec 30.2 MBytes 50.8 Mbits/sec [ 4] 15.0-20.0 sec 30.9 MBytes 51.8 Mbits/sec [ 4] 0.0-20.0 sec 124 MBytes 51.7 Mbits/sec