AM62x MCU+ SDK  10.01.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 A53
Core Operating Speed 1 GHz
Memory Type DDR
Cache status Enabled
EVM Type AM62x-SK

Layer 2 Performance

Latency defination

Configuration Details

Configuration Value
Processing Core Main A53 Core 0
Core Frequency 1 GHz
Ethernet Interface Type RGMII at 1 Gbps
Packet buffer memory DDR (uncached)
Scatter-gather TX Yes
Scatter-gather RX Yes
UDMA 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


TCP/IP Performance

Configuration Details

Configuration Value
Processing Core Main A53Core 0
Core Frequency 1 GHz
Ethernet Interface Type RGMII at 1 Gbps
Packet buffer memory DDR (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 2.12.2
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 RX7712
TCP TX76.516
TCP BidirectionalRX=51.4
TX=50
22

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 = 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 (%)

UDP RX 251911 251011 255

51

5036.2611 502011 509

52

UDP RX (Max) 10069.612 1003911 10016

53

UDP TX (Max) 251000.0 501000.0 100100

0.0025

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 -l 256 -b <bw> -r
    where <bw> is 25M, 50M, 100M, etc
  • Test with datagram length of 512B:
    $iperf -c <evm_ip> -u -l 512 -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