Performance Analysis of Time-Triggered Ether-Networks Using Off-The-Shelf-Components



Similar documents
A Hardware/Software Platform for Real-time Ethernet Cluster Simulation in OMNeT++

Software Stacks for Mixed-critical Applications: Consolidating IEEE AVB and Time-triggered Ethernet in Next-generation Automotive Electronics

A Real-time Ethernet Prototype Platform for Automotive Applications

Mixed-Criticality Systems Based on Time- Triggered Ethernet with Multiple Ring Topologies. University of Siegen Mohammed Abuteir, Roman Obermaisser

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

19 Comparison of Ethernet Systems

AFDX networks. Computers and Real-Time Group, University of Cantabria

Generic term for using the Ethernet standard in automation / industrial applications

Analysis of Industrial PROFINET in the Task of Controlling a Dynamic System**

From Fieldbus to toreal Time Ethernet

Quality of Service in Industrial Ethernet Networks

Frequently Asked Questions

How To Analyze The Security On An Ipa Wireless Sensor Network

AFDX Emulator for an ARINC-based Training Platform. Jesús Fernández Héctor Pérez J. Javier Gutiérrez Michael González Harbour

An Introduction to VoIP Protocols

Performance Testing BroadR-Reach Automotive Ethernet

Open Source Software

Clearing the Way for VoIP

Technical Bulletin. Enabling Arista Advanced Monitoring. Overview

Understanding Latency in IP Telephony

Welcome. People Power Partnership PROFIdag 2013 Peter Van Passen Sales & Business Development Manager HARTING Electric 1/44

Precision Time Protocol (PTP/IEEE-1588)

VoIP in Mika Nupponen. S Postgraduate Course in Radio Communications 06/04/2004 1

Application Note How To Determine Bandwidth Requirements

Latency on a Switched Ethernet Network

OSI Layers in Automotive Networks

Network Simulation Traffic, Paths and Impairment

Combining Voice over IP with Policy-Based Quality of Service

Prilink SIP / PRI / IP Network Monitor, Traffic and QoS

D1.2 Network Load Balancing

In-Vehicular Communication Networking Protocol

Network Considerations for IP Video

On real-time delay monitoring in software-defined networks

Comparison of FlexRay and CAN-bus for Real-Time Communication

The ISP Column A monthly column on all things Internet

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

Performance Evaluation of Linux Bridge

Real-Time Systems Hermann Härtig Real-Time Communication (following Kopetz, Liu, Schönberg, Löser)

PROFINET the Industrial Ethernet standard. Siemens AG Alle Rechte vorbehalten.

Super high-resolution video handling system and highly accurate video traffic monitoring technology. - Demonstrations at SC10 -

10Gb Ethernet: The Foundation for Low-Latency, Real-Time Financial Services Applications and Other, Latency-Sensitive Applications

The Role of Precise Timing in High-Speed, Low-Latency Trading

Agilent Technologies Performing Pre-VoIP Network Assessments. Application Note 1402

Network performance in virtual infrastructures

This topic lists the key mechanisms use to implement QoS in an IP network.

mesdn: Mobile Extension of SDN Mostafa Uddin Advisor: Dr. Tamer Nadeem Old Dominion University

Precision Time Protocol on Linux ~ Introduction to linuxptp

Operating Systems and Networks Sample Solution 1

C-GEP 100 Monitoring application user manual

IMPLEMENTING VOICE OVER IP

Ethernet A Survey on its Fields of Application

Nortel Technology Standards and Protocol for IP Telephony Solutions

IPv6/IPv4 Automatic Dual Authentication Technique for Campus Network

How To Test For 10 Gigabit Ethernet At 10 Gb/S

Customer White paper. SmartTester. Delivering SLA Activation and Performance Testing. November 2012 Author Luc-Yves Pagal-Vinette

PRESTA 10G Platform for High-accuracy 10-Gb/s Network Monitoring

Introduction VOIP in an Network VOIP 3

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

Definition. A Historical Example

Quality of Service Testing in the VoIP Environment

Network Monitoring White Paper

Enabling Visibility for Wireshark across Physical, Virtual and SDN. Patrick Leong, CTO Gigamon

Application Performance Analysis and Troubleshooting

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Industrial Requirements for a Converged Network

Rohde & Schwarz R&S SITLine ETH VLAN Encryption Device Functionality & Performance Tests

WHITE PAPER. Packet Time Monitoring in Your Visibility Architecture

Introduction to RACE FUELS Hans-Christian von der Wense Munich, Germany

Acterna DSL Services Tester TPI 350+ Application Highlights

Avaya ExpertNet Lite Assessment Tool

Monitoring the NTP Server. eg Enterprise v6.0

ADTRAN NetVanta 5660

Joint ITU-T/IEEE Workshop on Next Generation Optical Access Systems. DBA & QoS on the PON - Commonalities with Switching & Routing

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Using & Offering Wholesale Ethernet Network and Operational Considerations

technology standards and protocol for ip telephony solutions

How To Build A Network For Storage Area Network (San)

EBERSPÄCHER ELECTRONICS automotive bus systems

Precision Clock Synchronization

Gigabit Ethernet Packet Capture. User s Guide

Encapsulating Voice in IP Packets

OPART: Towards an Open Platform for Abstraction of Real-Time Communication in Cross-Domain Applications

An Automated Data Structure Migration Concept - From CAN to Ethernet/IP in Automotive Embedded Systems (CANoverIP)

EtherCAT Cutting Costs with High-speed Ethernet

FlexRay A Communications Network for Automotive Control Systems

How To Switch A Layer 1 Matrix Switch On A Network On A Cloud (Network) On A Microsoft Network (Network On A Server) On An Openflow (Network-1) On The Network (Netscout) On Your Network (

Rorschach Plots and Network Performance Analysis

10G Ethernet: The Foundation for Low-Latency, Real-Time Financial Services Applications and Other, Future Cloud Applications

RTP / RTCP. Announcements. Today s Lecture. RTP Info RTP (RFC 3550) I. Final Exam study guide online. Signup for project demos

VoIP Bandwidth Calculation

CT LANforge-FIRE VoIP Call Generator

XMVAE Gigabit Ethernet Modules

Implementing VoIP support in a VSAT network based on SoftSwitch integration

Issues for the performance monitoring of an open source H.323 implementation ported to IPv6-enabled networks with QoS characteristics

1 PC to WX64 direction connection with crossover cable or hub/switch

Transcription:

of Time-Triggered Ether-Networks Using Off-The-Shelf-Components AMICS Workshop 2011 Till Steinbach, Franz Korf, Thomas C. Schmidt {florian.bartols,till.steinbach,korf,schmidt} @informatik.haw-hamburg.de March, 31st 2011

Agenda 1 Motivation 2 3 4 Motivation 5 2 / 27

Motivation Motivation 3 / 27

Motivation Real-time Ethernet in automotive applications: In-vehicle networks are very complex New automotive applications require more bandwidth Real-time Ethernet is widely deployed in backbones of industrial plants Comparable real-time characteristics in vehicles Motivation 4 / 27

Motivation Low cost performance analysis with time-triggered packet generation: Missing performance analyzer instruments in tool chain Tools for standard switched Ethernet are not suitable Flexible embedded pc based tools gain importance Motivation 5 / 27

Agenda 1 2 Ethernet Measurement Approaches Real-time Ethernet 3 4 Ethernet Measurement Approaches Real-time Ethernet 5 6 / 27

Related Work Ethernet Measurement Approaches Distinction between software and hardware based measurements Ethernet Measurement Approaches Real-time Ethernet 7 / 27

Related Work Ethernet Measurement Approaches Distinction between software and hardware based measurements Collection on one network port only Analyzer NuT Ethernet Measurement Approaches Real-time Ethernet 7 / 27

Related Work Ethernet Measurement Approaches Distinction between software and hardware based measurements Collection on one network port only Distributed measurement with synchronized timebase Analyzer NuT Analyzer Ethernet Measurement Approaches Real-time Ethernet 7 / 27

Related Work Ethernet Measurement Approaches Distinction between software and hardware based measurements Collection on one network port only Distributed measurement with synchronized timebase One physical clock and several network ports Ethernet Measurement Approaches Real-time Ethernet Analyzer NuT 7 / 27

Real-time Ethernet 3 strategies to enable real-time characteristics on Ethernet-based networks Ethernet Measurement Approaches Real-time Ethernet 8 / 27

Real-time Ethernet 3 strategies to enable real-time characteristics on Ethernet-based networks Token-based systems Used in Ethercat in process automation Ethernet Measurement Approaches Real-time Ethernet 8 / 27

Real-time Ethernet 3 strategies to enable real-time characteristics on Ethernet-based networks Token-based systems Used in Ethercat in process automation Bandwidth limiting systems For instance AFDX in Airplanes (A380 and Boeing 787) Ethernet Measurement Approaches Real-time Ethernet 8 / 27

Real-time Ethernet 3 strategies to enable real-time characteristics on Ethernet-based networks Token-based systems Used in Ethercat in process automation Bandwidth limiting systems For instance AFDX in Airplanes (A380 and Boeing 787) Time-triggered systems Automotive industry (FlexRay) and process automation (Profinet) Ethernet Measurement Approaches Real-time Ethernet 8 / 27

Time-Triggered Ethernet 3 Traffic Classes in TTEthernet Ethernet Measurement Approaches Real-time Ethernet 9 / 27

Time-Triggered Ethernet 3 Traffic Classes in TTEthernet 1 Time-Triggered Highest priority and used for hard real-time data Strictest requirements in transmission Ethernet Measurement Approaches Real-time Ethernet 9 / 27

Time-Triggered Ethernet 3 Traffic Classes in TTEthernet 1 Time-Triggered Highest priority and used for hard real-time data Strictest requirements in transmission 2 Rate-Constrained Also suitable for real-time communication Complies to the AFDX protocol Ethernet Measurement Approaches Real-time Ethernet 9 / 27

Time-Triggered Ethernet 3 Traffic Classes in TTEthernet 1 Time-Triggered Highest priority and used for hard real-time data Strictest requirements in transmission 2 Rate-Constrained Also suitable for real-time communication Complies to the AFDX protocol 3 Best-Effort Standard Ethernet traffic No guarantee in transmission Ethernet Measurement Approaches Real-time Ethernet 9 / 27

Time-Triggered Ethernet 3 Traffic Classes in TTEthernet 1 Time-Triggered Highest priority and used for hard real-time data Strictest requirements in transmission 2 Rate-Constrained Also suitable for real-time communication Complies to the AFDX protocol 3 Best-Effort Standard Ethernet traffic No guarantee in transmission Ethernet Measurement Approaches Real-time Ethernet Time synchronization for a global time base Works transparent to the Ethernet-Protocol-Layer 9 / 27

Time-Triggered Ethernet chassis TT TT 0 LIN-BUS RC 0 cycle LIN gateway door t TTE-switch 0 TT RC BE BE TT BE cycle TTE-switch t Ethernet Measurement Approaches Real-time Ethernet BE 0 diagnosis BE BE t t TT RC BE Time-Triggered Message Rate-Constrained Message Best-Effort Message 10 / 27

Agenda 1 2 3 Concept Accessing the Current System Time Assigning Timestamps to Frames 4 Concept Accessing the Current System Time Assigning Timestamps to Frames 5 11 / 27

Problem statement Available OS tools: Tools running in Userspace (e.g. ping, traceroute) Precision in milliseconds provided by OS Scheduling and hardware-layer produce overhead OS tools measure round-trip-time Concept Accessing the Current System Time Assigning Timestamps to Frames 12 / 27

Solution Our approach: Measurement on a low-level base Kernelspace in Linux RT-Linux utilization for enhanced interrupt handling Exact timing behavior by using special functions Concept Accessing the Current System Time Assigning Timestamps to Frames 13 / 27

Concept Assembling Application Calculation Userspace TTEthernet Stack TT Device Driver Timestamping TT-Network under test BE Device Driver Timestamping Kernelspace Hardware Hardware Physical Layer Concept Accessing the Current System Time Assigning Timestamps to Frames 14 / 27

Accessing the Current System Time Precision Jiffies Counter Concept Accessing the Current System Time Assigning Timestamps to Frames Methods 15 / 27

Accessing the Current System Time Precision Jiffies Counter do_gettimeofday() Concept Accessing the Current System Time Assigning Timestamps to Frames Methods 15 / 27

Accessing the Current System Time Precision Jiffies Counter do_gettimeofday() get_cycles() Concept Accessing the Current System Time Assigning Timestamps to Frames Methods 15 / 27

Accessing the Current System Time Precision Jiffies Counter do_gettimeofday() get_cycles() Concept Accessing the Current System Time Assigning Timestamps to Frames Methods 15 / 27

Assigning Timestamps to Frames 2 approaches to get timing information of a single frame 1 Storing information in Kernelspace High implementation cost (limited Kernel functions) Additional information has be stored Concept Accessing the Current System Time Assigning Timestamps to Frames 16 / 27

Assigning Timestamps to Frames 2 approaches to get timing information of a single frame 1 Storing information in Kernelspace High implementation cost (limited Kernel functions) Additional information has be stored 2 Modifying Ethernet frames with timestamps A lightweight approach Assigning timestamps to frames in an easy way Measurement can be done promptly without reading and storing information Ethernet Frame Header Data Measurement Payload CRC Concept Accessing the Current System Time Assigning Timestamps to Frames Send Recv Seq 16 / 27

Agenda 1 2 3 4 Validating the Approach Measurement Results Validating the Approach Measurement Results 5 17 / 27

Validation Sample Measurement 3ms System Schedule for each TT-Frame 350µs static switch delay Server Application receive timestamp BE 1 TT send timestamp 4 3 ms measurement frames 3 system schedule TT-Network under test 2 Validating the Approach Measurement Results 18 / 27

Validation Sample Measurement L a te n c y (µs ) 6 0 0 5 8 0 5 6 0 5 4 0 5 2 0 5 0 0 4 8 0 4 6 0 4 4 0 4 2 0 4 0 0 3 8 0 3 6 0 0 2 0 0 4 0 0 6 0 0 8 0 0 1 0 0 0 1 2 0 0 1 4 0 0 1 6 0 0 F ra m e s iz e (B y te ) s td. c o n fig Validating the Approach Measurement Results 19 / 27

Validation Sample Measurement L a te n c y (µs ) 6 0 0 5 8 0 5 6 0 5 4 0 5 2 0 5 0 0 4 8 0 4 6 0 4 4 0 4 2 0 4 0 0 3 8 0 3 6 0 s td. c o n fig 6 4 B y te th re s h o ld Validating the Approach Measurement Results 0 2 0 0 4 0 0 6 0 0 8 0 0 1 0 0 0 1 2 0 0 1 4 0 0 1 6 0 0 F ra m e s iz e (B y te ) Observation: A specific hardware and driver delay has to be substracted for each measurment 19 / 27

Validation Applied Validation Approaches 1 High precision Ethernet analyzer tool BE Server Application TT 4 system schedule measurement frames 3 ms 3 2 t1 2 port1 1 duplicate measurement frames Ethernet Analyzer t = t2 - t1 TT-Network under test t2 port2 1 Validating the Approach Measurement Results 20 / 27

Validation Applied Validation Approaches 1 High precision Ethernet analyzer tool BE Server Application TT 4 system schedule measurement frames 3 ms 3 t1 port1 duplicate measurement frames Ethernet Analyzer t = t2 - t1 TT-Network under test t2 port2 2 Mathematical framework Analytical method to calculate latency, bandwidth and jitter 2 2 1 1 Validating the Approach Measurement Results 20 / 27

Validation Results in Comparison measurement hardware mathematical approach sniffing model min. framelength 355µs 364µs 355.125µs max. framelength 471µs 479µs 471.445µs Validating the Approach Measurement Results 21 / 27

Validation Results in Comparison measurement hardware mathematical approach sniffing model min. framelength 355µs 364µs 355.125µs max. framelength 471µs 479µs 471.445µs Difference of 9µs is due to the used duplication switch measurement hardware mathematical approach sniffing model min. framelength 355µs 355µs 355.125µs max. framelength 471µs 470µs 471.445µs Validating the Approach Measurement Results 21 / 27

Latency Comparison COTS switch and TTEthernet Switch Validating the Approach Measurement Results 22 / 27

Latency Distribution Graph Validating the Approach Measurement Results 23 / 27

Agenda 1 2 3 4 5 24 / 27

Conclusion: Performance analysis with COTS in single-digit microseconds precision Synchronized packet generation Utilization of RT-Linux, modified device drivers and TTEthernetstack 25 / 27

Conclusion: Outlook: Performance analysis with COTS in single-digit microseconds precision Synchronized packet generation Utilization of RT-Linux, modified device drivers and TTEthernetstack Validation using hardware with specifically low receive and copy delay Adjustment of this approach on an ARM-based micro controller to increase resolution 25 / 27

Thank you! Thank you for your attention! Website of research group: http://www.informatik.haw-hamburg.de/core.html 26 / 27

TTEthernet Synchronization Method End System Sync Master 1. PCF (time) 2. PCF (new Time) End System Sync Client Switch Compression Master 2. PCF (new Time) 2. PCF (new Time) End System Sync Client 1. PCF (time) 2. PCF (new Time) End System Sync Master 27 / 27