AM263Px MCU+ SDK  09.01.00
Ethernet Performance on AM263Px

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 400 MHz
Memory Type MSRAM
Cache status Enabled

TCP/IP Performance

Configuration Details

Configuration Value
Processing Core Main R5F0 Core 0
Core Frequency 400 MHz
Ethernet Interface Type RGMII at 1 Gbps
Packet buffer memory MSRAM (cached)
Hardware checksum offload Enabled on Tx side
Enabled on Rx Side
Scatter-gather TX Yes
Scatter-gather RX Yes
CPDMA interrupt pacing Yes
RTOS FreeRTOS
RTOS application Enet Lwip CPSW Example example
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 RX21097
TCP TX178100
TCP BidirectionalRX=53
TX=132
100

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 5410.0 5200.0 25480.0 50400.0
10750.0 15540.0 50880.0 60470.0
157821.0 25840.0 55960.0 95730.0
UDP RX (Max) 13.5962.0 30982.5 56.6992.2 130.8971.1
UDP TX (Max) 23.41000.0 53.51000.0 1071000.0 3071000.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

Networking Enet Lwip CPSW Example