Preemption Point Selection in Limited Preemptive Scheduling using - - PowerPoint PPT Presentation

preemption point selection in limited preemptive
SMART_READER_LITE
LIVE PREVIEW

Preemption Point Selection in Limited Preemptive Scheduling using - - PowerPoint PPT Presentation

Preemption Point Selection in Limited Preemptive Scheduling using Probabilistic Preemption Costs Filip Markovi, Jan Carlson, Radu Dobrin Mlardalen Real-Time Research Centre, Dept. of Computer Science and Software Engineering, Mlardalen


slide-1
SLIDE 1

Preemption Point Selection in Limited Preemptive Scheduling using Probabilistic Preemption Costs

Filip Marković, Jan Carlson, Radu Dobrin Mälardalen Real-Time Research Centre,

  • Dept. of Computer Science and Software Engineering,

Mälardalen University, Sweden

slide-2
SLIDE 2

Limited Preemptive Scheduling

slide-3
SLIDE 3

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

slide-4
SLIDE 4

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

  • Fixed Preemption Points
  • Preemption is allowed only at predefined selected locations

inside the code, called preemption points.

slide-5
SLIDE 5

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

  • Fixed Preemption Points
  • Preemption is allowed only at predefined selected locations

inside the code, called preemption points. 𝜐" 𝜐#

preemption point

ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-6
SLIDE 6

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

  • Fixed Preemption Points
  • Preemption is allowed only at predefined selected locations

inside the code, called preemption points. 𝜐#

preemption point

𝜐" ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-7
SLIDE 7

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

  • Fixed Preemption Points
  • Preemption is allowed only at predefined selected locations

inside the code, called preemption points. 𝜐#

preemption point

𝜐" ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-8
SLIDE 8

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

  • Fixed Preemption Points
  • Preemption is allowed only at predefined selected locations

inside the code, called preemption points. 𝜐#

preemption point

𝜐" ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-9
SLIDE 9

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

  • Fixed Preemption Points
  • Preemption is allowed only at predefined selected locations

inside the code, called preemption points. 𝜐#

preemption point

𝜐" ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-10
SLIDE 10

Limited Preemptive Scheduling

  • An attractive scheduling paradigm instead of fully-preemptive

and non-preemptive scheduling.

  • Enables control of preemption related overheads, thus

reducing their impact on schedulability.

  • Fixed Preemption Points
  • Preemption is allowed only at predefined selected locations

inside the code, called preemption points. 𝜐#

preemption point

𝜐" ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-11
SLIDE 11

Motivation

  • The existing selection methods account for upper

bounded preemption overheads, thus introducing a potentially high level of pessimism in the results.

slide-12
SLIDE 12

Motivation

  • The existing selection methods account for upper

bounded preemption overheads, thus introducing a potentially high level of pessimism in the results.

𝜐" 𝜐#

Preemption

  • verhead

ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-13
SLIDE 13

Motivation

  • The existing selection methods account for upper

bounded preemption overheads, thus introducing a potentially high level of pessimism in the results.

𝜐" 𝜐#

Preemption

  • verhead

ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-14
SLIDE 14

Motivation

  • The existing selection methods account for upper

bounded preemption overheads, thus introducing a potentially high level of pessimism in the results.

𝜐" 𝜐#

preemption

  • verhead

Preemption

  • verhead

ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-15
SLIDE 15

Motivation

  • The existing selection methods account for upper

bounded preemption overheads, thus introducing a potentially high level of pessimism in the results.

𝜐" 𝜐#

deadline miss

Preemption

  • verhead

preemption

  • verhead

ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-16
SLIDE 16

Motivation

  • The existing selection methods account for upper

bounded preemption overheads, thus introducing a potentially high level of pessimism in the results.

  • Can we reduce the pessimism by considering

probabilistic information about overheads?

𝜐" 𝜐#

deadline miss

Preemption

  • verhead

preemption

  • verhead

ℎ𝑗𝑕ℎ𝑓𝑠 𝑄 𝑚𝑝𝑥𝑓𝑠 𝑄

slide-17
SLIDE 17

Contributions

  • We propose a probabilistic distribution model of
  • verheads and preemption point selection method which

provides controllable probabilistic relaxations.

slide-18
SLIDE 18

Contributions

  • We propose a probabilistic distribution model of
  • verheads and preemption point selection method which

provides controllable probabilistic relaxations.

𝜐#

slide-19
SLIDE 19

Contributions

  • We propose a probabilistic distribution model of
  • verheads and preemption point selection method which

provides controllable probabilistic relaxations.

𝜐#

Preemption

  • verhead
slide-20
SLIDE 20

Contributions

  • We propose a probabilistic distribution model of
  • verheads and preemption point selection method which

provides controllable probabilistic relaxations.

𝜐#

preemption overhead upper bound

slide-21
SLIDE 21

Contributions

  • We propose a probabilistic distribution model of
  • verheads and preemption point selection method which

provides controllable probabilistic relaxations.

𝜐#

preemption overhead upper bound empirical samples

  • f preemption overheads
slide-22
SLIDE 22

Contributions

  • We propose a probabilistic distribution model of
  • verheads and preemption point selection method which

provides controllable probabilistic relaxations.

𝜐#

preemption overhead upper bound empirical samples

  • f preemption overheads

probability density function probability

slide-23
SLIDE 23

Preemption Point Selection Algorithm

slide-24
SLIDE 24

Preemption Point Selection Algorithm

  • Input
  • Task set with potential preemption points
  • Associated probabilistic overhead distributions
slide-25
SLIDE 25
  • Input
  • Task set with potential preemption points
  • Associated probabilistic overhead distributions
  • Output
  • Selected preemption points

Preemption Point Selection Algorithm

slide-26
SLIDE 26
  • Input
  • Task set with potential preemption points
  • Associated probabilistic overhead distributions
  • Output
  • Selected preemption points
  • Algorithm
  • Gradually decreases probabilistic factor for preemption
  • verheads in order to find preemption point selection

Preemption Point Selection Algorithm

slide-27
SLIDE 27
  • Input
  • Task set with potential

preemption points

  • Associated probabilistic
  • verhead distributions.
  • Output
  • Selected preemption points
  • Algorithm
  • Gradually decreases

probabilistic factor for preemption overheads in order to find preemption point selection.

27

probability of a deadline miss (part of the future work) iteration focused overhead 1 2 3 1 1 1 implies selection

  • f different points

Preemption Point Selection Algorithm

slide-28
SLIDE 28
  • Input
  • Task set with potential

preemption points

  • Associated probabilistic
  • verhead distributions.
  • Output
  • Selected preemption points
  • Algorithm
  • Gradually decreases

probabilistic factor for preemption overheads in order to find preemption point selection.

28

probability of a deadline miss (part of the future work) iteration focused overhead 1 2 3 1 1 1 implies selection

  • f different points

Preemption Point Selection Algorithm

slide-29
SLIDE 29
  • Input
  • Task set with potential

preemption points

  • Associated probabilistic
  • verhead distributions.
  • Output
  • Selected preemption points
  • Algorithm
  • Gradually decreases

probabilistic factor for preemption overheads in order to find preemption point selection.

29

probability of a deadline miss (part of the future work) iteration focused overhead 1 2 3 1 1 1 implies selection

  • f different points

Preemption Point Selection Algorithm

slide-30
SLIDE 30

Preliminary results

  • Goal of the experiment: To investigate to what extent the

relaxation of the considered overheads facilitates finding solutions to the preemption point selection problem.

0.8 0.82 0.84 0.86 0.88 0.9 0.92 0.94 0.96 0.98 1

Utilisation

20 40 60 80 100

Task sets for which a selection is found (%)

Upper bounds Quantile selection

slide-31
SLIDE 31

Summary and Future work

  • Contributions
  • Probabilistic overhead model
  • Preemption point selection based on probabilistic overhead

distributions

  • Future work
  • Probabilistic schedulability analysis techniques for tasks with fixed

preemption points and associated probabilistic overheads

  • Novel preemption point selection strategies to maximize

schedulability