Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Support
  • About Us
  • Blog
  • Forum
  • Search
    • Contact Us
    • Forum
    • Wiki
    • Web Shop
    • Newsletter
    • RSS
  •   Jobs
  •   Videos
  •   Blog
  •   Sustainability
  • emNet
  • Performance
  • Technology
  • Add-Ons
  • Tools
SEGGER - emNet Ethernet Stack

emNet - Network Performance

The performance of any network depends on several considerations, including the length of the cabling, the size of packets, amount of traffic and performance of the Ethernet controller itself.

  1. 1.TCP throughput
  2. 2.Response time
    1. 2.1.Hardware latency
    2. 2.2.PING response time
    3. 2.3.TCP response time

TCP throughput

The TCP throughput performance is measured using the IP_SpeedClient_TCP.c sample application on a target and the speed test server counterpart on a PC. It shows the MB/s throughput performance for a contiguous TCP stream.

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 [MB/s]
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 [MB/s]
TCP - socket interface
Send speedApproximately 9.4
Receive speedApproximately 11.7
TCP - zero-copy interface
Send speedApproximately 9.4
Receive speedApproximately 11.8

Response time

The application response time is the processing time it takes to receive and respond to a message from the network. Together with the hardware latency of the PHY and Ethernet controller this results in the Round-Trip-Time (RTT). Additional switches and other network equipment increase the RTT and are not subject of the following results.

The values below have been measured with an emPower (K66) eval board running @168MHz using Fast-Ethernet (100Mbit) and an emPower-Zynq eval board running @666MHz using Gigabit Ethernet in an isolated network.

For further information about how these values have been measured, please refer to our SEGGER Wiki article "Network performance measurement".

Hardware latency

The following table shows the hardware delays specific to the medium and hardware (especially the Ethernet controller) used. These times have to be added on top of the plain application response time of emNet.

PlatformRx latencyTx latency
emPower (K66), Fast-Ethernet (100Mbit)Approximately 3.641usApproximately 1.456us
emPower-Zynq, Gigabit EthernetApproximately 1.699usApproximately 1.083us

PING response time

The following table shows the application response time it takes to evaluate a 64 byte PING-request and send back a proper PING-reply. Please note that while the values roughly scale linear with the processing power, there are architectural differences like use of cache, memory latency and other platform specifics that have to be taken into account.

PlatformPING (ICMP) response time
emPower (K66) @168MHzApproximately 26.449us
emPower-Zynq @666MHzApproximately 7.819us

TCP response time

The following table shows the application response time it takes to evaluate a TCP packet with the minimal payload of 1 byte and send back an echo. Please note that while the values roughly scale linear with the processing power, there are architectural differences like use of cache, memory latency and other platform specifics that have to be taken into account.

PlatformTCP response time
TCP - socket interface
emPower (K66) @168MHzApproximately 83.770us
emPower-Zynq @666MHzApproximately 21.100us
TCP - zero-copy interface
emPower (K66) @168MHzApproximately 50.120us
emPower-Zynq @666MHzApproximately 14.949us

More Information

Purchase

  • Pricing

Technology

  • Drivers
  • FIND protocol
  • IPv6
  • Performance
  • Port Multiplication
  • Resource usage
  • Structure
  • Tasks & Interrupt Usage
  • Ethernet-APL

Add-Ons

  • CoAP Server/Client
  • Domain name resolution
  • NetBIOS
  • NTP Client
  • PPP/PPPoE
  • PTP OC Client
  • SMTP Client
  • SNMP Agent
  • SNTP Client
  • UPnP
  • WebSocket

Tools

  • embOS/IP Switch Board

About us

  • The Company
  • Partners
  • Job Offers
  • Media
  • Contact us

Support

  • Technical Support
  • Blog
  • Forum
  • Wiki

Downloads

  • Application Notes
  • Embedded Studio
  • embOS
  • emCompress
  • emCrypt
  • emFile
  • emLib
  • emLoad
  • emModbus
  • emNet
  • emPower
  • emSecure
  • emSSH
  • emSSL
  • emUSB-Device
  • emUSB-Host
  • emVNC
  • emWin
  • Flasher
  • Free Utilities
  • IoT
  • J-Link / J-Trace
  • Linux Studio
  • SystemView
  • CE / REACH

Social Media

Headquarters

SEGGER Microcontroller GmbH

Ecolab-Allee 5
40789 Monheim am Rhein, Germany
info@segger.com
Tel.: +49-2173-99312-0
Fax: +49-2173-99312-28

Locations

USA: SEGGER Microcontroller Systems LLC

Boston area
101 Suffolk Lane
Gardner, MA 01440, USA
us-east@segger.com
Tel.: +1-978-874-0299
Fax: +1-978-874-0599

Silicon Valley
Milpitas, CA 95035, USA
us-west@segger.com
Tel.: +1-408-767-4068

China: SEGGER Microcontroller China Co., Ltd.

Room 218, Block A, Dahongqiaoguoji
No. 133 Xiulian Road
Minhang District, Shanghai 201199, China
china@segger.com
Tel.: +86-133-619-907-60

ISO 9001 certified

ISO 9001

30+ years of experience

First-class embedded software tools since 1992
  • Imprint
  • Disclaimer
  • Privacy Policy

© 2023 SEGGER - All rights reserved.