Q uantitative E valuation of E mbedded S ystems QUESTION DURING CLASS?

Slides:



Advertisements
Similar presentations
Chapter 6 Matrix Algebra.
Advertisements

Ch 7.6: Complex Eigenvalues
5.4 Basis And Dimension.
Chapter 4 Retiming.
Totally Unimodular Matrices
A simple example finding the maximum of a set S of n numbers.
Lecture 17 Path Algebra Matrix multiplication of adjacency matrices of directed graphs give important information about the graphs. Manipulating these.
Elementary Linear Algebra Anton & Rorres, 9th Edition
The General Linear Model. The Simple Linear Model Linear Regression.
Investigate 1. Draw a dot on a piece of paper 2. Draw a second dot 3. Connect the dots with a straight line 4. Draw a third dot – draw as many straight.
Symmetric Matrices and Quadratic Forms
1 Maximizing Lifetime of Sensor Surveillance Systems IEEE/ACM TRANSACTIONS ON NETWORKING Authors: Hai Liu, Xiaohua Jia, Peng-Jun Wan, Chih- Wei Yi, S.
ECE734 VLSI Arrays for Digital Signal Processing Algorithm Representations and Iteration Bound.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
Chapter 6 Eigenvalues.
Pipelining and Retiming 1 Pipelining  Adding registers along a path  split combinational logic into multiple cycles  increase clock rate  increase.
Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Orthogonality and Least Squares
ECE Synthesis & Verification 1 ECE 667 ECE 667 Synthesis and Verification of Digital Systems Retiming.
Table of Contents Matrices - Multiplication Assume that matrix A is of order m  n and matrix B is of order p  q. To determine whether or not A can be.
Solving quadratic equations Factorisation Type 1: No constant term Solve x 2 – 6x = 0 x (x – 6) = 0 x = 0 or x – 6 = 0 Solutions: x = 0 or x = 6 Graph.
Applied Discrete Mathematics Week 10: Equivalence Relations
Graphing Linear Equations
Boyce/DiPrima 9th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
Q uantitative E valuation of E mbedded S ystems 1.Periodic schedules are linear programs 2.Latency analysis of a periodic source 3.Latency analysis of.
Eigenvalue Problems Solving linear systems Ax = b is one part of numerical linear algebra, and involves manipulating the rows of a matrix. The second main.
Slide Chapter 7 Systems and Matrices 7.1 Solving Systems of Two Equations.
Multivariate Statistics Matrix Algebra II W. M. van der Veld University of Amsterdam.
2 2.1 © 2016 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
Chapter 3 Application of Derivatives 3.1 Extreme Values of Functions Absolute maxima or minima are also referred to as global maxima or minima.
8.1 Matrices & Systems of Equations
Do Now: Evaluate: 3AB. Algebra II 3.7: Evaluate Determinants HW: p.207 (4-14 even) Test : Friday, 12/6.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
Multivariate Statistics Matrix Algebra I W. M. van der Veld University of Amsterdam.
5 5.2 © 2012 Pearson Education, Inc. Eigenvalues and Eigenvectors THE CHARACTERISTIC EQUATION.
Systems of Equations and Inequalities Systems of Linear Equations: Substitution and Elimination Matrices Determinants Systems of Non-linear Equations Systems.
1 Prune-and-Search Method 2012/10/30. A simple example: Binary search sorted sequence : (search 9) step 1  step 2  step 3  Binary search.
Slide Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Solving Linear Systems Solving linear systems Ax = b is one part of numerical linear algebra, and involves manipulating the rows of a matrix. Solving linear.
Quantitative Evaluation of Embedded Systems. Given a dataflow graph with execution times E a Determine the MCM and choose a period μ ≥ MCM Determine start-times.
Q uantitative E valuation of E mbedded S ystems QUESTION DURING CLASS?
Polynomial Functions and Models
Chapter 8 Maximum Flows: Additional Topics All-Pairs Minimum Value Cut Problem  Given an undirected network G, find minimum value cut for all.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Graphing Linear Equations From the beginning. What is a Linear Equation? A linear equation is an equation whose graph is a LINE. Linear Not Linear.
Copyright ©2015 Pearson Education, Inc. All rights reserved.
Stats & Summary. The Woodbury Theorem where the inverses.
Lecture 14: Pole placement (Regulator Problem) 1.
Introduction to Financial Modeling MGT 4850 Spring 2008 University of Lethbridge.
Table of Contents Matrices - Definition and Notation A matrix is a rectangular array of numbers. Consider the following matrix: Matrix B has 3 rows and.
2 2.2 © 2016 Pearson Education, Ltd. Matrix Algebra THE INVERSE OF A MATRIX.
MathematicalMarketing Slide 5.1 OLS Chapter 5: Ordinary Least Square Regression We will be discussing  The Linear Regression Model  Estimation of the.
13.3 Product of a Scalar and a Matrix.  In matrix algebra, a real number is often called a.  To multiply a matrix by a scalar, you multiply each entry.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
Tutorial 6. Eigenvalues & Eigenvectors Reminder: Eigenvectors A vector x invariant up to a scaling by λ to a multiplication by matrix A is called.
An Introduction to Matrix Algebra Math 2240 Appalachian State University Dr. Ginn.
Matrix Addition and Scalar Multiplication
Matrix Multiplication
Section 7.4 Matrix Algebra.
2. Matrix Algebra 2.1 Matrix Operations.
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
1.3 Vector Equations.
Symmetric Matrices and Quadratic Forms
Linear Algebra Lecture 20.
Linear Algebra Lecture 29.
Linear Algebra Lecture 11.
Symmetric Matrices and Quadratic Forms
Presentation transcript:

Q uantitative E valuation of E mbedded S ystems QUESTION DURING CLASS?

Q uantitative E valuation of E mbedded S ystems 1.Matrix equations - revisited 2.Monotonicity 3.Eigenvalues and throughput 4.Eigenvalues and the MCM

Q uantitative E valuation of E mbedded S ystems 1.Matrix equations - revisited 2.Monotonicity 3.Eigenvalues and throughput 4.Eigenvalues and the MCM

0 ms y Cycles with a 0 execution time cause livelocks But when logging events, this is mathematically okay...

AB C D 1ms 2ms 4ms u y 3ms Theorem: The number of tokens on any cycle is constant! Therefore, every cycle must contain at least one token, otherwise a deadlock occurs.

Using induction

Q uantitative E valuation of E mbedded S ystems 1.Matrix equations - revisited 2.Monotonicity 3.Eigenvalues and throughput 4.Eigenvalues and the MCM

Theorem: (max,+) matrix addition is a monotone operator

Given that x(1) = 0 and for all n : u(n) ≥ 0

A B C 1ms 2ms u x3x3 y x1x1 x2x2 3ms

Time (s) Tokens Theorem: (max,+) matrix addition is a monotone operator and as a consequence, removing the input gives a best-case approximation of behavior.

Q uantitative E valuation of E mbedded S ystems 1.Matrix equations - revisited 2.Monotonicity 3.Eigenvalues and throughput 4.Eigenvalues and the MCM

In linear algebra... a pair (x, λ) is an eigenpair for a matrix A if: with denoting elementwise multiplication and assuming that

In (max,+) algebra... a pair (x, λ) is an eigenpair for a matrix A if: with denoting elementwise addition and assuming that

In linear algebra, we find for any eigenpair (x, λ) that If (x, λ) is an eigenpair then so is (αx, λ), for any scalar α

And so, in (max,+) algebra we find for any eigenpair (x, λ) If (x, λ) is an eigenpair then so is (α+x, λ), for any shift α

A B C 1ms 2ms x3x3 y x1x1 x2x2 3ms

for a given eigenpair (x,λ) with x≤0

Time (s) Tokens

Time (s) Tokens Theorem: The best-case throughput is always smaller than 1/λ, with λ the biggest eigenvalue of the associated matrix.

Q uantitative E valuation of E mbedded S ystems 1.Matrix equations - revisited 2.Monotonicity 3.Eigenvalues and throughput 4.Eigenvalues and the MCM

A B C 1ms 2ms x3x3 y x1x1 x2x2 3ms

A B C 1ms 2ms x3x3 y x1x1 x2x2 3ms where A l (k,k) is the duration of some cycle with l tokens on it hence λ = A l (k,k) /l is a cycle mean. Theorem: Every eigenvalue is the cycle mean of some cycle...

A B C 1ms 2ms x3x3 y x1x1 x2x2 3ms Let λ=MCM and x i represent a critical token... Now given matrix A of a dataflow graph, let us construct the following two matrices: In an entry (i,j) represents the max duration of any path from i to j minus λ for each token on that path.

A B C 1ms 2ms x3x3 y x1x1 x2x2 3ms Since x i represents a critical token: So for the i th column we find: And consequently: So is an eigenpair of A Theorem: The maximal cycle mean of a graph is the maximum eigenvalue of its (max,+) matrix. In an entry (i,j) represents the max duration of any path from i to j minus λ for each token on that path.

The maximal cycle mean of a graph is the maximum eigenvalue of its (max,+) matrix and 1/MCM is the maximal throughput. See the book by [Baccelli, Cohen, Olsder and Quadrat] for more! Like for the question “can the 1/MCM throughput actually be achieved?” Every eigenvalue is the cycle mean of some cycle... But not every cycle mean is an eigenvalue! (max,+) matrix addition is a monotone operator Thus removing the input gives a best-case approximation of behavior.

Simulate 6 firings

Give the (max,+) matrix equations

Calculate the MCM

Determine a periodic schedule for arbitrary µ

Plot the latency for a period µ

Optimize the periodic schedule for µ = 15

Optimize the periodic schedule for arbitrary µ

Plot the delayed latency for a period µ

Plot the minimal delay for a period µ

Optimize the periodic schedule for arbitrary µ