AM243x MCU+ SDK  09.02.00
Ethernet Performance

Introduction

This section provides the performance numbers of Ethernet drivers using CPSW peripheral in MCU+ SDK

Setup Details

SOC Details Values
Core R5F
Core Operating Speed 800 MHz
Memory Type MSRAM
Cache status Enabled
EVM Type AM243x-LP E3

Layer 2 Performance

Latency defination

Configuration Details

Configuration Value
Processing Core Main R5F0 Core 0
Core Frequency 800 MHz
Ethernet Interface Type RGMII at 1 Gbps
Packet buffer memory MSRAM
Scatter-gather TX Yes
Scatter-gather RX Yes
UPDMA interrupt pacing NO
RTOS FreeRTOS
RTOS application Modified Enet CPSW Loopback Example
example
Host PC tool version nload
Rx packet length 200 B
Tx packet length 200 B


Layer 2 Latency

Parameter CPU<->CPSW
Latency Value (ns)
PHY Latency
(from datasheet) in ns
Total Latency
(ns)
RX Latency 14000 193 14193
TX Latency 7000 384 7384

TCP/IP Performance

Configuration Details

Configuration Value
Processing Core Main R5F0 Core 0
Core Frequency 800 MHz
Ethernet Interface Type RGMII at 1 Gbps
Packet buffer memory MSRAM (cached)
Hardware checksum offload Enabled on both Tx and Rx Side
Scatter-gather TX Yes
Scatter-gather RX Yes
UDMA interrupt pacing Yes (realized with timer based interrupt pacing)
RTOS FreeRTOS
RTOS application Enet Lwip CPSW Example in examples
TCP/IP stack LwIP version STABLE-2_2_0_RELEASE
Host PC tool version iperf v2.0.10
Number of Rx packet buffers 32
Number of Tx packet buffers 16


TCP Throughput

Test Bandwidth
(Mbps)
CPU Load
(%)
TCP RX9334
TCP TX9334
TCP BidirectionalRX=93
TX=93
63

Host PC commands:

  • TCP Rx and Tx (Sequential):
    $iperf -c <evm_ip> -r
  • TCP Rx and Tx (Bidirectional):
    $iperf -c <evm_ip> -d

UDP Throughput

Test Datagram Length = 64B Datagram Length = 256B Datagram Length = 512B Datagram Length = 1470B
Bandwidth (Mbps)CPU Load (%)Packet Loss (%) Bandwidth (Mbps)CPU Load (%)Packet Loss (%) Bandwidth (Mbps)CPU Load (%)Packet Loss (%) Bandwidth (Mbps)CPU Load (%)Packet Loss (%)
UDP RX 5250.0 570.0 25180.0 50160.0
103622 15190.0 50340.1 65210.0
153648 25310 65424.6 95680.0
UDP RX (Max) 7320.8 32370.9 61410.8 110782.4
UDP TX (Max) 401000.0 901000.0 1611000.0 5351000.0

Host PC commands:

  • Test with datagram length of 64B:
    $iperf -c <evm_ip> -u -l64 -b <bw> -r
    where <bw> is 5M, 10M, 15M, etc
  • Test with datagram length of 256B:
    $iperf -c <evm_ip> -u -l256 -b <bw> -r
    where <bw> is 25M, 50M, 100M, etc
  • Test with datagram length of 512B:
    $iperf -c <evm_ip> -u -l512 -b <bw> -r
    where <bw> is 25M, 50M, 100M, etc
  • Test with datagram length of 1470B (max):
    $iperf -c <evm_ip> -u -b <bw> -r
    where <bw> is 25M, 50M, 100M, etc

See Also

Ethernet And Networking Enet Lwip CPSW Example