CS FundamentalsVery hardGATE CS

Periodic tasks (execution time, period = deadline): T1 (1, 4), T2 (2, 6), T3 (3, 12), scheduled by rate-monotonic priorities. Which statement is correct?

  1. A. U ≈ 0.833 exceeds the 0.78 Liu-Layland bound, so RM is certain to miss some deadline
  2. B. U ≈ 0.833 exceeds the 0.78 bound, yet T3's worst-case response is 10 ≤ 12, so RM meets every deadline
  3. C. U ≈ 0.833 is below the 3-task Liu-Layland bound, so RM meets every deadline
  4. D. Only EDF can meet every deadline, because U is above the RM bound of 0.78

Correct answer: B. U ≈ 0.833 exceeds the 0.78 bound, yet T3's worst-case response is 10 ≤ 12, so RM meets every deadline

The Liu-Layland bound is only sufficient. Iterating R = 3 + ⌈R/4⌉ × 1 + ⌈R/6⌉ × 2 gives 6, 7, 9, 10, 10, so T3 completes by 10 ≤ 12; T1 and T2 respond at 1 and 3. EDF would also work, but it is not required.

More Operating Systems questions

Exams that ask this topic