Professional Documents
Culture Documents
Rtos Assignment QB2
Rtos Assignment QB2
QB2:
a) What is the makespan (maximum flow) and utilization of the following set of 5 tasks T(e,d):
T1(1,5),T2(4,13),T3(2,15), T4(2,22) and T5(2,21)
Solution:
Tasks: T(e,d):
T1(1,5)
T2(4,13)
T3(2,15)
T4(2,22)
T5(2,21)
Notations:
T(d): Deadline
Formula:
Makespan/Maximum Flow: Sum of the effective time taken for completion of all jobs.
Calculations:
=1+4+2+2+2
=11
=5+13+15+22+21
=76
b) Compute the hyperperiod of the following set of 3 tasks T(e,p):T1(4,5), T2(3,10) and
T3(7,15).
Solution:
Tasks: T(e,p):
T1(4,5)
T2(3,10)
T3(7,15)
Notations:
Formula:
Hyperperiod: Least Common Multiple for all the period of the jobs.
Calculations:
=30