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



Similar documents
Response time analysis in AFDX networks with sub-virtual links and prioritized switches

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

AFDX / ARINC 664. Tutorial

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

Latency on a Switched Ethernet Network

AFDX/ARINC 664 Concept, Design, Implementation and Beyond

Experience with the integration of distribution middleware into partitioned systems

Performance Evaluation of Linux Bridge

Voice over IP: RTP/RTCP The transport layer

Earliest Due Date (EDD) [Ferrari] Delay EDD. Jitter EDD

Advanced Networking Voice over IP: RTP/RTCP The transport layer

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

Requirements of Voice in an IP Internetwork

Transport Layer Protocols

Network Simulation Traffic, Paths and Impairment

Technical Bulletin. Arista LANZ Overview. Overview

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

VoIP Bandwidth Calculation

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

Distributed Systems 3. Network Quality of Service (QoS)

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

Network Management Quality of Service I

Technote. SmartNode Quality of Service for VoIP on the Internet Access Link

QoS & Traffic Management

Internet Packets. Forwarding Datagrams

Exam 1 Review Questions

Technical Solution & White Paper. AFDX/ARINC664 End System Testing JS, AIM GmbH

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

Improving Quality of Service

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

Three Key Design Considerations of IP Video Surveillance Systems

Quality of Service (QoS) on Netgear switches

Understanding Latency in IP Telephony

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

Question: 3 When using Application Intelligence, Server Time may be defined as.

D1.2 Network Load Balancing

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

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Objectives. Chapter 5: CPU Scheduling. CPU Scheduler. Non-preemptive and preemptive. Dispatcher. Alternating Sequence of CPU And I/O Bursts

Implementing VoIP support in a VSAT network based on SoftSwitch integration

STANDPOINT FOR QUALITY-OF-SERVICE MEASUREMENT

Network Performance: Networks must be fast. What are the essential network performance metrics: bandwidth and latency

QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

QoS issues in Voice over IP

CMA5000 SPECIFICATIONS Gigabit Ethernet Module

Introduction VOIP in an Network VOIP 3

What is LOG Storm and what is it useful for?

Optimizing Converged Cisco Networks (ONT)

Curso de Telefonía IP para el MTC. Sesión 2 Requerimientos principales. Mg. Antonio Ocampo Zúñiga

Measure wireless network performance using testing tool iperf

Protocols. Packets. What's in an IP packet

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

On real-time delay monitoring in software-defined networks

White paper. Latency in live network video surveillance

Turning Copper into Gold

Understanding Slow Start

Nortel Technology Standards and Protocol for IP Telephony Solutions

Voice Over IP Per Call Bandwidth Consumption

Gigabit Ethernet Design

WhitePaper: XipLink Real-Time Optimizations

Network Performance Evaluation. Throughput. Troy Bennett. Computer Science Department. School of Engineering. California Polytechnic State University

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Chapter 3 ATM and Multimedia Traffic

Clearing the Way for VoIP

MPLS Environment. To allow more complex routing capabilities, MPLS permits attaching a

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

Internet Architecture and Philosophy

Remote I/O Network Determinism

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

Network Layer: Network Layer and IP Protocol

VOICE over IP H.323 Advanced Computer Network SS2005 Presenter : Vu Thi Anh Nguyet

DATA COMMUNICATIONS AND NETWORKING. Solved Examples

Application Note How To Determine Bandwidth Requirements

technology standards and protocol for ip telephony solutions

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

Troubleshooting Common Issues in VoIP

Per-Flow Queuing Allot's Approach to Bandwidth Management

Data Link Layer(1) Principal service: Transferring data from the network layer of the source machine to the one of the destination machine

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

H.323 Traffic Characterization Test Plan Draft Paul Schopis,

Chapter 9. IP Secure

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Ethernet. Ethernet. Network Devices

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

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

Chapter 5 Configuring QoS

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

UNIVERSIDAD FRANCISCO DE PAULA SANTANDER DOMINIOS DE COLISION, SEGMENTACION Y VLAN. Academia Local. Ing. José Martín Calixto Cely

The Basics. Configuring Campus Switches to Support Voice

Quality of Service (QoS)) in IP networks

Module 15: Network Structures

Worst Case Analysis - Network Calculus

Operating Systems Design 16. Networking: Sockets

Fiber Channel Over Ethernet (FCoE)

Effects of Filler Traffic In IP Networks. Adam Feldman April 5, 2001 Master s Project

Transcription:

AFDX networks By: J. Javier Gutiérrez (gutierjj@unican.es) Computers and Real-Time Group, University of Cantabria ArtistDesign Workshop on Real-Time System Models for Schedulability Analysis Santander, 7-8 February 2011 GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 1

Introduction to AFDX networks AFDX (Avionics Full Duplex Switched Ethernet) is a communications network defined in the ARINC-664, Part 7 standard: point to point full duplex Ethernet links (redundant) special purpose switches with preconfigured routing two main types of communication ports: - Sampling Port: the arriving message overwrites the current message stored in the buffer - Queueing Port: the arriving message is appended to a FIFO queue UDP/IP protocol is used for transmission traffic regulation is made in transmission via Virtual Links GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 2

Traffic regulation in AFDX Each virtual link (VL) is characterized by two parameters: the largest Ethernet frame (Lmax): a value in bytes that can be transmitted on the VL the Bandwidth Allocation Gap (BAG): - the minimum interval in milliseconds between Ethernet frames transmitted on the VL - a power of 2 value in the range [1,128] Each virtual link has a FIFO queue for all the fragmented packets: the same VL can be shared by several ports, tasks or partitions - It can cause a poor schedulability of the system there is no way to prioritize messages on a VL GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 3

Maximum jitter The maximum allowed jitter on each VL at the output of the end system should comply with both of the following formulas: MaxJitter 40μs + i { setofvls} (( 20 + Lmax i ) 8) ------------------------------------------------------------------------ N bw MaxJitter 500μs N bw is the speed of the Ethernet link in bits per second 40 μs is the typical minimum fixed technological jitter GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 4

Ethernet frame 64 bytes 7 bytes Preamble 1 byte Start Frame Delimiter 6 bytes 6 bytes Destination Address Source Address 2 bytes Type (0x800 IP V4) IP Structure UDP Structure 20 bytes 8 bytes 46 bytes 4 bytes AFDX Payload 1 to 17 bytes Padding 0 to 16 SN 1 Frame Check Seq 12 bytes Inter Frame Gap 1518bytes 7 bytes Preamble 1 byte Start Frame Delimiter 6 bytes 6 bytes Destination Address Source Address 2 bytes Type (0x800 IP V4) IP Structure UDP Structure 20 bytes 8 bytes 1500 bytes 4 bytes AFDX Payload 1471 bytes SN 1 Frame Check Seq 12 bytes Inter Frame Gap Lmax should be in the interval [64,1518] GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 5

Sub-Virtual Links A virtual link can be composed of a number of Sub-Virtual Links Each Sub-VL has: a dedicated FIFO queue a round robin algorithm working over IP fragmented packets GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 6

Latency in the transmission If fragmentation is not required and the messages are produced at a frequency that is equal to or lower than the BAG of the VL: MaxLatency BAG + MaxJitter + L T L T is the technological latency in the transmission (it should be lower than 150μs). If fragmentation is required or messages are produced in bursts, the latency for packet p (with p-1 packets waiting in the VL FIFO queue): MaxLatency( p) p BAG + MaxJitter + L T GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 7

AFDX switch Transmissions to or from the switch are made using the full capacity of the physical link Packets are delivered in a store and forward way: the hardware latency of the switch should be taken into account A new source of jitter appears in the FIFO queue where packets should wait to be sent to the destination end system GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 8

Latency in the reception Once a message is completely received, it is enqueued at the corresponding AFDX port it could potentially overflow The technological latency of the end system in reception, L R, should be lower than 150μs GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 9

Modelling The model is similar to the one for the analysis of tasks We consider two types of messages: Synchronized: - the release times of these messages are relative to a general and common reference of time - an offset to represent the interval between the start of the MAF (Major Frame) and the earliest release of the message Non-synchronized: messages can be released at any time GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 10

Modelling (cont d) Different types of parameters to model AFDX communication: message stream parameters b - M i, p i, Np i, N i, M b i, p b i, Np b b i, N i, T i, Φ i, J i, Source(σ i ), L i, L i VL parameters - BAG j, Lmax j, SourcePorts(VL j ), DestinationPorts(VL j ) hardware parameters L R b - N bw, L T, L Tmin, J Tech, L R,, L S b Ethernet frame and protocol parameters - O Eth, O Prot, N min GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 11

Latency Model SENDING END SYSTEM RECEIVING END SYSTEM SWITCH C Send L VL L Tr L SW L Tr L Rec C Receive AFDX API Ethernet Hardware Ethernet Hardware AFDX API Physical Links 5 steps in the communication process 2 contention points: queueing in the sending end system (L VL ) and queueing in the switch (L SW ) GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 12

AFDX in MAST-2 Processing Resources - Network: AFDX_Link - Network_Switch: AFDX_Switch Scheduling Policy - AFDX_Policy Scheduling Parameter - AFDX_Virtual_Link Schedulable Resource - Communication_Channel Event Handler - Message_Event_Handler: Message_Delivery, Message_Fork GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 13

AFDX in MAST-2: Network GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 14

AFDX in MAST-2: Scheduling Policy GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 15

AFDX in MAST-2: Scheduling Policy (cont d) AFDX_Policy: messages are scheduled through virtual links messages are scheduled in FIFO order when they are originated at an AFDX switch This policy may only be assigned to a scheduler that has an AFDX_Link as its host GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 16

AFDX in MAST-2: Scheduling Parameters GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 17

AFDX in MAST-2: Schedulable Resource GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 18

AFDX in MAST-2: Schedulable Resource (cont d) DEFAULT_COMMUNICATION_CHANNEL: used for communications through AFDX links when the message is originated at an AFDX switch the implicit scheduling policy is FIFO ordering for the messages GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 19

AFDX in MAST-2: Switch It is capable of delivering messages arriving at an input port to one or more output ports The delivery operations are specified through special-purpose message event handlers MAST does not require to define the network topology (it is implicit in the end-to-end-flow) It is assumed a shared memory switch in which messages do not need to be copied Contention occurs when several messages need to be sent to the same output port, in which case a queue is used at the output port GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 20

AFDX in MAST-2: Switch (cont d) GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 21

AFDX in MAST-2: Message_Event_Handler GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 22

Example: sending a message through a switch CPU1 SWITCH CPU2 Task1 Message Task2 Task1 M1 MD1 M2 Task2 Step: Regular_P Thread Fixed_P_P Step: AFDX Link Comm_Chan AFDX Policy Message_E_H: Switch Step: AFDX Link Default_C_C FIFO Step: Regular_P Thread Fixed_P_P GRUPO DE COMPUTADORES Y TIEMPO REAL By: J. Javier Gutiérrez 23