Paul Pop, Petru Eles, Zebo Peng

Slides:



Advertisements
Similar presentations
Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
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.
1 An Approach to Real-Time Support in Ad Hoc Wireless Networks Mark Gleeson Distributed Systems Group Dept.
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.
Bogdan Tanasa, Unmesh D. Bordoloi, Petru Eles, Zebo Peng Department of Computer and Information Science, Linkoping University, Sweden December 3, 2010.
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.
Process Scheduling for Performance Estimation and Synthesis of Hardware/Software Systems Slide 1 Process Scheduling for Performance Estimation and Synthesis.
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.
Embedded and Real Time Systems Lecture #4 David Andrews
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.
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.
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.
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 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.
1 Memory and Time-Efficient Schedulability Analysis of Task Sets with Stochastic Execution Times Sorin Manolache, Petru Eles, Zebo Peng Department of Computer.
MobSched: An Optimizable Scheduler for Mobile Cloud Computing S. SindiaS. GaoB. Black A.LimV. D. AgrawalP. Agrawal Auburn University, Auburn, AL 45 th.
1 Adaptive QoS Framework for Wireless Sensor Networks Lucy He Honeywell Technology & Solutions Lab No. 430 Guo Li Bin Road, Pudong New Area, Shanghai,
ROBUST RESOURCE ALLOCATION OF DAGS IN A HETEROGENEOUS MULTI-CORE SYSTEM Luis Diego Briceño, Jay Smith, H. J. Siegel, Anthony A. Maciejewski, Paul Maxwell,
Improving Capacity and Flexibility of Wireless Mesh Networks by Interface Switching Yunxia Feng, Minglu Li and Min-You Wu Presented by: Yunxia Feng Dept.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Energy/Reliability Trade-offs in Fault-Tolerant Event-Triggered Distributed Embedded Systems Junhe Gan, Flavius Gruian, Paul Pop, Jan Madsen.
Euro-Par, A Resource Allocation Approach for Supporting Time-Critical Applications in Grid Environments Qian Zhu and Gagan Agrawal Department of.
In-Vehicle Communication SAN Group RTS Regular Meeting Presentation December 2008.
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,
Analysis and Optimization of Mixed-Criticality Applications on Partitioned Distributed Architectures Domițian Tămaș-Selicean, Sorin Ovidiu Marinescu and.
1 of 14 1/34 Embedded Systems Design: Optimization Challenges Paul Pop Embedded Systems Lab (ESLAB) Linköping University, Sweden.
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)
Task Mapping and Partition Allocation for Mixed-Criticality Real-Time Systems Domițian Tămaș-Selicean and Paul Pop Technical University of Denmark.
A Bit-Map-Assisted Energy- Efficient MAC Scheme for Wireless Sensor Networks Jing Li and Georgios Y. Lazarou Department of Electrical and Computer Engineering,
Real-Time Operating Systems RTOS For Embedded systems.
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
REAL-TIME OPERATING SYSTEMS
TrueTime.
Chapter – 5.2 Static Process Scheduling
Wayne Wolf Dept. of EE Princeton University
Unit OS9: Real-Time and Embedded Systems
Chapter 2 Scheduling.
Channel Allocation (MAC)
Babak Sorkhpour, Prof. Roman Obermaisser, Ayman Murshed
Period Optimization for Hard Real-time Distributed Automotive Systems
Accelerating MapReduce on a Coupled CPU-GPU Architecture
Reconfigurable Hardware Scheduler for RTS
Operating Systems CPU Scheduling.
CprE 458/558: Real-Time Systems
Fault and Energy Aware Communication Mapping with Guaranteed Latency for Applications Implemented on NoC Sorin Manolache, Petru Eles, Zebo Peng {sorma,
Analysis and Evaluation of a New MAC Protocol
Design Optimization of Multi-Cluster Embedded Systems for Real-Time Applications Paul Pop, Petru Eles, Zebo Peng, Viaceslav Izosimov Embedded Systems.
Buffer Space Optimisation with Communication Mapping and Traffic Shaping for NoCs Sorin Manolache, Petru Eles, Zebo Peng Linköping University, Sweden.
Schedulability-Driven Partitioning and Mapping for Multi-Cluster Real-Time Systems Paul Pop, Petru Eles, Zebo Peng, Viaceslav Izosimov Embedded Systems.
Timing Analysis of Mixed-Criticality Hard Real-Time Applications Implemented on Distributed Partitioned Architectures Sorin Ovidiu Marinescu, Domițian.
Modeling and Simulation of TTEthernet
Sorin Manolache, Petru Eles, Zebo Peng {sorma, petel,
{sorma, petel, Performance Analysis of Applications with Stochastic Task Execution Times Sorin Manolache, Petru Eles, Zebo Peng University.
Linköping University, IDA, ESLAB
Department of Electrical Engineering Joint work with Jiong Luo
Optimization of Real-Time Systems with Deadline Miss Ratio Constraints
Guaranteeing Message Latencies on Controller Area Network (CAN)
Anand Bhat*, Soheil Samii†, Raj Rajkumar* *Carnegie Mellon University
Presentation transcript:

Paul Pop, Petru Eles, Zebo Peng Bus Access Optimization for Distributed Embedded Systems Based on Schedulability Analysis Paul Pop, Petru Eles, Zebo Peng Department of Computer and Information Science Linköping University Sweden

Outline Motivation System Architecture Schedulability Analysis Communication Synthesis Experimental Results Conclusions

Motivation and Characteristics Embedded System Design. Scheduling, Communication, Bus Access. Characteristics: - Heterogeneous system architecture. - Fixed priority preemptive scheduling for processes. - Communications using the time-triggered protocol (TPP). H. Kopetz, G. Grünsteidl. TTP-A Protocol for Fault-Tolerant Real-Time Systems. IEEE Computer ‘94

Contributions and Message Contributions: - Proposed a schedulability analysis for distributed hard-real time systems that use the time-triggered protocol. - Developed optimization strategies for the communication synthesis problem. Message: - By optimizing the buss access scheme the “degree of schedulability” of the system can be significantly improved.

Event-Triggered vs. Time-Triggered Event-triggered: activation of processes and transmission of messages is done at the occurrence of significant events. Time-triggered: activation of processes and transmission of messages is done at predefined points in time. processes messages event-triggered time-triggered

Hardware Architecture I/O Interface  Hard real-time distributed systems.  Nodes interconnected by a broadcast communication channel.  Nodes consisting of: TTP controller, CPU, RAM, ROM, I/O interface, (maybe) ASIC.  Communication between nodes is based on the time-triggered protocol. RAM CPU ROM ASIC TTP Controller Node S0 S1 S2 S3 TDMA Round Cycle of two rounds Slot  Bus access scheme: time-division multiple-access (TDMA).  Schedule table located in each TTP controller: message descriptor list (MEDL).

Software Architecture Real-Time Kernel running on the CPU in each node. The worst case administrative overheads are known. Fixed priority preemptive scheduling. Tick scheduler in each kernel. D P3 T P2 P1 CPU N1 N0 Out MBI TTP Controller RTK m2 m1 S0 S1 Round2 event-triggered time-triggered

Problem Formulation Input Output An application modelled as a set of processes. Each process has an execution time, a period, a deadline, and a priority. The system architecture and mapping of processes to nodes are given. Each message has a known size. Output The MEDL for the TTP controllers so that the process set is schedulable on an as cheap (slow) as possible processor set. A schedulability analysis (response time analysis) for hard real-time systems that use the time-triggered protocol for communications.

Scheduling of Messages over TTP messages are dynamically produced by the processes frames are statically determined by the MEDL m1 m2 m3 m4 m5 S0 S1 Round 1 Round 2 Round 3 1. Single message per frame, allocated statically: Static Single Message Allocation (SM) 2. Several messages per frame, allocated statically: Static Multiple Message Allocation (MM) 3. Several messages per frame, allocated dynamically: Dynamic Message Allocation (DM) 4. Several messages per frame, split into packets, allocated dynamically Dynamic Packets Allocation (DP)

Schedulability Analysis Starting point: schedulability analysis for distributed hard real-time systems with communication based on a simple TDMA protocol. K Tindell, J. Clark. Holistic Schedulability Analysis for Distributed Hard Real-Time Systems. Micro’94 Schedulability test: response time ri  deadline Di for each process. The response time ri depends on the communication delay between sending and receiving a message. The communication delay is calculated differently for each of the four approaches to message scheduling over TTP (SM, MM, DM, DP):

Schedulability Analysis (Continued) The communication delay for a message m depends on: m m’ Tmmax S0 S1 Xm 1. Static Single Message Allocation (SM): Tmmax 2. Static Multiple Message Allocation (MM): Tmmax 3. Dynamic Message Allocation (DM): slot sizes in a TDMA round. 4. Dynamic Packets Allocation (DP): slot sizes in a TDMA round, packet size.

Optimizing Buss Access (SM and DM) Process P2 misses its deadline! m2 m1 p1 p2 p3 Swapping m1 with m2: all processes meet their deadlines. m1 m2 p1 p2 p3 Putting m1 and m2 in the same slot: all processes meet their deadline, the communication delays are reduced.

Optimization Strategy The synthesis of the MEDL is performed off-line: optimization process. Comparison of the four messages scheduling approaches: fair only for near-optimal results. Optimization strategies based on Greedy Approaches and Simulated Annealing. Cost function: degree of schedulablity.

Experimental Results Average percentage deviation from the best among the four message scheduling approaches:

Experimental Results (Continued) The quality of the greedy optimization heuristics: Average percentage deviations [%] Number of processes

Conclusions Static priority preemptive process scheduling. Communications based on a time-triggered protocol. Four different message scheduling policies over TTP: - analysis of the communication delays and - optimization strategies for the buss access scheme. Approaches compared using extensive experiments: - guidelines for designers. Optimizing the buss access scheme the “degree of schedulability” of the system can be significantly improved.