CS FundamentalsVery hardGATE CS

Three periodic tasks (deadline = period, all released at t=0) are scheduled by preemptive rate-monotonic scheduling: T1 (C=2, P=5), T2 (C=2, P=7), T3 (C=3, P=15). Total utilisation is about 0.886, above the Liu–Layland bound for three tasks (≈0.780). What is the worst-case response time of T3?

  1. A. 9
  2. B. 11
  3. C. 15
  4. D. 13

Correct answer: D. 13

Iterate R = 3 + ⌈R/5⌉·2 + ⌈R/7⌉·2: R=7 gives 9, R=9 gives 11, R=11 gives 13, R=13 gives 13 (fixed point). 13 ≤ 15, so the set is schedulable even though the utilisation bound fails.

More Operating Systems questions

Exams that ask this topic