APERIODIC TASK SCHEDULING - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

APERIODIC TASK SCHEDULING

Description:

Title: APERIODIC TASK SCHEDULING Author: Larry A. Crum Last modified by: lcrum Created Date: 4/18/2006 5:55:37 AM Document presentation format: On-screen Show – PowerPoint PPT presentation

Number of Views:29
Avg rating:3.0/5.0
Slides: 30
Provided by: Larr155
Category:

less

Transcript and Presenter's Notes

Title: APERIODIC TASK SCHEDULING


1
APERIODIC TASK SCHEDULING
Notation
2
Earliest Due Date (EDD) - Jacksons Rule
Set of tasks
Problem
Algorithm
3
Earliest Due Date (EDD) - Jacksons Rule
4
Earliest Due Date (EDD) Example 1
5
Earliest Due Date (EDD) Example 2
6
Earliest Due Date (EDD) Guaranteed Feasibility
Order tasks by increasing deadlines. Then
7
Earliest Deadline First (EDF) Horns Algorithm
8
Earliest Deadline First (EDF) Horns Algorithm
9
Earliest Deadline First (EDF) Example
10
Earliest Deadline First (EDF) Guarantee of
Schedualability
  • Dynamic Scheduling
  • Assume Schedulable
  • Need to Guarantee that

Assuming all tasks are ordered by increasing
deadlines
Worst case finishing time
For Guaranteed Schedulability
11
EDF - Non-Preemptive Scheduling
The problem is NP hard
12
Non-Acyclic Search Tree Scheduling
13
Bratleys Algorithm
14
Jack Stankovics Spring Algorithm
  • This does not yield an optimal schedule, but the
    general problem is NP hard. This does lend
    itself to artificial intelligence and learning.
  • The objective is to find a feasible schedule when
    tasks are have different types of constraints,
    such as
  • precedence relations,
  • resource constraints,
  • arbitrary arrivals,
  • non-preemptive properties, and
  • importance levels.
  • A heuristic function H is used to drive the
    scheduling toward a plausible path.
  • At each level of the search, function H is
    applied to each of the remaining tasks. The task
    with the smallest value determined by the
    heuristic function H is selected to extend the
    current schedule. If a schedule is not looking
    strongly feasible, a minimal amount of
    backtracking is used.

15
Jack Stankovics Spring Algorithm
Precedence constraints can be handled by adding
a term E 1 if the task is eligible and E
infinity if it is not.
16
Jack Stankovics Spring Algorithm
17
Scheduling with Precedence ConstraintsLatest
Deadline First - Optimizes max Lateness
18
Latest Deadline First
19
EDF with Precedence Constraints
  • The problem of scheduling a set of n tasks with
    precedent constraints and dynamic activations can
    be solved if the tasks are preemptable.
  • The basic ideas is transform a set of
    dependent tasks into a set of independent tasks
    by adequate modification of timing parameters.
    Then, tasks are scheduled by the Earliest
    Deadline First (EDF) algorithm, iff is
    schedulable. Basically, all release times and
    deadlines are modified so that each task cannot
    start before its predecessors and cannot preempt
    their successors.

20
EDF with Precedence Constraints
Modifying the release time
21
EDF with Precedence Constraints
Modifying the Deadlines
22
Summary
23
(No Transcript)
24
(No Transcript)
25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com