bounding and shaping the demand of mixed criticality
play

Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks - PowerPoint PPT Presentation

Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg & Wang Yi Uppsala University, Sweden ECRTS 2012 Mixed-criticality sporadic tasks D i : Relative deadline T i : Period L i : Criticality (lo or hi) Pontus


  1. Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg & Wang Yi Uppsala University, Sweden ECRTS 2012

  2. Mixed-criticality sporadic tasks D i : Relative deadline T i : Period L i : Criticality (lo or hi) Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 2 Task τ i C i ( lo ) : WCET at low-criticality ( C i ( lo ) ⩽ C i ( hi ) ) C i ( hi ) : WCET at high-criticality

  3. Mixed-criticality sporadic tasks Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 3 τ 1 ( L 1 = lo): τ 2 ( L 2 = hi): τ 3 ( L 3 = hi):

  4. Mixed-criticality sporadic tasks Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 4 τ 1 ( L 1 = lo): τ 2 ( L 2 = hi): τ 3 ( L 3 = hi):

  5. Mixed-criticality sporadic tasks Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 5 τ 1 ( L 1 = lo): τ 2 ( L 2 = hi): τ 3 ( L 3 = hi):

  6. Classic EDF analysis Schedulability analysis Low-criticality mode High-criticality mode Time Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 6 A task set τ is schedulable if ∑ ∀ ℓ ⩾ 0 : dbf ( τ i , ℓ ) ⩽ sbf ( ℓ ) . τ i ∈ τ

  7. Schedulability analysis Mixed-criticality EDF analysis Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg Time High-criticality mode Low-criticality mode 7 A task set τ is schedulable if both A and B hold: ∑ A : ∀ ℓ ⩾ 0 : dbf lo ( τ i , ℓ ) ⩽ sbf lo ( ℓ ) τ i ∈ τ ∑ B : ∀ ℓ ⩾ 0 : dbf hi ( τ i , ℓ ) ⩽ sbf hi ( ℓ ) τ i ∈ hi ( τ )

  8. i behaves similar to a standard sporadic task with WCET C i hi . Demand-bound functions Half-fjnished jobs are carried over to high-criticality mode. Low-criticality mode High-criticality mode Time Use dbf s from Baruah et al., 1990! Each Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 8 Each τ i behaves exactly like a standard sporadic task with WCET C i ( lo ) .

  9. i behaves similar to a standard sporadic task with WCET C i hi . Demand-bound functions Half-fjnished jobs are carried over to high-criticality mode. Low-criticality mode High-criticality mode Time Use dbf s from Baruah et al., 1990! Each Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 9 Each τ i behaves exactly like a standard sporadic task with WCET C i ( lo ) .

  10. Demand-bound functions Half-fjnished jobs are carried over to high-criticality mode. Low-criticality mode High-criticality mode Time Use dbf s from Baruah et al., 1990! Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 10 Each τ i behaves similar to a standard sporadic task with WCET C i ( hi ) . Each τ i behaves exactly like a standard sporadic task with WCET C i ( lo ) .

  11. Demand-bound functions Half-fjnished jobs are carried over to high-criticality mode. Low-criticality mode High-criticality mode Time Use dbf s from Baruah et al., 1990! Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 11 Each τ i behaves similar to a standard sporadic task with WCET C i ( hi ) . Each τ i behaves exactly like a standard sporadic task with WCET C i ( lo ) .

  12. Carry-over jobs Half-fjnished jobs are carried over to high-criticality mode. Low-criticality mode High-criticality mode Time Restricting to the interesting cases Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 12 To show A ∧ B , we show A ∧ ( A → B ) .

  13. C i hi C i lo Carry-over jobs t Absolute deadline Switch to high-criticality mode Remaining scheduling window … Time Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 13 t + D i Release of τ i

  14. C i hi C i lo Carry-over jobs t Absolute deadline Switch to high-criticality mode Remaining scheduling window … Time Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 14 t + D i Release of τ i

  15. C i hi C i lo Carry-over jobs t Absolute deadline Switch to high-criticality mode Remaining scheduling window … Time Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 15 t + D i Release of τ i

  16. Carry-over jobs t Absolute deadline Switch to high-criticality mode Remaining scheduling window … Time Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 16 C i ( hi ) − C i ( lo ) t + D i Release of τ i

  17. Switch to high-criticality mode Switch to high-criticality mode Adjusting the demand of carry-over jobs Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg Remaining scheduling window Time … Time t … Time … Deadlines in low- and high-criticality mode 17 t + D i ( lo ) t + D i ( hi ) Release of τ i

  18. Switch to high-criticality mode Adjusting the demand of carry-over jobs Switch to high-criticality mode Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg Remaining scheduling window Time … Time t … Time … Deadlines in low- and high-criticality mode 18 t + D i ( lo ) t + D i ( hi ) Release of τ i

  19. Switch to high-criticality mode Adjusting the demand of carry-over jobs Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg Remaining scheduling window Switch to high-criticality mode Time … Time t … Time … Deadlines in low- and high-criticality mode 19 t + D i ( lo ) t + D i ( hi ) Release of τ i

  20. Switch to high-criticality mode Adjusting the demand of carry-over jobs Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg Remaining scheduling window Switch to high-criticality mode Time … Time t … Time … Deadlines in low- and high-criticality mode 20 t + D i ( lo ) t + D i ( hi ) Release of τ i

  21. Switch to high-criticality mode Adjusting the demand of carry-over jobs Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg Remaining scheduling window Switch to high-criticality mode Time … Time t … Time … Deadlines in low- and high-criticality mode 21 t + D i ( lo ) t + D i ( hi ) Release of τ i

  22. Demand-bound functions for high-criticality mode Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 22 30 dbf HI ( τ i , ℓ ) 25 20 Demand 15 10 5 0 0 5 10 15 20 25 30 Time interval length ( ℓ )

  23. Demand-bound functions for high-criticality mode Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 23 30 dbf HI ( τ i , ℓ ) dbf LO ( τ i , ℓ ) 25 20 Demand 15 10 5 0 0 5 10 15 20 25 30 Time interval length ( ℓ )

  24. Shifuing lemma The effect of the low-criticality relative deadline Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 24 If D i ( lo ) is decreased by δ ∈ Z , then dbf lo ( τ i , ℓ ) dbf lo ( τ i , ℓ + δ ) ❀ dbf hi ( τ i , ℓ ) dbf hi ( τ i , ℓ − δ ) ❀

  25. The effect of the low-criticality relative deadline Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 25 30 dbf HI ( τ i , ℓ ) dbf LO ( τ i , ℓ ) 25 dbf HI ( τ i , ℓ ) , D i ( LO ) decreased by δ dbf LO ( τ i , ℓ ) , D i ( LO ) decreased by δ 20 Demand 15 10 δ δ 5 0 0 5 10 15 20 25 30 Time interval length ( ℓ )

  26. Shaping the demand of the task set Mixed-criticality EDF analysis Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks Pontus Ekberg A constraint satisfaction problem 26 A task set τ is schedulable if both A and B hold: ∑ A : ∀ ℓ ⩾ 0 : dbf lo ( τ i , ℓ ) ⩽ sbf lo ( ℓ ) τ i ∈ τ ∑ B : ∀ ℓ ⩾ 0 : dbf hi ( τ i , ℓ ) ⩽ sbf hi ( ℓ ) τ i ∈ hi ( τ ) Is there a valid assignment of D i ( lo ) s to each high-criticality task τ i such that both A and B hold?

  27. Shaping the demand of the task set Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 27 100 � dbf HI 90 � dbf LO 80 70 60 Demand 50 40 30 20 10 0 0 10 20 30 40 50 60 70 80 90 100 Time interval length ( ℓ )

  28. Shaping the demand of the task set Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 28 100 � dbf HI 90 � dbf LO 80 70 60 Demand 50 40 30 20 10 0 0 10 20 30 40 50 60 70 80 90 100 Time interval length ( ℓ )

  29. Shaping the demand of the task set Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 29 100 � dbf HI 90 � dbf LO 80 70 60 Demand 50 40 30 20 10 0 0 10 20 30 40 50 60 70 80 90 100 Time interval length ( ℓ )

  30. Shaping the demand of the task set Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 30 100 � dbf HI 90 � dbf LO 80 70 60 Demand 50 40 30 20 10 0 0 10 20 30 40 50 60 70 80 90 100 Time interval length ( ℓ )

  31. Shaping the demand of the task set Pontus Ekberg Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks 31 100 � dbf HI 90 � dbf LO 80 70 60 Demand 50 40 30 20 10 0 0 10 20 30 40 50 60 70 80 90 100 Time interval length ( ℓ )

Recommend


More recommend