A RRIVAL C URVES FOR R EAL -T IME C ALCULUS : THE C AUSALITY P ROBLEM AND ITS S OLUTIONS - Matthieu Moy and Karine Altisen Vasvi Kakkad School of Information.

Slides:



Advertisements
Similar presentations
Auto-Generation of Test Cases for Infinite States Reactive Systems Based on Symbolic Execution and Formula Rewriting Donghuo Chen School of Computer Science.
Advertisements

S YSTEM -W IDE E NERGY M ANAGEMENT FOR R EAL -T IME T ASKS : L OWER B OUND AND A PPROXIMATION Xiliang Zhong and Cheng-Zhong Xu ICCAD 2006, ACM Trans. on.
Delta Debugging and Model Checkers for fault localization
M ODEL CHECKING -Vasvi Kakkad University of Sydney.
Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
Hybrid Systems Presented by: Arnab De Anand S. An Intuitive Introduction to Hybrid Systems Discrete program with an analog environment. What does it mean?
Maintaining Sliding Widow Skylines on Data Streams.
Resource Allocation: Deterministic Analysis. Traffic Model Stochastic Different sample paths with different properties Expected case analysis Deterministic.
Merged Processes of Petri nets Victor Khomenko Joint work with Alex Kondratyev, Maciej Koutny and Walter Vogler.
IE 469 Manufacturing Systems
Synthesis of Embedded Software Using Free-Choice Petri Nets.
I MPLEMENTING S YNCHRONOUS M ODELS ON L OOSELY T IME T RIGGERED A RCHITECTURES Discussed by Alberto Puggelli.
Towards Feasibility Region Calculus: An End-to-end Schedulability Analysis of Real- Time Multistage Execution William Hawkins and Tarek Abdelzaher Presented.
B ELL W ORK : F RIDAY, S EPTEMBER 5 TH Name the property illustrated by –15b + 15b = 0. Solve 2(c – 5) – 2 = 8 + c. Solve |3x – 5| + 4 = 14. Solve 2b –
Continuous Random Variables. For discrete random variables, we required that Y was limited to a finite (or countably infinite) set of values. Now, for.
Abstractions. Outline Informal intuition Why do we need abstraction? What is an abstraction and what is not an abstraction A framework for abstractions.
On-the-fly Model Checking from Interval Logic Specifications Manuel I. Capel & Miguel J. Hornos Dept. Lenguajes y Sistemas Informáticos Universidad de.
Compositional Verification of Timed Systems. A Concept. Bengt Jonsson Leonid Mokrushin Xiaochun Shi Wang Yi Uppsala University Sweden Distributed Embedded.
Design of Fault Tolerant Data Flow in Ptolemy II Mark McKelvin EE290 N, Fall 2004 Final Project.
Kahn’s Principle and the Semantics of Discrete Event Systems Xiaojun Liu EE290N Class Project December 10, 2004.
Abstract Interpretation Part I Mooly Sagiv Textbook: Chapter 4.
A Denotational Semantics For Dataflow with Firing Edward A. Lee Jike Chong Wei Zheng Paper Discussion for.
Data Flow Analysis Compiler Design Nov. 8, 2005.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
Petri Net Modeling for dynamic MM composite Object.
Simulation Waiting Line. 2 Introduction Definition (informal) A model is a simplified description of an entity (an object, a system of objects) such that.
*Department of Computing Science University of Newcastle upon Tyne **Institut für Informatik, Universität Augsburg Canonical Prefixes of Petri Net Unfoldings.
Beyond HyTech Presented by: Ben Horowitz and Rupak Majumdar Joint work with Tom Henzinger and Howard Wong-Toi.
Programming Language Semantics Denotational Semantics Chapter 5 Part III Based on a lecture by Martin Abadi.
Cmpt-225 Simulation. Application: Simulation Simulation  A technique for modeling the behavior of both natural and human-made systems  Goal Generate.
2012: J Paul GibsonTSP: Mathematical FoundationsMAT7003/L5- CountingAndEnumeration.1 MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul.
Formal Techniques for Verification Using SystemC By Nasir Mahmood.
1 Performance Evaluation of Computer Systems By Behzad Akbari Tarbiat Modares University Spring 2009 Introduction to Probabilities: Discrete Random Variables.
Regular Model Checking Ahmed Bouajjani,Benget Jonsson, Marcus Nillson and Tayssir Touili Moran Ben Tulila
A Theoretical Study of Optimization Techniques Used in Registration Area Based Location Management: Models and Online Algorithms Sandeep K. S. Gupta Goran.
Hardware Supported Time Synchronization in Multi-Core Architectures 林孟諭 Dept. of Electrical Engineering National Cheng Kung University Tainan, Taiwan,
Benjamin Gamble. What is Time?  Can mean many different things to a computer Dynamic Equation Variable System State 2.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFunctions.
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
Petri Nets Lecturer: Roohollah Abdipour. Agenda Introduction Petri Net Modelling with Petri Net Analysis of Petri net 2.
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.
Algorithms 1.Notion of an algorithm 2.Properties of an algorithm 3.The GCD algorithm 4.Correctness of the GCD algorithm 5.Termination of the GCD algorithm.
Behavioral Comparison of Process Models Based on Canonically Reduced Event Structures Paolo Baldan Marlon Dumas Luciano García Abel Armas.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Eigenfunctions Fourier Series of CT Signals Trigonometric Fourier.
Capabilities of computing systems Numeric and symbolic Computations A look at Computability theory Turing Machines.
An Introduction to Simulated Annealing Kevin Cannons November 24, 2005.
1 CSEP590 – Model Checking and Automated Verification Lecture outline for July 9, 2003.
Simulation. Types of simulation Discrete-event simulation – Used for modeling of a system as it evolves over time by a representation in which the state.
Ch03-Algorithms 1. Algorithms What is an algorithm? An algorithm is a finite set of precise instructions for performing a computation or for solving a.
DFA foundations Simone Campanoni
R EVERSE E NGINEERING T IME D ISCRETE F INITE D YNAMICAL S YSTEMS : A F EASIBLE U NDERTAKING ? Author: Edgar Delgado-Eckert Presenter: Mehrdad Alizadeh.
OPERATING SYSTEMS CS 3502 Fall 2017
Relations, Functions, and Matrices
CEN352 Dr. Nassim Ammour King Saud University
What is an algorithm? An algorithm is a sequence of unambiguous instructions for solving a problem, i.e., for obtaining a required output for any legitimate.
Modeling Arithmetic, Computation, and Languages
Simone Campanoni DFA foundations Simone Campanoni
What is an algorithm? An algorithm is a sequence of unambiguous instructions for solving a problem, i.e., for obtaining a required output for any legitimate.
Laplace Transform.
Chapter 5 Linear Inequalities and Linear Programming
CSEP590 – Model Checking and Automated Verification
Intervals LL2 section 2.
EE255/CPS226 Discrete Random Variables
Real-Time Calculus (RTC) Reading Group I
Dept. of Electrical & Computer engineering
Program correctness Model-checking CTL
Course: CS60030 FORMAL SYSTEMS
Leonie Ahrendts, Sophie Quinton, Thomas Boroske, Rolf Ernst
Equations & Graphing Algebra 1, Unit 3, Lesson 5.
Presentation transcript:

A RRIVAL C URVES FOR R EAL -T IME C ALCULUS : THE C AUSALITY P ROBLEM AND ITS S OLUTIONS - Matthieu Moy and Karine Altisen Vasvi Kakkad School of Information Technologies University of Sydney

O UTLINE Real Time Calculus Arrival Curves Causality Problem Computing Causality Closure Algorithm Conclusion 2

R EAL T IME C ALCULUS Modeling & Analysis Techniques for Real time systems Computational Analytical Computational Approach Simulation, testing and verification Very precise result Only for one simulation and one instance of system Analytical Approach Based on mathematical equations Gives strict worst case execution times Fast Only for theoretical cases 3 Real Time Calculus

R EAL T IME C ALCULUS RTC – Framework to model and analyse heterogeneous system Models timing property of event streams with curves – Arrival Curves Component – works with input streams and gives output stream as a function of input stream Can not handle the notion of state in System modeling 4 Real Time Calculus

A RRIVAL C URVES 5

Arrival Curves – Function of relative time that constraints the no of events that can occur in an interval of time For Sliding Window ∆ & Arrival Curves ( u,  l )  l (∆) lower bounds and  u (∆) upper bounds on no of events 6 Arrival Curves

A RRIVAL C URVES - N OTATIONS R + - Set of non-negative Reals - R + U {+ ∞} N – Set of Naturals - N U {+ ∞} T – Time – R + or N  - Event Count - R + or N - Event Count - or 7 Arrival Curves

A RRIVAL C URVE – F ORMAL D EFINITION Pair of functions ( u,  l ) in F X F finite, s.t.  l ≤  u ( u,  l ) is satisfiable if cumulative curve R satisfies it - R ╞ ( u,  l ) 8 Arrival Curves

A RRIVAL C URVES - F UNCTIONS Wide-sense increasing function f : T  For f, g : T  9 Arrival Curves

A RRIVAL C URVES – S UB /S UPER A DDITIVITY & S UB /S UPER A DDITIVE C LOSURE Sub additive function f – For all s, t  T. f(t + s) ≥ f(t) + f(s) Sub additive Closure of f – Super additive function f – For all s, t  T. f(t + s) ≤ f(t) + f(s) Super additive Closure of f – 10 Arrival Curves

I MPLICIT C ONSTRAINTS ON A RRIVAL C URVES Some Constraints cause problems – E.g. Deadlock with Generator of Events Spurious counter-example with Formal verification Two types Unreachable Regions – region between curves and sub/super additive closure Forbidden Regions 11 Arrival Curves

C AUSALITY P ROBLEM 12

C AUSALITY P ROBLEM Causal – Pair of curves for which beginning of execution never prevents continuation Having no forbidden regions Causality Problem Curve having forbidden regions Paper describes – algorithm to transform pair of arrival curves to equivalent causal representation 13 Causality Problem

C AUSAL A RRIVAL C URVES Pair of Arrival Curves ( u,  l ) is causal iff “any cumulative curve R satisfies ( u,  l ) up to T can be extended indefinitely into a cumulative curve R’ that also satisfies ( u,  l ).” 14 Causality Problem

C AUSALITY C HARACTERISATION Forbidden region – area between  u and  u  l & area between  l and  l  u 15 Causality Problem

E XAMPLE # events αuαu αlαl α l SA Curve time Forbidden 16 Causality Problem

C OMPUTING C AUSALITY C URVE C Operator – removes forbidden region from pair of curves. Removing forbidden regions on  l will introduce new ones on  u and vice-versa. Remove it until fix-point 17 Computing Causality Curve

C O PERATOR For arrival curve ( α u, α l ), 18 Computing Causality Curve

D ISCRETE F INITE C URVE Restriction of infinite curves on a finite interval ( u | T,  l | T ) – restriction of ( u,  l ) to [0,T] : SA-SA on an interval 19 Discrete Finite Curve

A LGORITHM & E XAMPLE 20

A LGORITHM A  A0 Repeat A  SA-SA-closure(A) /* not mandatory, speeds up convergence and ensures SA-SA */ A’  A A  C (A) Until A ≠ ┴ AC or A’ = A 21 Algorithm & Example

E XAMPLE 22 Example

E XAMPLE – CONTD.. 23 Example

E XAMPLE – CONTD.. 24 Example

E XAMPLE – CONTD.. 25 Example

C ONCLUSION RTC – framework to analyse heterogeneous systems Arrival Curves - ( u,  l ) : Time  no of Events Causal Curve and Causality Problem C operator – Remove forbidden region  Causal curve Algorithm to Compute Causality Closure for finite, discrete graph 26

T HANK Y OU...