This section provides the performance numbers of Ethernet drivers using CPSW peripheral in MCU+ SDK
SOC Details | Values |
---|---|
Core | R5F |
Core Operating Speed | 400 MHz |
Memory Type | MSRAM |
Cache status | Enabled |
Configuration | Value |
---|---|
Processing Core | Main R5F0 Core 0 |
Core Frequency | 400 MHz |
Ethernet Interface Type | RGMII at 1 Gbps |
Packet buffer memory | MSRAM (un-cached) |
Scatter-gather TX | Yes |
Scatter-gather RX | Yes |
CPDMA interrupt pacing | Yes |
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 (DP83869HM)Latency (from datasheet) in ns | Total Latency (ns) |
RX Latency | 6400 | 193 | 6193 |
TX Latency | 13000 | 384 | 13384 |
Test | Bandwidth (Mbps) | CPU Load (%) | Packet Size (bytes) |
Layer 2 Transmission | 950 | 24 | 1500 |
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 Disabled 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 |
Test | Bandwidth (Mbps) | CPU Load (%) |
TCP RX | 178 | 98 |
TCP TX | 178 | 98 |
TCP Bidirectional | RX=53 TX=132 | 100 |
Host PC commands:
iperf -c <evm_ip> -r
iperf -c <evm_ip> -d
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 | 5 | 37 | 0.0 | 5 | 18 | 0.0 | 25 | 44 | 0.0 | 50 | 37 | 0.0 |
10 | 67 | 2.6 | 15 | 50 | 0.0 | 50 | 80 | 0.0 | 60 | 44 | 0.0 | |
15 | 96 | 5.5 | 25 | 73 | 4.4 | 55 | 88 | 4.9 | 95 | 68 | 0.0 | |
UDP RX (Max) | 7 | 51 | 0.8 | 19 | 60 | 0.6 | 51 | 64 | 0.0 | 110 | 78 | 2.4 |
UDP TX (Max) | 24.6 | 100 | 0.0 | 56.2 | 100 | 0.0 | 112 | 100 | 0.0 | 323 | 100 | 0.0 |
Host PC commands:
iperf -c <evm_ip> -u -l64 -b <bw> -r
iperf -c <evm_ip> -u -l256 -b <bw> -r
iperf -c <evm_ip> -u -l512 -b <bw> -r
iperf -c <evm_ip> -u -b <bw> -r