EnricoBini Modeling event-driven real-time application using DAGs CarloVitucci GiuseppeLipari Scuola Superiore A.Anna Ericsson Lab Italy.

Slides:



Advertisements
Similar presentations
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
Advertisements

Simulation of Feedback Scheduling Dan Henriksson, Anton Cervin and Karl-Erik Årzén Department of Automatic Control.
Solving LP Models Improving Search Special Form of Improving Search
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Vered Gafni – Formal Development of Real Time Systems 1 Statecharts Semantics.
Real-Time Library: RTX
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Resource Reclaiming (Contd.)
CSE 522 Real-Time Scheduling (4)
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Timed Automata.
Probabilistic Verification of Discrete Event Systems using Acceptance Sampling Håkan L. S. YounesReid G. Simmons Carnegie Mellon University.
Compatibility between shared variable valuations in timed automaton network model- checking Zhao Jianhua, Zhou Xiuyi, Li Xuandong, Zheng Guoliang Presented.
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Dynamic Planning Based Scheduling.
- 1 -  P. Marwedel, Univ. Dortmund, Informatik 12, 05/06 Universität Dortmund Hardware/Software Codesign.
Probabilistic Verification of Discrete Event Systems Håkan L. S. Younes Reid G. Simmons (initial work performed at HTC, Summer 2001)
Lab Meeting Performance Analysis of Distributed Embedded Systems Lothar Thiele and Ernesto Wandeler Presented by Alex Cameron 17 th August, 2012.
Ordering and Consistent Cuts Presented By Biswanath Panda.
Hybrid Approach to System-Level Performance Analysis Simon Künzli Bologna, May 22, 2006 contains joint work with Francesco Poletti, Luca Benini, and Lothar.
Courseware Path-Based Scheduling Sune Fallgaard Nielsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens Plads,
. Hidden Markov Model Lecture #6 Background Readings: Chapters 3.1, 3.2 in the text book, Biological Sequence Analysis, Durbin et al., 2001.
Scheduling Using Timed Automata Borzoo Bonakdarpour Wednesday, April 13, 2005 Selected Topics in Algorithms and Complexity (CSE960)
Applications Of The Definite Integral The Area under the curve of a function The area between two curves.
Probabilistic Verification of Discrete Event Systems Håkan L. S. Younes.
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
ECE Synthesis & Verification - LP Scheduling 1 ECE 667 ECE 667 Synthesis and Verification of Digital Circuits Scheduling Algorithms Analytical approach.
Ph. D. candidate Scuola Superiore S.Anna Pisa - Italy Designing Real-Time Software visiting prof. Baruah Univ. of North Carolina Chapel Hill - NC.
Cmpt-225 Simulation. Application: Simulation Simulation  A technique for modeling the behavior of both natural and human-made systems  Goal Generate.
LP formulation of Economic Dispatch
Universität Dortmund  P. Marwedel, Univ. Dortmund, Informatik 12, 2003 Hardware/software partitioning  Functionality to be implemented in software.
From Constraints to Finite Automata to Filtering Algorithms Mats Carlsson, SICS Nicolas Beldiceanu, EMN
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
The Design of an EDF- Scheduled Resource-Sharing Open Environment Nathan Fisher Wayne State University Marko Bertogna Scuola Superiore Santa’Anna of Pisa.
Task Scheduling By Dr. Amin Danial Asham.
Partizionamento HW/SW nell'implementazione di sistemi real-time su FPGA con softcore.
Operating Systems Process Management.
Chapter 5B: Hardware/Software Codesign / Partitioning EECE **** Embedded System Design.
The Global Limited Preemptive Earliest Deadline First Feasibility of Sporadic Real-time Tasks Abhilash Thekkilakattil, Sanjoy Baruah, Radu Dobrin and Sasikumar.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Design and Analysis of Real-Time Software REal TIme System Laboratory Scuola Superiore S.Anna G. Lipari E. Bini Ericsson Lab Italia C. Vitucci.
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
6. A PPLICATION MAPPING 6.3 HW/SW partitioning 6.4 Mapping to heterogeneous multi-processors 1 6. Application mapping (part 2)
1 Outline:  Optimization of Timed Systems  TA-Modeling of Scheduling Tasks  Transformation of TA into Mixed-Integer Programs  Tree Search for TA using.
Undergraduate course on Real-time Systems Linköping 1 of 45 Autumn 2009 TDDC47: Real-time and Concurrent Programming Lecture 5: Real-time Scheduling (I)
Real-Time Support for Mobile Robotics K. Ramamritham (+ Li Huan, Prashant Shenoy, Rod Grupen)
High-Level Synthesis-II Virendra Singh Indian Institute of Science Bangalore IEP on Digital System IIT Kanpur.
Chapter 3 System Performance and Models Introduction A system is the part of the real world under study. Composed of a set of entities interacting.
CSE 522 Real-Time Scheduling (2)
Behavioral Comparison of Process Models Based on Canonically Reduced Event Structures Paolo Baldan Marlon Dumas Luciano García Abel Armas.
9.3 – Linear Equation and Inequalities 1. Linear Equations 2.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
Double-tank Process Hybrid Controller: Time-optimal controller –achieve fast step-change response and is used when states are far away from the reference.
CDP Tutorial 3 Basics of Parallel Algorithm Design uses some of the slides for chapters 3 and 5 accompanying “Introduction to Parallel Computing”, Addison.
Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2012 年 12 月 19 日 These slides use Microsoft clip.
Probabilistic Verification of Discrete Event Systems Håkan L. S. Younes.
Introduction to Real-Time Systems
System Hardware FPU – Floating Point Unit –Handles floating point and extended integer calculations 8284/82C284 Clock Generator (clock) –Synchronizes the.
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
Review for E&CE Find the minimal cost spanning tree for the graph below (where Values on edges represent the costs). 3 Ans. 18.
Uses some of the slides for chapters 3 and 5 accompanying “Introduction to Parallel Computing”, Addison Wesley, 2003.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
Fault-Tolerant Rate- Monotonic Scheduling Sunondo Ghosh, Rami Melhem, Daniel Mosse and Joydeep Sen Sarma.
Class Scheduling Using Constraint Satisfaction Victoria Donelson Garrett Grimsley.
Section 4.4 The Fundamental Theorem of Calculus. We have two MAJOR ideas to examine in this section of the text. We have been hinting for awhile, sometimes.
Istituto di Tecnologie della Comunicazione dell’Informazione e della Percezione Explicit Preemption Point (EPP) placement for conditional code Marko Bertogna.
Distributed Process Scheduling- Real Time Scheduling Csc8320(Fall 2013)
Undergraduate course on Real-time Systems Linköping TDDD07 – Real-time Systems Lecture 1: Introduction & Scheduling I Simin Nadjm-Tehrani Real-time Systems.
Chapter 9 Integer Programming
Elastic Task Model For Adaptive Rate Control
Presentation transcript:

EnricoBini Modeling event-driven real-time application using DAGs CarloVitucci GiuseppeLipari Scuola Superiore A.Anna Ericsson Lab Italy

Our Approach Preliminar study of the application Analysis of the results Model definition Goal definition Linear Programming Algorithm

Results of the preliminar study Both tasks and external environment generate events Tasks are activated by events configurations The application is composed by tasks and events Graph structured application!!!

The task  i Condition of activation First instant of execution t i Worst case computation time C i Instant of execution end t i +C i Non-preemptive hypothesis!! Events/signals generated at the end of  i.

Activation condition Receiving a signal (Precedence constraint). Receiving all the signals in a set (AND-synchronization constraint). Receiving at least one signal in a set (OR-synchronization constraint). Receiving a signal and the condition x i is true (Conditional constraint). Waiting only W k for receiving a signal (Timeout constraint).

The precedence constraint 11 22Graphicalrepresentation t1t1 C1C1 t2t2 View in the t-space The timeline 11 22 t1t1 t2t2 C2C2 C1C1 t

The AND-synchronization constraint t1t1 C2C2 t2t2 C1C1 t3t3 View in the t-space 11 22 t1t1 t2t2 C2C2 C1C1 t 22 11 33 33 C3C3 t3t3 Graphical representation The timeline

The OR-synchronization constraint 22 11 33 Graphical representation t1t1 C2C2 t2t2 t3t3 View in the t-space 11 22 t1t1 t2t2 C2C2 C1C1 t 33 C3C3 t3t3 The timeline

The conditional constraint 11 22 t2t2 t1t1 C1C1 C2C2 t 22 11 33 33 C3C3 t3t3 xixi TRUE FALSE T F Behaviour in the t-space Where M is big enough to make meaningless the rest. The timeline Graphicalrepresentation

The timeout constraint 22 11 33 RECEIVED WkWk xx TIMEOUT The timeline 22 C1C1 C2C2 xx t1t1 tt3t3 11 33 C3C3 R CxCx t2t2 txtx WkWk Behaviour in the t-space

The number of CPU bounds the concurrency (Non-concurrency constraint). Does the hardware imply any constraint? There could be a time interval [a,b] when the CPU is not completely available (CPU bandwidth constraint). What about using a hybrid multiprocessor? (Hybrid CPUs condition)

The non-concurrency constraint The timeline 11 22 t1t1 t2t2 C2C2 C1C1 t Formal definition The non-concurrency constraint is equivalent to: “  1 precedes  2 or  2 precedes  1 ” t1t1 C1C1 t2t2 View in the t-space C2C2

CPU bandwidth constraint Formal definition In the time interval [a,b], the CPU utilization must be U < 1. t1t1 t2t2 View in the t-space Example If the precedence  1  2 holds and t 2 is close to [a,b],  2 must be delayed accordingly.

Hybrib CPUs condition x ip is 1 if  i executes on processor p 0 otherwise. Depending on the CPU, the Worst Case Computation Time is different!! C ip as the WCET of task  i on processor p So we define: The execution of  i so ends at t i +x i1 C i1 +x i2 C i2 +…+x iP C iP. An additional constraint is x i1 +x i2 +…+x iP =1.

Let’s put all togheter The constraints define an admissible region in the variable space titi tjtj After the definition of a cost function… … we can perform a Linear Programming algorithm to hunt for the optimum!!

This is the last slide So far… We are developing the model to capture the application features. We are searching LP algorithms present in the literature. Soon we will … …define a good cost function …develop a new algorithm to find such optimum!!