Q uantitative E valuation of E mbedded S ystems 1.Periodic schedules are linear programs 2.Latency...
-
Upload
solomon-west -
Category
Documents
-
view
217 -
download
1
Transcript of Q uantitative E valuation of E mbedded S ystems 1.Periodic schedules are linear programs 2.Latency...
Quantitative Evaluation of Embedded Systems
1. Periodic schedules are linear programs2. Latency analysis of a periodic source3. Latency analysis of a sporadic source4. Latency analysis of a bursty source
Running a Periodic Regime
• Determine the MCM and choose a period μ ≥ MCM• For each actor a initialize a start-time Ta := 0• Repeat for each arc a—i—b :
Tb := Tb max (Ta + Ea – i μ)until there are no more changes
Here, i denotes the number of initial tokens on an arc,and Ea is the execution time of an actor a
Periodic Schedule = Linear Program
AS B
C1ms 2ms
x3 y
x1
x2
3ms
µ
• Choose a period μ ≥ MCM• Initialize a start-time Ta := 0• Repeat for each arc a—i—b :
Tb := Tb max (Ta + Ea – i μ)until there are no more changes
Quantitative Evaluation of Embedded Systems
1. Periodic schedules and linear programs2. Latency analysis of a periodic source3. Latency analysis of a sporadic source4. Latency analysis of a bursty source
Latency analysis for a periodic source
And a periodic schedule:
Given a source:1)μ(nu(n)
We inductively derive the following latency bound:
𝒙 (𝟏 )−𝒖 (𝟏 )=𝟎−𝟎≤𝐀 𝒙𝝁𝐦𝐚𝐱𝑩𝟎
Latency analysis for a periodic source
We derive the following latency bound:
And a periodic schedule:
Given a source:1)μ(nu(n)
Latency analysis for a periodic source
We derive the following latency bound:
And a periodic schedule:
Given a source:1)μ(nu(n)
Theorem: the latency of a dataflow graph for a source with
period and periodic schedule is smaller than:
Latency analysis for a sporadic source
And a periodic schedule:
Given a source: We inductively derive the following latency bound:
𝒙 (𝟏 )−𝒖 (𝟏 )≤𝟎−𝟎≤𝐀 𝒙𝝁𝐦𝐚𝐱𝑩𝟎
Theorem (monotonicity 2):Larger inter-arrival times in the source
will not worsen the latency.