A Tool for Describing and Evaluating Hierarchical Real-Time Bus Scheduling Policies Author: Trevor Meyerowitz, Claudio Pinello, Alberto DAC2003, June 24,2003.

Slides:



Advertisements
Similar presentations
A DISTRIBUTED CSMA ALGORITHM FOR THROUGHPUT AND UTILITY MAXIMIZATION IN WIRELESS NETWORKS.
Advertisements

Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Introduction to Embedded Systems Resource Management - III Lecture 19.
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
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.
Presented by: Thabet Kacem Spring Outline Contributions Introduction Proposed Approach Related Work Reconception of ADLs XTEAM Tool Chain Discussion.
1 Prediction-based Strategies for Energy Saving in Object Tracking Sensor Networks Yingqi Xu, Wang-Chien Lee Proceedings of the 2004 IEEE International.
1 On Handling QoS Traffic in Wireless Sensor Networks 吳勇慶.
Project 2 – solution code
CS 3013 & CS 502 Summer 2006 Scheduling1 The art and science of allocating the CPU and other resources to processes.
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 14 1/15 Schedulability Analysis and Optimization for the Synthesis of Multi-Cluster Distributed Embedded Systems Paul Pop, Petru Eles, Zebo Peng Embedded.
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 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.
Differentiated Multimedia Web Services Using Quality Aware Transcoding S. Chandra, C.Schlatter Ellis and A.Vahdat InfoCom 2000, IEEE Journal on Selected.
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.
Chapter 5: CPU Scheduling
Holistic Scheduling and Analysis of Mixed Time/Event-Triggered Distributed Embedded System Traian Pop, Petru Eles, Zebo Peng EE249 Discussion Paper Review.
Wk 2 – Scheduling 1 CS502 Spring 2006 Scheduling The art and science of allocating the CPU and other resources to processes.
By Group: Ghassan Abdo Rayyashi Anas to’meh Supervised by Dr. Lo’ai Tawalbeh.
Evolving Real-Time Systems using Hierarchical Scheduling and Concurrency Analysis John Regehr Alastair Reid Kirk Webb Michael Parker Jay Lepreau School.
Problem Background Motivation Design a task and bus scheduling tool that works with the automotive design process and captures the constraints that the.
Localized Asynchronous Packet Scheduling for Buffered Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York Stony Brook.
Course Outline DayContents Day 1 Introduction Motivation, definitions, properties of embedded systems, outline of the current course How to specify embedded.
Operating System Concepts and Techniques Lecture 5 Scheduling-1 M. Naghibzadeh Reference M. Naghibzadeh, Operating System Concepts and Techniques, First.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
Improving Capacity and Flexibility of Wireless Mesh Networks by Interface Switching Yunxia Feng, Minglu Li and Min-You Wu Presented by: Yunxia Feng Dept.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Scheduling policies for real- time embedded systems.
DESIGNING VM SCHEDULERS FOR EMBEDDED REAL-TIME APPLICATIONS Alejandro Masrur, Thomas Pfeuffer, Martin Geier, Sebastian Drössler and Samarjit Chakraborty.
Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 31 – Multimedia OS (Part 1) Klara Nahrstedt Spring 2011.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
Analysis and Optimization of Mixed-Criticality Applications on Partitioned Distributed Architectures Domițian Tămaș-Selicean, Sorin Ovidiu Marinescu and.
Prepare by : Ihab shahtout.  Overview  To give an overview of fixed priority schedule  Scheduling and Fixed Priority Scheduling.
Uplink Scheduling with Quality of Service in IEEE Networks Juliana Freitag and Nelson L. S. da Fonseca State University of Campinas, Sao Paulo,
6. Application mapping 6.1 Problem definition
Module 2 Overview of Real Time System Scheduling
1 Real-Time Scheduling. 2Today Operating System task scheduling –Traditional (non-real-time) scheduling –Real-time scheduling.
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Message routing in multi-segment FTT networks: the isochronous approach Paulo Pedreiras, Luís Almeida Workshop on Parallel and.
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.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 31 – Process Management (Part 1) Klara Nahrstedt Spring 2009.
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)
CS333 Intro to Operating Systems Jonathan Walpole.
For a good summary, visit:
Fair and Efficient multihop Scheduling Algorithm for IEEE BWA Systems Daehyon Kim and Aura Ganz International Conference on Broadband Networks 2005.
SERENA: SchEduling RoutEr Nodes Activity in wireless ad hoc and sensor networks Pascale Minet and Saoucene Mahfoudh INRIA, Rocquencourt Le Chesnay.
1.  System Characteristics  Features of Real-Time Systems  Implementing Real-Time Operating Systems  Real-Time CPU Scheduling  An Example: VxWorks5.x.
1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
Courtesy Piggybacking: Supporting Differentiated Services in Multihop Mobile Ad Hoc Networks Wei LiuXiang Chen Yuguang Fang WING Dept. of ECE University.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
-1/16- Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks C.-K. Toh, Georgia Institute of Technology IEEE.
Paul Pop, Petru Eles, Zebo Peng
EEE 6494 Embedded Systems Design
Chapter 2 Scheduling.
Chapter 8 – Processor Scheduling
Lottery Scheduling: Flexible Proportional-Share Resource Management
Computer Simulation of Networks
Process Scheduling B.Ramamurthy 11/18/2018.
Chapter 5: CPU Scheduling
Cluster Resource Management: A Scalable Approach
Modeling and Simulation of TTEthernet
CPU SCHEDULING.
NET 424: REAL-TIME SYSTEMS (Practical Part)
Processes and operating systems
Guaranteeing Message Latencies on Controller Area Network (CAN)
Presentation transcript:

A Tool for Describing and Evaluating Hierarchical Real-Time Bus Scheduling Policies Author: Trevor Meyerowitz, Claudio Pinello, Alberto DAC2003, June 24,2003 Presenter : Tsung-Yu Ho (Seminar Book Page 81)

Abstract  We present a tool suite for building, simulating, and analyzing the results of hierarchical descriptions of the scheduling policy for modules sharing a bus in real-time applications. These schedules can be based on a variety of factors including characteristics of messages and time slicing and are represented in a hierarchical tree-like structure that specifies multiple levels of arbitration. This structure can describe many popular arbitration schemes. Our simulator evaluates the specified scheduling structure on a set of message traces for a given bus. We illustrate our approach by applying it to two examples: the SAE Automotive Benchmark and Voice Over IP (VoIP). Although this paper deals with just bus scheduling policies, the approach can be easily extended to other real-time scheduling problems.

Outline  What’s the Problem  Introduction Scheduling policies Propose a tool suite  Related work Various scheduling  Scheduler representation and evaluation Define representation Describe in language Evaluation  Experiment Result SAE Benchmark VoIP Benchmark

What’s the problem  Increased complexity of interaction between blocks  Previous work focus on selecting process mapping and communication topology  Ignore arbitration policy of bus.  In real-time system, most applications have real-time constrained, it is hard to analyze.

Introduction  Focus on the representation and evaluation of various scheduling policies  Real-time message among modules communicating via a shared bus.  Propose a tool suite (called STRANG)  Building, simulating, and analyzing the result of scheduling policy  Provide a simple hierarchical language Describe the arbitration policy Simulate the policy Easy to explore the design space

Scheduling Policies (Related work)  This paper is based on well-known scheduling  Focus on communicating scheduling (via shared bus)  Introduce the popular scheduling as follows: 1.Event-Triggered Scheduling 2.Time-Triggered Scheduling 3.Hybrid Scheduling

1. Event Triggered Scheduling  Based on priority  FIFO ordering : simple to implement  Fixed Priority : simple to implement  EDA (Earliest Deadline First) : best result Dynamically give priority to message  CAN (Control Area Network) bus  Successfully used in event triggered scheduling  Use a fixed priority arbitration scheme Based on id message (id : identifier) Each node can use bus when there is no message being transmitted.  Has more flexible than Time-triggered scheduling

2. Time-Trigger Scheduling  TDMA (Time Division Multiple Access) Policy  Divide a period time into several time slices  Each time slice is assigned to only one node Easy to ensure fairness between the nodes  TTP (Time-Triggered Protocol) bus  Use the TDMA policy A lower arbitration overhead than CAN bus Higher bandwidth utilization  Easy to have latencies Because of non periodic message  Inflexible than CAN bus

3. Hybrid Scheduling  Improve Performance by combining Event- Triggered and Time-Triggered Scheduling  Provide the flexibility of CAN with determinism of TTP  Hybrid approaches usually is used in Multimedia domain (like VoIP)

Outline  What’s the Problem  Introduction Scheduling policies Propose a tool suite  Related work Various scheduling  Scheduler representation and evaluation Define representation Describe in language Evaluation  Experiment Result SAE Benchmark VoIP Benchmark

Definition  A hierarchical arbitration policy schedule message between p entities communicating via a shared bus  P : primary node  M : Message  Z B : Scheduling Policy  M B: a trace on the bus  Goal  Pick the best policy under fitness metric

Characteristics  Message and Nodes  Each message has its own priority Sender-id, receiver-id, size, message-id, arrival-time deadlines of message, time until deadline.  Primary Nodes choose available message to bus  Bus scheduling policy determine which message go first  Metrics  Find the quality metric The number of missed deadlines The overall execution time The average throughput of the bus  Then choose fitness policy

Tree Representation  Arbitration Syntax P : first custom operation A : arbitration node S : primary/sender node PolicyID: policy name used by node Alloc : the style of time allocation used by node Preemption : preemption policy

Sample Trees  CAN Tree  Event-Triggered  TTP Tree  Time-Triggered  Hybrid Tree  Combined two of these

Examples of TTP

Experiment Result (SAE Benchmark)  SAE (Society of Automotive Engineers)  Different protocol at bus speed 100Kbps, 125Kbps, and 250Kbps  53 message type between 7 node  5 second of message trace

SAE Benchmark Evaluation Result (1/1)

SAE Benchmark Evaluation Result(2/2)

Voice over IP Benchmark  G.729A voice codec  10 byte samples every 10 ms  Evaluate 4 types of arbitration policies  EDF, FIFO  Fixed Priority with RMS (Rate Monotonic Scheduling) non-preemptive, shortest periods have the highest priorities.  Fixed Priority with DMS (Deadline Monotonic Scheduling) shortest deadlines get the highest priorities

Conclusion  Formulate the problem of scheduling real- time messages on a shared bus  Show the benefit of using hierarchical arbitration policies for optimizing the schedule  Present a tool that can represent a wide variety of trees, and simulate them using message traces.  The results could easily be generalized to evaluate scheduling policies in a variety of other domains.