ARTIST-Relevant Research from Linköping

Similar documents
Memory Architectures for NoC-Based Real-Time Mixed Criticality Systems

FlexRay International Workshop. Protocol Overview

SAFETY-CRITICAL applications have to function correctly

Time Triggered and Event Triggered; Off-line Scheduling

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory

Global Scheduling in Multiprocessor Real-Time Systems

Chapter 39: Concepts of Time-Triggered Communication. Wenbo Qiao

Design Optimization of Multi-Cluster Embedded Systems for Real-Time Applications

Schedule Integration for Time-Triggered Systems

Basic vs. Reliable Multicast

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

TDDD07 Real-time Systems Lecture 10: Wrapping up & Real-time operating systems

PROBABILISTIC SCHEDULING MICHAEL ROITZSCH

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

An Introduction to TTEthernet

Developing deterministic networking technology for railway applications using TTEthernet software-based end systems

An Introduction to FlexRay as an Industrial Network

ZHT: Const Eventual Consistency Support For ZHT. Group Member: Shukun Xie Ran Xin

Real-Time Component Software. slide credits: H. Kopetz, P. Puschner

Schedulability Analysis of the Linux Push and Pull Scheduler with Arbitrary Processor Affinities

4. Hardware Platform: Real-Time Requirements

A Multi-Modal Composability Framework for Cyber-Physical Systems

Non-Uniform Memory Access (NUMA) Architecture and Multicomputers

MATLAB Expo Simulation Based Automotive Communication Design using MATLAB- SimEvent. Sudhakaran M Anand H General Motors

Non-Uniform Memory Access (NUMA) Architecture and Multicomputers

Real-Time Cache Management for Multi-Core Virtualization

Schedulability-Driven Communication Synthesis for Time Triggered Embedded Systems

Scheduling of Parallel Real-time DAG Tasks on Multiprocessor Systems

Real Time Operating Systems and Middleware

Exam Review TexPoint fonts used in EMF.

CONTENTION IN MULTICORE HARDWARE SHARED RESOURCES: UNDERSTANDING OF THE STATE OF THE ART

Synthesis of Fault-Tolerant Embedded Systems

Operating system Dr. Shroouq J.

Amrita Vishwa Vidyapeetham. ES623 Networked Embedded Systems Answer Key

Non-Uniform Memory Access (NUMA) Architecture and Multicomputers

Fault tolerant scheduling in real time systems

Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems. Ghennadii Sivatki

Real-Time Scheduling in Distributed Environments

Scheduling and Optimisation of Heterogeneous Time/Event-Triggered Distributed Embedded Systems

An Empirical Study of High Availability in Stream Processing Systems

Investigation of System Timing Concerns in Embedded Systems: Tool-based Analysis of AADL Models

Dependable Computer Systems

Overall Structure of RT Systems

02 - Distributed Systems

02 - Distributed Systems

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s)

Distributed Systems (ICE 601) Fault Tolerance

Designing Predictable Real-Time and Embedded Systems

Analysis and Optimization of Distributed Real-Time Embedded Systems

Uniprocessor Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Three level scheduling

A Fault Management Protocol for TTP/C

TU Wien. Fault Isolation and Error Containment in the TT-SoC. H. Kopetz. TU Wien. July 2007

Single-Path Programming on a Chip-Multiprocessor System

Computer System Overview

System Models for Distributed Systems

Introduction to Real-Time Communications. Real-Time and Embedded Systems (M) Lecture 15

Real-Time (Paradigms) (47)

Design methodology for multi processor systems design on regular platforms

Knockout Switches. HIGH PERFORMANCE SWITCHES AND ROUTERS Wiley H. JONATHAN CHAO and BIN LIU Instructor: Mansour Rousta Zadeh

Introduction. Chapter 1

Copyright Notice. COMP9242 Advanced Operating Systems S2/2014 Week 9: Real-Time Systems. Real-Time System: Definition

Q.1 Explain Computer s Basic Elements

Real-Time Mixed-Criticality Wormhole Networks

Scheduling Complexity and Scheduling Strategies Scheduling Strategies in TTP Plan

A Fully Preemptive Multiprocessor Semaphore Protocol for Latency-Sensitive Real-Time Applications

Real-Time Architectures 2003/2004. Resource Reservation. Description. Resource reservation. Reinder J. Bril

Introduction to Embedded Systems

Lecture 7: PCM, Cache coherence. Topics: handling PCM errors and writes, cache coherence intro

Enhanced Ethernet Switching Technology. Time Applications. Rui Santos 17 / 04 / 2009

Timing Definition Language (TDL) Concepts, Code Generation and Tools

A Predictable RTOS. Mantis Cheng Department of Computer Science University of Victoria

Communication. Outline

End-to-end Real-time Guarantees in Wireless Cyber-physical Systems

Efficient Throughput-Guarantees for Latency-Sensitive Networks-On-Chip

Fault Tolerance. Goals: transparent: mask (i.e., completely recover from) all failures, or predictable: exhibit a well defined failure behavior

An ERTS is defined by three elements: its architecture, its operation, and the way in which it tolerates faults.

Field buses (part 2): time triggered protocols

Architecture Modeling and Analysis for Embedded Systems

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Router s Queue Management

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Distributed Embedded Systems and realtime networks

Simplified design flow for embedded systems

Outline. Circuit Switching. Circuit Switching : Introduction to Telecommunication Networks Lectures 13: Virtual Things

Hypervisors and Server Flash Satyam Vaghani

An Encapsulated Communication System for Integrated Architectures

Resource Reservation & Resource Servers

Achieving Predictable Multicore Execution of Automotive Applications Using the LET Paradigm

CPU Scheduling. The scheduling problem: When do we make decision? - Have K jobs ready to run - Have N 1 CPUs - Which jobs to assign to which CPU(s)

Empirical Approximation and Impact on Schedulability

Real-Time Communications. LS 12, TU Dortmund

Constructing and Verifying Cyber Physical Systems

DISTRIBUTED COMPUTER SYSTEMS

Performance of Various Levels of Storage. Movement between levels of storage hierarchy can be explicit or implicit

Lecture 7: PCM Wrap-Up, Cache coherence. Topics: handling PCM errors and writes, cache coherence intro

Last time. BGP policy. Broadcast / multicast routing. Link virtualization. Spanning trees. Reverse path forwarding, pruning Tunneling

OS and Hardware Tuning

Assignment 5. Georgia Koloniari

Fault-tolerant techniques

EECS 571 Principles of Real-Time Embedded Systems. Lecture Note #10: More on Scheduling and Introduction of Real-Time OS

Transcription:

ARTIST-Relevant Research from Linköping Department of Computer and Information Science (IDA) Linköping University http://www.ida.liu.se/~eslab/ 1

Outline Communication-Intensive Real-Time Systems Timing Analysis and Optimisation with FlexRay Time -and Buffer Space Analysis for NoCs A Simulator for Distributed Embedded Applications Predictability (even in the presence of faults) Timing Predictability for Multiprocessors Predictability in the Presence of Faults 2

Heterogeneous Distributed Embedded Systems Time triggered cluster: TT tasks Static communication Event triggered cluster: ET tasks Dynamic communication 3

Heterogeneous Distributed Embedded Systems N 0 N 1 N n TT TT TT ET f.p. ET f.p. ET f.p. edf edf edf Hierarchical Scheduler 4

Heterogeneous Distributed Embedded Systems N 0 N 1 N n TT TT TT ET f.p. ET f.p. ET f.p. edf edf edf Hierarchical Scheduler Bus cycle - UCM (TTP&CAN) - FlexRay static phase dynamic phase static phase dynamic phase static phase 5

FlexRey-Based System N 0 N 1 N n TT TT TT ET f.p. ET f.p. ET f.p. edf edf edf Hierarchical Scheduler Bus cycle FlexRay Static phase: TDMA Dynamic phase: Flexible TDMA static phase dynamic phase static phase dynamic phase static phase 6

FlexRey-Based System N 1 N 2 N 3 Host (CPU) Controller-Host Interface (CHI) m b 2/2 Schedule table 2 3 1 3 2 4 1 5 Communication controller m a 1/1 m c 1/3 m e m g m f low high Priority queues m d m h T bus T bus Static segment Dynamic segment Static segment Dynamic segment m a m c m d m e m f m b m g m h MS MS MS MS MS 1 2 3 1 2 3 4 5 1 2 3 123 4 5 MS Static slot counter Dynamic slot counter 1 2 3 4 5 6 7 8 9 101112 Minislot counter 1 2 3 4 5 6 7 8 9 101112 7

Strange Priority Inversions! m 3 FlexRey-Based System m 2 m 1 N 1 N 2 1 3 2 ST = 8 m 1 m 3 ST m 2 MS...... MS 0 DYN slot counter: 1 2 3 1 2 minislot counter: 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9...... 8

FlexRey-Based System Response-time analysis cannot be solved by just extending response time analysis for priority-based scheduling, like for CAN. Determining the number of bus cycles a message has to wait, is - in a simplified formulation - a bin covering problem. 9

FlexRey-Based System Response-time analysis cannot be solved by just extending response time analysis for priority-based scheduling, like for CAN. Determining the number of bus cycles a message has to wait, is - in a simplified formulation - a bin covering problem. Bus access optimisation assign FrameID to nodes and messages determine size of dynamic/static segment ECRTS 06 determine number of static slots 10

Outline Communication-Intensive Real-Time Systems Timing Analysis and Optimisation with FlexRay Time -and Buffer Space Analysis for NoCs A Simulator for Distributed Embedded Applications Predictability (even in the presence of faults) Timing Predictability for Multiprocessors Predictability in the Presence of Faults 11

Time -and Buffer Space Analysis for NoCs S 0,1 S 1,1 S 2,1 S 3,1 P 0,1 P 1,1 P 2,1 P 3,1 τ 1 τ 2 τ 7 S 0,0 S 1,0 S 2,0 S 3,0 P 0,0 P 1,0 τ 9 τ 10 τ 11 P 2,0 τ 8 P 3,0 τ 5 τ 6 τ 3 τ 4 12

Time -and Buffer Space Analysis for NoCs S 0,1 S 1,1 S 2,1 S 3,1 P 0,1 P 1,1 P 2,1 P 3,1 τ 1 τ 2 τ 7 S 0,0 S 1,0 S 2,0 S 3,0 P 0,0 P 1,0 τ 9 τ 10 τ 11 P 2,0 τ 8 P 3,0 τ 5 τ 6 τ 3 τ 4 13

Time -and Buffer Space Analysis for NoCs Scenario in which an application-specific NoC is built Find a communication mapping and the packet release times of all packets and determine the amount of buffer memory at each switch such that No deadline is missed and no buffer overflow occurs The total amount of buffer memory is minimised Message arrival probability is above a specified threshold given a link failure model. 14

Time -and Buffer Space Analysis for NoCs Scenario in which the application is implemented on an existing NoC with given buffer memory at each switch Find a communication mapping and the packet release times of all packets such that No deadline is missed and no buffer overflow occurs Message arrival probability is above a specified threshold given a link failure model. DATE 06 15

Outline Communication-Intensive Real-Time Systems Timing Analysis and Optimisation with FlexRay Time -and Buffer Space Analysis for NoCs A Simulator for Distributed Embedded Applications Predictability (even in the presence of faults) Timing Predictability for Multiprocessors Predictability in the Presence of Faults 16

A Simulator for Distributed Embedded Applications N 1 N 2 τ 1 τ 2 τ 3 τ 4 τ 1 τ 2 τ 3 τ 4 Synchronizer Scheduler1 Scheduler3 Scheduler2 N 1 bus N 2 17

A Simulator for Distributed Embedded Applications N 1 N 2 τ 1 τ 2 τ 3 τ 4 τ 1 τ 2 τ 3 τ 4 Synchronizer TT ET Static Dynamic TT ET N 1 bus N 2 18

A Simulator for Distributed Embedded Applications CAN, TTP, UCM, FlexRay τ 1 τ 2 τ 3 τ 4 Synchronizer TT ET Static Dynamic TT ET N 1 bus N 2 Scheduler specification Protocol specification Scheduler specification 19

A Simulator for Distributed Embedded Applications Compare Scheduling approaches Communication protocols 20

A Simulator for Distributed Embedded Applications Compare Scheduling approaches Communication protocols Interesting issues to look at: Pessimism of analysis Jitter, delay Quality of Control Syntetic applications and actual code 21

Outline Communication-Intensive Real-Time Systems Timing Analysis and Optimisation with FlexRay Time -and Buffer Space Analysis for NoCs A Simulator for Distributed Embedded Applications Predictability (even in the presence of faults) Timing Predictability for Multiprocessors Predictability in the Presence of Faults 22

Predictability τ 1 τ 2 τ 3 WCET τ 1 WCET τ 2 WCET τ 3 τ 1 τ 2 τ 3 23

Predictability τ 1 τ 2 τ 3 τ 1 τ 2 τ 3 cache cache cache private memory private memory private memory shared memory 24

Predictability τ 1 τ 2 Explicit communication τ 3 τ 1 τ 2 τ 3 cache cache cache private memory private memory private memory shared memory 25

Predictability τ 1 τ 2 Implicit communication τ 3 τ 1 τ 2 τ 3 cache cache cache private memory private memory private memory shared memory 26

Predictability τ 1 τ 2 WCET τ? 1 WCET τ 2? WCET τ? 3 τ 3 τ 1 τ 2 τ 3 cache cache cache private memory private memory private memory shared memory 27

Predictability WCET cannot be determined by taking tasks in isolation. WCET analysis has to be brought into the context of system analysis and optimisation. 28

Predictability WCET cannot be determined by taking tasks in isolation. WCET analysis has to be brought into the context of system analysis and optimisation. Trade-offs: Local WCET vs. global schedulability What is the cost of predictability? 29

Another Issue: Faults Transient faults Their number can be much larger than that of permanent faults. Find cost-effective implementations that are fault tolerant and satisfy time constraints. Some Interesting trade-offs! 30

Fault Tolerance Decide which fault tolerance technique to apply: re-execution re-exution&checkpointing replication different techniques can be applied to different tasks 31

Fault Tolerance Decide which fault tolerance technique to apply: re-execution re-exution&checkpointing replication Map the tasks (including eventual replicas) 32

Fault Tolerance Decide which fault tolerance technique to apply: re-execution re-exution&checkpointing replication Map the tasks (including eventual replicas) Decide on transparency Transparent: The schedule of outgoing messages does not depend on occurrence of faults (faults are not visible to the outside). 33

Fault Tolerance Decide which fault tolerance technique to apply: re-execution re-exution&checkpointing replication Map the tasks (including eventual replicas) Decide on transparency Do the analysis/scheduling, considering worst case number of faults (re-executions). Are time constraints satisfied? If not, go back! 34

Fault Tolerance Decide which fault tolerance technique to apply: re-execution re-exution&checkpointing replication Map the tasks (including eventual replicas) Decide on transparency Do the analysis/scheduling, considering worst case number of faults (re-executions). Are time constraints satisfied? If not, go back! Which is the optimal number of check-points? DATE 05 DATE 06 35