emNet Performance
The performance of any network will depend on several considerations, including the length of the cabling, the size of packets, and the amount of traffic.
ARM7 System
Detail | Description |
---|---|
CPU | ARM7 with integrated MAC running with 48MHz |
Tool chain | IAR Embedded Workbench for ARM V6.30.6 |
Model | ARM7, Thumb instructions, no interwork |
Compiler options | Highest speed optimization |
Memory Configuration
#define ALLOC_SIZE 0xD000
IP_AddBuffers(12, 256);
IP_AddBuffers(18, mtu + 16);
IP_ConfTCPSpace(8 * (mtu-40), 8 * (mtu-40));
Driver Configuration
#define NUM_RX_BUFFERS (2 * 12 + 1)
Measurements
The following table shows the send and receive speed of emNet:
Description | Speed [MBytes per second] |
---|---|
TCP - socket interface | |
Send speed | Approximately 9.0 |
Receive speed | Approximately 7.5 |
TCP - zero-copy interface | |
Send speed | Approximately 9.0 |
Receive speed | Approximately 11.7 |
Cortex-M3 System
Detail | Description |
---|---|
CPU | Cortex-M3 with integrated MAC running with 96MHz |
Tool chain | IAR Embedded Workbench for ARM V6.30.6 |
Model | Cortex-M3 |
Compiler options | Highest speed optimization |
Memory Configuration
#define ALLOC_SIZE 0x10000
IP_AddBuffers(12, 256);
IP_AddBuffers(12, mtu + 16);
IP_ConfTCPSpace(9 * (mtu-40), 9 * (mtu-40));
Driver Configuration
#define NUM_RX_BUFFERS (36)
#define BUFFER_SIZE (256)
Measurements
The following table shows the send and receive speed of emNet:
Description | Speed [MBytes per second] |
---|---|
TCP - socket interface | |
Send speed | Approximately 9.4 |
Receive speed | Approximately 11.7 |
TCP - zero-copy interface | |
Send speed | Approximately 9.4 |
Receive speed | Approximately 11.8 |