Bogdan Tanasa, Unmesh D. Bordoloi, Petru Eles, Zebo Peng Department of Computer and Information Science, Linkoping University, Sweden December 3, 2010.

Slides:



Advertisements
Similar presentations
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
Advertisements

1 of 14 1 /23 Flexibility Driven Scheduling and Mapping for Distributed Real-Time Systems Paul Pop, Petru Eles, Zebo Peng Department of Computer and Information.
Master/Slave Architecture Pattern Source: Pattern-Oriented Software Architecture, Vol. 1, Buschmann, et al.
Restricted Slow-Start for TCP William Allcock 1,2, Sanjay Hegde 3 and Rajkumar Kettimuthu 1,2 1 Argonne National Laboratory 2 The University of Chicago.
Making Services Fault Tolerant
1 of 16 April 25, 2006 Minimizing System Modification in an Incremental Design Approach Paul Pop, Petru Eles, Traian Pop, Zebo Peng Department of Computer.
1 of 14 1/14 Design Optimization of Time- and Cost-Constrained Fault-Tolerant Distributed Embedded Systems Viaceslav Izosimov, Paul Pop, Petru Eles, Zebo.
Communication Scheduling for Time-Triggered SystemsSlide 1 Communication Scheduling for Time-Triggered Systems Paul Pop, Petru Eles and Zebo Peng Dept.
Ashish Gupta Under Guidance of Prof. B.N. Jain Department of Computer Science and Engineering Advanced Networking Laboratory.
1 of 30 June 14, 2000 Scheduling and Communication Synthesis for Distributed Real-Time Systems Paul Pop Department of Computer and Information Science.
1 of 10 April 25, 2001 Minimizing System Modification in an Incremental Design Approach Paul Pop, Petru Eles, Traian Pop, Zebo Peng Department of Computer.
Cache Placement in Sensor Networks Under Update Cost Constraint Bin Tang, Samir Das and Himanshu Gupta Department of Computer Science Stony Brook University.
1 Approximate Solution to an Exam Timetabling Problem Adam White Dept of Computing Science University of Alberta Adam White Dept of Computing Science University.
1 of 14 1/15 Schedulability Analysis and Optimization for the Synthesis of Multi-Cluster Distributed Embedded Systems Paul Pop, Petru Eles, Zebo Peng Embedded.
Reliability-Aware Frame Packing for the Static Segment of FlexRay Bogdan Tanasa, Unmesh Bordoloi, Petru Eles, Zebo Peng Linkoping University, Sweden 1.
1 of 14 1 Fault-Tolerant Embedded Systems: Scheduling and Optimization Viacheslav Izosimov, Petru Eles, Zebo Peng Embedded Systems Lab (ESLAB) Linköping.
Scheduling with Optimized Communication for Time-Triggered Embedded Systems Slide 1 Scheduling with Optimized Communication for Time-Triggered Embedded.
1 of 16 March 30, 2000 Bus Access Optimization for Distributed Embedded Systems Based on Schedulability Analysis Paul Pop, Petru Eles, Zebo Peng Department.
Secure routing for structured peer-to-peer overlay networks (by Castro et al.) Shariq Rizvi CS 294-4: Peer-to-Peer Systems.
1 of 12 May 3, 2000 Performance Estimation for Embedded Systems with Data and Control Dependencies Paul Pop, Petru Eles, Zebo Peng Department of Computer.
Jan 6-10th, 2007VLSI Design A Reduced Complexity Algorithm for Minimizing N-Detect Tests Kalyana R. Kantipudi Vishwani D. Agrawal Department of Electrical.
1 Oct 2, 2003 Design Optimization of Mixed Time/Event-Triggered Distributed Embedded Systems Traian Pop, Petru Eles, Zebo Peng Embedded Systems Laboratory.
1 of 14 1 Analysis and Synthesis of Communication-Intensive Heterogeneous Real-Time Systems Paul Pop Computer and Information Science Dept. Linköpings.
1 of 14 1/15 Design Optimization of Multi-Cluster Embedded Systems for Real-Time Applications Paul Pop, Petru Eles, Zebo Peng, Viaceslav Izosimov Embedded.
Holistic Scheduling and Analysis of Mixed Time/Event-Triggered Distributed Embedded System Traian Pop, Petru Eles, Zebo Peng EE249 Discussion Paper Review.
1 of 14 1 Scheduling and Optimization of Fault- Tolerant Embedded Systems Viacheslav Izosimov Embedded Systems Lab (ESLAB) Linköping University, Sweden.
A Tool for Partitioning and Pipelined Scheduling of Hardware-Software Systems Karam S Chatha and Ranga Vemuri Department of ECECS University of Cincinnati.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Thermal-Aware SoC Test Scheduling with Test Set Partitioning and Interleaving Zhiyuan He 1, Zebo Peng 1, Petru Eles 1 Paul Rosinger 2, Bashir M. Al-Hashimi.
1 of 16 June 21, 2000 Schedulability Analysis for Systems with Data and Control Dependencies Paul Pop, Petru Eles, Zebo Peng Department of Computer and.
1 Making Services Fault Tolerant Pat Chan, Michael R. Lyu Department of Computer Science and Engineering The Chinese University of Hong Kong Miroslaw Malek.
1 of 14 1 / 18 An Approach to Incremental Design of Distributed Embedded Systems Paul Pop, Petru Eles, Traian Pop, Zebo Peng Department of Computer and.
A Tool for Describing and Evaluating Hierarchical Real-Time Bus Scheduling Policies Author: Trevor Meyerowitz, Claudio Pinello, Alberto DAC2003, June 24,2003.
DATE Optimizations of an Application- Level Protocol for Enhanced Dependability in FlexRay Wenchao Li 1, Marco Di Natale 2, Wei Zheng 1, Paolo Giusto.
Seyed Mohamad Alavi, Chi Zhou, Yu Cheng Department of Electrical and Computer Engineering Illinois Institute of Technology, Chicago, IL, USA ICC 2009.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Towards a Contract-based Fault-tolerant Scheduling Framework for Distributed Real-time Systems Abhilash Thekkilakattil, Huseyin Aysan and Sasikumar Punnekkat.
Internet Traffic Engineering by Optimizing OSPF Weights Bernard Fortz (Universit é Libre de Bruxelles) Mikkel Thorup (AT&T Labs-Research) Presented by.
An Improved Algorithm to Accelerate Regular Expression Evaluation Author: Michela Becchi, Patrick Crowley Publisher: 3rd ACM/IEEE Symposium on Architecture.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Dependable communication synthesis for distributed embedded systems Nagarajan Kandasamy, John P. Hayes, Brian T. Murray Presented by John David Eriksen.
Scheduling policies for real- time embedded systems.
Integrated Scheduling and Synthesis of Control Applications on Distributed Embedded Systems Soheil Samii 1, Anton Cervin 2, Petru Eles 1, Zebo Peng 1 1.
In-Vehicle Communication SAN Group RTS Regular Meeting Presentation December 2008.
QoS Routing in Networks with Inaccurate Information: Theory and Algorithms Roch A. Guerin and Ariel Orda Presented by: Tiewei Wang Jun Chen July 10, 2000.
Immune Genetic Algorithms for Optimization of Task Priorities and FlexRay Frame Identifiers Soheil Samii 1, Yanfei Yin 1,2, Zebo Peng 1, Petru Eles 1,
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
5 May CmpE 516 Fault Tolerant Scheduling in Multiprocessor Systems Betül Demiröz.
Dynamic Scheduling and Control-Quality Optimization of Self-Triggered Control Applications Soheil Samii, Petru Eles, Zebo Peng Department of Computer and.
Optimal Resource Allocation for Protecting System Availability against Random Cyber Attack International Conference Computer Research and Development(ICCRD),
DTM and Reliability High temperature greatly degrades reliability
1 of 14 1/34 Embedded Systems Design: Optimization Challenges Paul Pop Embedded Systems Lab (ESLAB) Linköping University, Sweden.
Synthesis of Communication Schedules for TTEthernet-based Mixed-Criticality Systems Domițian Tămaș-Selicean 1, Paul Pop 1 and Wilfried Steiner 2 1 Technical.
Technische Universität München On the Quantification of Sustainability and Extensibility of FlexRay Schedules Reinhard Schneider, Dip Goswami, Samarjit.
Turbo Codes. 2 A Need for Better Codes Designing a channel code is always a tradeoff between energy efficiency and bandwidth efficiency. Lower rate Codes.
1 of 14 1/15 Schedulability-Driven Frame Packing for Multi-Cluster Distributed Embedded Systems Paul Pop, Petru Eles, Zebo Peng Embedded Systems Lab (ESLAB)
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
Fault-Tolerant Rate- Monotonic Scheduling Sunondo Ghosh, Rami Melhem, Daniel Mosse and Joydeep Sen Sarma.
Undergraduate course on Real-time Systems Linköping TDDD07 Real-time Systems Lecture 5: Real-time Communication Simin Nadjm-Tehrani Real-time Systems Laboratory.
Reliable energy management System reliability is affected by use of energy management The use of DVS increases the probability of faults, thus damaging.
Prabhat Kumar Saraswat Paul Pop Jan Madsen
Paul Pop, Petru Eles, Zebo Peng
Algorithm Analysis CSE 2011 Winter September 2018.
Period Optimization for Hard Real-time Distributed Automotive Systems
Fault and Energy Aware Communication Mapping with Guaranteed Latency for Applications Implemented on NoC Sorin Manolache, Petru Eles, Zebo Peng {sorma,
Introduction Wireless Ad-Hoc Network
Networked Real-Time Systems: Routing and Scheduling
Sorin Manolache, Petru Eles, Zebo Peng {sorma, petel,
Anand Bhat*, Soheil Samii†, Raj Rajkumar* *Carnegie Mellon University
Presentation transcript:

Bogdan Tanasa, Unmesh D. Bordoloi, Petru Eles, Zebo Peng Department of Computer and Information Science, Linkoping University, Sweden December 3,

Today’s cars are a complex distributed embedded system with multiple electronic components 2 Automotive electronics are also affected by faults [Corno et. al. 2004, Zanoni et. al. 1993] Automotive electronics are also affected by faults [Corno et. al. 2004, Zanoni et. al. 1993]

 Automotive applications are safety-critical ◦ Guaranteeing reliability is mandatory  No room for errors whatever may be the cause ◦ Hard real-time constraints 3

 We focus on in-vehicle communication  Reliable message scheduling over FlexRay based automotive networks ◦ Via temporal fault-tolerance  Retransmissions ◦ At a minimum bandwidth utilization cost 4

 Supported by a large consortium ◦ Car manufacturers ◦ Automotive suppliers  Expected to become the de facto standard in automotive communication  Hybrid protocol ◦ FlexRay combines features of time-triggered and event-triggered protocols  We focus on the Static Segment 5

 System Model  Reliability Analysis  Motivational Example  CLP-based Formulation  Heuristic Solution  Experimental Results  Conclusions 6

7 1. Messages2. FlexRay Protocol3. Fault Model OffsetLength of the FlexRay cycleTime unit PeriodLength of the Static SegmentReliability goal DeadlineNumber of available slotsBit Error Rate LengthProbability of failure Length of the FlexRay Cycle Length of the Static Segment Static Slots Length of the Dynamic Segment

8 FlexRay Bus ECU 1 ECU 2 ECU M The case of transient faults Temperature variation Electromagnetic interferences Radiations The case of transient faults Temperature variation Electromagnetic interferences Radiations 3. Fault Model Time unit Reliability goal Bit Error Rate Probability of failure BER

9 The particular case of one message Probability to have the initial transmission faulty: Probability to have k consecutive retransmissions faulty : Probability to have at least one successful transmission in the case of k consecutive retransmissions for one instance: Probability to have at least one successful transmission in the case of k consecutive retransmissions for all instances over a time unit:

10 The general case of more then one message Preliminaries : 1.Different messages can be retransmitted for different number of times 2.Faults in messages are independent events The probability to have at least one successful transmission for all instances of all messages: Preliminaries : 1.Different messages can be retransmitted for different number of times 2.Faults in messages are independent events The probability to have at least one successful transmission for all instances of all messages:

Problem: What are the minimum number of retransmissions which have to be performed for each message in part such that the reliability goal is achieved? 11

time (ms) Cycle 1 Cycle 2 Cycle 3 M2: T = 2, D = 0.4, p = 0.4 M1: T = 3, D = 2.5, p = 0.6 FC = 2, ST = 2, NS = 5 = 6, = 0.09 FC = 2, ST = 2, NS = 5 = 6, = utilized slots (1-p 1 ) 2 x (1-p 2 ) 3 = < utilized slots (1-p 1 ) 2 x (1-p 2 ) 3 = < utilized slots (1 – p 3 1 ) 2 x (1 – p 2 ) 3 = > utilized slots (1 – p 3 1 ) 2 x (1 – p 2 ) 3 = > utilized slots (1 – p 1 ) 2 x (1 – p 2 2 ) 3 = > utilized slots (1 – p 1 ) 2 x (1 – p 2 2 ) 3 = > 0.09

time (ms) Cycle 1 Cycle 2 Cycle 3 M2: T = 2, D = 0.4, p = 0.4 M1: T = 3, D = 2.5, p = 0.6 FC = 2, ST = 2, NS = 5 = 6, = 0.09 FC = 2, ST = 2, NS = 5 = 6, = utilized slots (1 – p 1 ) 2 x (1 – p 2 2 ) 3 = > utilized slots (1 – p 1 ) 2 x (1 – p 2 2 ) 3 = >

14 Message params FlexRay params Reliability goal Message params FlexRay params Reliability goal Input Fault tolerant schedule Output Solver (CLP based) Solver (CLP based) Optimization objective Minimize the total number of used slots Reliability constraints Scheduling constraints

 A schedule represents an assignment of messages to slots  Scheduling constraints ◦ All instances of a given message have to accommodate k retransmissions until the deadline ◦ Sharing slots between messages is not allowed ◦ Ensuring the temporal order of retransmissions 15

16 Get the required number of retransmissions Failure Feedback Loop Final output Get the schedule Stage II Identify critical messages Stage III Get the required number of retransmissions Stage I

 Lower bound ◦ The minimum number of retransmissions is defined as the smallest k for which: ◦ Particular case: 17

Definition: A group is a set of messages which can satisfy the reliability goal using the lower bounds  Greedily build groups of messages which satisfy the reliability goal  Combine the groups to reach the global goal 18

 Example: 19 MessagePeriodDeadlineLength Lower bound Reliability M X M M M M M Group 1Group 2Group 3 M1 M3 M6M2 M5M4 Reliability

Get the schedule 20 Get the required number of retransmissions Stage I Failure Feedback Loop Final output Identify critical messages Stage III Stage II

 Once the values of k are computed the scheduler is invoked (Stage II)  Identify messages which might have created bottlenecks ◦ Based on the scheduling constraints  Formulated as a CLP problem ◦ Heuristic search based on the limited discrepancy search algorithm 21

Search space for Stage III Values given by Stage I Lower bounds k* k*k* Minimize:

 Example 23 Message Period (ms) Deadline (ms) Length (bits) M M M M Lower bounds k Reliable Schedulable? X X Stage IStage II Lower bounds k Reliable Stage III Schedulable ? Message Period (ms) Deadline (ms) Length (bits) M M M M Lower bound k Reliable Recall Stage I for M1, M3, M4 Who is responsible for the fact that M2 and M4 are NOT schedulable? M2 is responsible !

 3 methods are compared: ◦ Optimal-CLP  The CLP-based formulation ◦ H-CLP  Heuristic approach for computing the required number of retransmissions  Optimal implementation of message scheduling (Stage II) ◦ H-H  Heuristic approach for computing the required number of retransmissions  Heuristic approach for obtaining the schedule 24

 Small test cases ◦ The CLP formulation runs in reasonable amount of time and the optimal solution is provided 25 93%

 Large test cases ◦ The CLP formulation is NOT able to run and the optimal solution is NOT provided 26 95%

 A method for synthesizing reliable schedules on the FlexRay bus has been presented: ◦ Number of needed retransmissions is determined ◦ For each message and retransmission a slot is assigned  Easy to generalize the proposed method to classes of messages with different reliability constraints 27

28

29 Compute the lower bounds Sort the messages in the decreasing order of the PS i values Sort the messages in the decreasing order of the PS i values Identify the biggest group for which: Update the reliability goal Recursively call the algorithm for the remaining messages Recursively call the algorithm for the remaining messages The worst case time complexity: O(N 2 log N) The worst case time complexity: O(N 2 log N)

 The addressed problem is NP-complete ◦ Efficient heuristic is needed  A 3 stage approach ◦ Identify the required number of retransmissions  Reliability analysis ◦ Test the scheduling constraints ◦ Feedback loop  Identify critical messages 30

 Messages for which are declared to be critical ◦ The lower bound will be used for them ◦ Recall Stage I for the remaining messages  Stops when: ◦ the schedule is build, or ◦ the method cannot identify any other critical messages  Critical messages cannot form a group 31