On the Tractability of Digraph-Based Task Models
Martin Stigge
Uppsala University, Sweden
Joint work with Pontus Ekberg, Nan Guan and Wang Yi
Martin Stigge Tractability of Digraph-Based Models 1
On the Tractability of Digraph-Based Task Models Martin Stigge - - PowerPoint PPT Presentation
On the Tractability of Digraph-Based Task Models Martin Stigge Uppsala University, Sweden Joint work with Pontus Ekberg, Nan Guan and Wang Yi Martin Stigge Tractability of Digraph-Based Models 1 Analysis of Abstract Models Model hard
Martin Stigge Tractability of Digraph-Based Models 1
◮ Analysis: Guarantee deadlines ◮ Expressiveness of models? ◮ Efficiency of analysis?
B 2 2 C 2 2 D 1 2 E 1 2 5 2 2 3 7 2 2 9 6
Martin Stigge Tractability of Digraph-Based Models 2
◮ Release time r ◮ Worst-case execution time e ◮ Deadline d
◮ Preemptive schedules ◮ On uniprocessors ◮ Independent jobs
Tractability of Digraph-Based Models 3
◮ Release time r ◮ Worst-case execution time e ◮ Deadline d
◮ Preemptive schedules ◮ On uniprocessors ◮ Independent jobs
Tractability of Digraph-Based Models 3
◮ Job WCET e ◮ Minimum inter-release delay p (implicit deadline)
Martin Stigge Tractability of Digraph-Based Models 4
L&L GMF RRT DRT
[Liu et al., 1973] [Mok et al., 1999] [Baruah, 2003] [S. et al., 2011]
Martin Stigge Tractability of Digraph-Based Models 5
L&L GMF RRT DRT
[Liu et al., 1973] [Mok et al., 1999] [Baruah, 2003] [S. et al., 2011]
Strongly (co)NP-hard Pseudo-Polynomial
Martin Stigge Tractability of Digraph-Based Models 5
L&L GMF RRT DRT
[Liu et al., 1973] [Mok et al., 1999] [Baruah, 2003] [S. et al., 2011]
Strongly (co)NP-hard Pseudo-Polynomial
Martin Stigge Tractability of Digraph-Based Models 5
L&L GMF RRT DRT
[Liu et al., 1973] [Mok et al., 1999] [Baruah, 2003] [S. et al., 2011]
Strongly (co)NP-hard Pseudo-Polynomial
k-EDRT EDRT
Martin Stigge Tractability of Digraph-Based Models 5
◮ Vertices J: jobs to be released (with WCET and deadline) ◮ Edges (Ji, Jj): minimum inter-release delays p(Ji, Jj)
10 15 20 20 20 11 10
Martin Stigge Tractability of Digraph-Based Models 6
◮ Vertices J: jobs to be released (with WCET and deadline) ◮ Edges (Ji, Jj): minimum inter-release delays p(Ji, Jj)
10 15 20 20 20 11 10
Martin Stigge Tractability of Digraph-Based Models 6
L&L GMF RRT DRT
[Liu et al., 1973] [Mok et al., 1999] [Baruah, 2003] [S. et al., 2011]
Strongly (co)NP-hard Pseudo-Polynomial k-EDRT EDRT
Martin Stigge Tractability of Digraph-Based Models 7
L&L GMF RRT DRT
[Liu et al., 1973] [Mok et al., 1999] [Baruah, 2003] [S. et al., 2011]
Strongly (co)NP-hard Pseudo-Polynomial k-EDRT EDRT
Martin Stigge Tractability of Digraph-Based Models 7
2 2 5
5 2 2 3 7 2 2 9 6
◮ Mode sub-structures ◮ Burstiness ◮ ... Martin Stigge Tractability of Digraph-Based Models 8
◮ Vertices J: jobs to be released (with WCET and deadline) ◮ Edges (Ji, Jj): minimum inter-release delays p(Ji, Jj) ◮ k global constraints (Ji, Jj, γ)
5 2 2 3 7 2 2 9 6
1
2
Martin Stigge Tractability of Digraph-Based Models 9
◮ Vertices J: jobs to be released (with WCET and deadline) ◮ Edges (Ji, Jj): minimum inter-release delays p(Ji, Jj) ◮ k global constraints (Ji, Jj, γ)
5 2 2 3 7 2 2 9 6
1
2
Martin Stigge Tractability of Digraph-Based Models 9
L&L GMF RRT DRT
[Liu et al., 1973] [Mok et al., 1999] [Baruah, 2003] [S. et al., 2011]
Strongly (co)NP-hard Pseudo-Polynomial k-EDRT EDRT
Martin Stigge Tractability of Digraph-Based Models 10
Martin Stigge Tractability of Digraph-Based Models 11
Martin Stigge Tractability of Digraph-Based Models 11
J′
1
1, 6
J1 1, 1 J2 1, 1 J3 1, 1 J4 1, 1 J5 1, 1 J6 1, 1 1 1 1 1 1 1 1 1 1 12 12 12 12 12 12
Martin Stigge Tractability of Digraph-Based Models 12
J′
1
1, 6
J1 1, 1 J2 1, 1 J3 1, 1 J4 1, 1 J5 1, 1 J6 1, 1 1 1 1 1 1 1 1 1 1 12 12 12 12 12 12
Martin Stigge Tractability of Digraph-Based Models 12
J′
1
1, 6
J1 1, 1 J2 1, 1 J3 1, 1 J4 1, 1 J5 1, 1 J6 1, 1 1 1 1 1 1 1 1 1 1 12 12 12 12 12 12
Martin Stigge Tractability of Digraph-Based Models 12
◮ Using demand bound functions ◮ Compute exec. demand and deadline for all paths in G(T)
2
3 5 2 2 7 2 2, 2 1, 2 1, 2
◮ 2, 4 is lacking constraint information ◮ ... about the active constraint Martin Stigge Tractability of Digraph-Based Models 13
◮ Using demand bound functions ◮ Compute exec. demand and deadline for all paths in G(T)
3 5 2 2 7 2
2 2, 2 1, 2 1, 2
◮ 2, 4 is lacking constraint information ◮ ... about the active constraint Martin Stigge Tractability of Digraph-Based Models 13
◮ Using demand bound functions ◮ Compute exec. demand and deadline for all paths in G(T)
5 2 2 7 2
2
3 2, 2 1, 2 1, 2
◮ 2, 4 is lacking constraint information ◮ ... about the active constraint Martin Stigge Tractability of Digraph-Based Models 13
◮ Using demand bound functions ◮ Compute exec. demand and deadline for all paths in G(T)
5 2 2 7 2
2
3 2, 2 1, 2 1, 2
9 6
◮ 2, 4 is lacking constraint information ◮ ... about the active constraint Martin Stigge Tractability of Digraph-Based Models 13
◮ Using demand bound functions ◮ Compute exec. demand and deadline for all paths in G(T)
5 2 2 7 2
2
3 2, 2 1, 2 1, 2
9 6
◮ 2, 4 is lacking constraint information ◮ ... about the active constraint Martin Stigge Tractability of Digraph-Based Models 13
◮ Represent active constraints as countdowns ◮ Store countdown values in DRT vertices ◮ Preserve demand bound function
Martin Stigge Tractability of Digraph-Based Models 14
◮ Represent active constraints as countdowns ◮ Store countdown values in DRT vertices ◮ Preserve demand bound function
Martin Stigge Tractability of Digraph-Based Models 14
◮ Represent active constraints as countdowns ◮ Store countdown values in DRT vertices ◮ Preserve demand bound function
Martin Stigge Tractability of Digraph-Based Models 14
◮ Represent active constraints as countdowns ◮ Store countdown values in DRT vertices ◮ Preserve demand bound function
Martin Stigge Tractability of Digraph-Based Models 14
◮ Represent active constraints as countdowns ◮ Store countdown values in DRT vertices ◮ Preserve demand bound function
Martin Stigge Tractability of Digraph-Based Models 14
◮ Global delay constraints
◮ Constant number of constraints: tractable ◮ Unbounded number of constraints: intractable
◮ Global constraints for simpler models (RRT, GMF) ◮ Interaction with Resource Sharing Protocols
L&L GMF RRT DRT k-EDRT EDRT
Martin Stigge Tractability of Digraph-Based Models 15
Martin Stigge Tractability of Digraph-Based Models 16