CS FundamentalsVery hardGATE CS

In real-time scheduling, three periodic tasks have (execution time, period) = (1, 4), (2, 6), (1, 8), with deadline = period. Which statement is correct?

  1. A. Total utilisation is about 0.71, so EDF can schedule them; it is also below the Liu–Layland bound for 3 tasks (about 0.78), so rate-monotonic can too
  2. B. Utilisation exceeds 1, so no algorithm can meet all deadlines
  3. C. EDF can schedule them but rate-monotonic cannot
  4. D. Rate-monotonic can schedule them but EDF cannot

Correct answer: A. Total utilisation is about 0.71, so EDF can schedule them; it is also below the Liu–Layland bound for 3 tasks (about 0.78), so rate-monotonic can too

U = 1/4 + 2/6 + 1/8 = 0.25 + 0.333 + 0.125 ≈ 0.708. EDF is optimal up to U = 1. The RM sufficient bound for n = 3 is 3(2^(1/3) − 1) ≈ 0.780, and 0.708 is below it.

More Operating Systems questions

Exams that ask this topic