This section provides the performance numbers of Ethernet drivers using CPSW peripheral in MCU+ SDK
SOC Details | Values |
---|---|
Core | A53 |
Core Operating Speed | 1 GHz |
Memory Type | DDR |
Cache status | Enabled |
EVM Type | AM62x-SK |
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 |
Parameter | CPU<->CPSW Latency Value (ns) | PHY (DP83867IR) Latency (from datasheet) in ns | Total Latency (ns) |
RX Latency | 19000 | 288 | 19288 |
TX Latency | 7000 | 384 | 7384 |
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 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 |
Test | Bandwidth (Mbps) | CPU Load (%) |
TCP RX | 93 | 11 |
TCP TX | 93 | 11 |
TCP Bidirectional | RX=93 TX=93 | 24 |
Host PC commands:
iperf -c <evm_ip> -r
iperf -c <evm_ip> -d
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 | 5 | 4 | 0 | 25 | 9 | 0.016 | 50 | 7.44 | 0 |
10 | 7 | 0 | 50 | 17.2 | 0.11 | 65 | 9.27 | 0.01 | |
25 | 16.6 | 0.06 | 65 | 21 | 4.8 | 95 | 13.14 | 0.66 | |
UDP RX (Max) | 30 | 19.7 | 0.1 | 60 | 20 | 0.1 | 175 | 23.4 | 0.59 |
UDP RX (Max) with 128 Rx buffers | 115 | 69.1 | 0.1 | 240 | 74.8 | 0.1 | 720 | 90.8 | 1.3 |
UDP TX (Max) | 175 | 100 | 0.05 | 350 | 100 | 0.0 | 957 | 100 | 0.0 |
Host PC commands:
iperf -c <evm_ip> -u -l64 -b <bw> -r
iperf -c <evm_ip> -u -l 256 -b <bw> -r
iperf -c <evm_ip> -u -l 512 -b <bw> -r
iperf -c <evm_ip> -u -b <bw> -r