Skip navigation

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.

 Contents

 
[show]
[hide]

ARM7 System

DetailDescription
CPUARM7 with integrated MAC running with 48MHz
Tool chainIAR Embedded Workbench for ARM V6.30.6
ModelARM7, Thumb instructions, no interwork
Compiler optionsHighest 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:

DescriptionSpeed [MBytes per second]
TCP - socket interface
 Send speedApproximately 9.0
 Receive speedApproximately 7.5
TCP - zero-copy interface
Send speedApproximately 9.0
Receive speedApproximately 11.7

Cortex-M3 System

DetailDescription
CPUCortex-M3 with integrated MAC running with 96MHz
Tool chainIAR Embedded Workbench for ARM V6.30.6
ModelCortex-M3
Compiler optionsHighest 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:

DescriptionSpeed [MBytes per second]
TCP - socket interface
Send speedApproximately 9.4
Receive speedApproximately 11.7
TCP - zero-copy interface
Send speedApproximately 9.4
Receive speedApproximately 11.8