CS FundamentalsVery hardGATE CS

Three periodic tasks with deadline = period have (C, T) = (1, 4), (2, 6) and (3, 12), scheduled by rate-monotonic priority. Which statement is correct?

  1. A. They miss deadlines, because utilisation 0.833 exceeds the bound 3(2^(1/3) − 1) ≈ 0.780
  2. B. They are schedulable; the bound is only sufficient, and the (3, 12) task's worst-case response time is 10
  3. C. They are schedulable because utilisation is at most 1, which is RM's exact test
  4. D. They are schedulable; the (3, 12) task's worst-case response time is 6

Correct answer: B. They are schedulable; the bound is only sufficient, and the (3, 12) task's worst-case response time is 10

Response-time analysis for the lowest task: R = 3 + ⌈R/4⌉ × 1 + ⌈R/6⌉ × 2 converges 6 → 7 → 9 → 10 → 10 ≤ 12. The Liu–Layland bound failing proves nothing; U ≤ 1 is EDF's test, and 6 forgets the later preemptions.

More Operating Systems questions

Exams that ask this topic