Top Banner
Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est RTSOPS, PISA, ITALY 10/07/2012
29

Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Dec 17, 2015

Download

Documents

Andrew Barber
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Towards optimal priority assignments for real-time

tasks with probabilistic arrivals and probabilistic

execution times

Dorin MAXIM

INRIA Nancy Grand Est

RTSOPS, PISA, ITALY 10/07/2012

Page 2: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

RTSOPS, PISA, ITALY 10/07/2012 2/7

Model of the Probabilistic Real-Time System

• n independent tasks with independent jobs

• a task τi is characterized by τi = (Ti, Ci, Di),

period• probabilistic execution time

deadline (constrained)

• single processor, synchronous, preemptive, fixed priorities

The goal: Assigning priorities to tasks so that each task meets certain conditions referring to its timing failures.

Page 3: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Probabilistic Period Probabilistic ET

MIT WCET

RTSOPS, PISA, ITALY 10/07/2012 3/7

Page 4: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

RTSOPS, PISA, ITALY 10/07/2012 4/7

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

Page 5: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 6: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 7: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4

T1,0 = 1

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 8: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4

T1,0 = 1

T2,0 = 2

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 9: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4

T1,0 = 1

T2,0 = 2

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 10: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

Probability of occurrence = 0.42

0 1 2 3 4

T1,0 = 1

T2,0 = 2

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 11: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 12: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 13: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 14: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 15: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 16: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 17: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 18: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 19: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Page 20: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Example

Task-set τ = {τ1, τ2} with:

τ1=;

τ2=

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

T2,0 = 4

RTSOPS, PISA, ITALY 10/07/2012 4/7

Probability of occurrence =

3.24 * 10-6

Page 21: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Open problems

RTSOPS, PISA, ITALY 10/07/2012 5/7

Page 22: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Open problems

1. Algorithm for computing the response time distribution of different jobs of the given tasks.

RTSOPS, PISA, ITALY 10/07/2012 5/7

Page 23: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Open problems

1. Algorithm for computing the response time distribution of different jobs of the given tasks.

2. Priority assignment so that each task meets certain conditions referring to its timing failures.

RTSOPS, PISA, ITALY 10/07/2012 5/7

Page 24: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Open problems

1. Algorithm for computing the response time distribution of different jobs of the given tasks.

2. Priority assignment so that each task meets certain conditions referring to its timing failures.

3. Study interval.

RTSOPS, PISA, ITALY 10/07/2012 5/7

Page 25: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Intuitions and counter-intuitions

Rate Monotonic is NOT optimal for probabilistic systems:

RTSOPS, PISA, ITALY 10/07/2012 6/7

Page 26: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Intuitions and counter-intuitions

Rate Monotonic is NOT optimal for probabilistic systems:

RM does not take into account the probabilistic character of the tasks

RTSOPS, PISA, ITALY 10/07/2012 6/7

Page 27: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Intuitions and counter-intuitions

Rate Monotonic is NOT optimal for probabilistic systems:

RM does not take into account the probabilistic character of the tasks

RM considers tasks periods, which here are random variables that may not be comparable

RTSOPS, PISA, ITALY 10/07/2012 6/7

Page 28: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Intuitions and counter-intuitions

Rate Monotonic is NOT optimal for probabilistic systems:

RM does not take into account the probabilistic character of the tasks

RM considers tasks periods, which here are random variables that may not be comparable

RM was proved not optimal for tasks with deterministic arrivals and probabilistic executions times

RTSOPS, PISA, ITALY 10/07/2012 6/7

Page 29: Towards optimal priority assignments for real-time tasks with probabilistic arrivals and probabilistic execution times Dorin MAXIM INRIA Nancy Grand Est.

Thank you!

RTSOPS, PISA, ITALY 10/07/2012 7/7