07.11.2014 Views

Real-Time Operating Systems

Real-Time Operating Systems

Real-Time Operating Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Jackson’s algorithm<br />

[1955]<br />

¿ 1 | sync | L max<br />

¿ No other constraints are considered:<br />

¿ tasks are independent<br />

¿ no precedence relations<br />

¿ Task set J = {J i (C i , D i ) | i = 1…n}<br />

¿ Computation time C i<br />

¿ Deadline D i<br />

¿ Principle: Earliest Due Date (EDD)<br />

49<br />

Jackson’s algorithm (2)<br />

¿ It can be proved that:<br />

¿ Given a set of n independent tasks, any algorithm that<br />

executes the tasks in order of nondecreasing deadlines<br />

is optimal with respect to minimize the maximum<br />

lateness.<br />

¿ Complexity: sorting n values (O(nlogn))<br />

¿ EDD can not guarantee feasible schedule.<br />

It only guarantees that if a feasible schedule<br />

exists it will find it<br />

50<br />

25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!