CS FundamentalsVery hardProduct company interview · GATE level

Compare Rate Monotonic Scheduling (RMS, static priority by period) and Earliest Deadline First (EDF, dynamic priority by nearest deadline) for periodic real-time tasks. Which statement is correct?

  1. A. RMS and EDF have identical theoretical utilisation bounds
  2. B. Neither algorithm can guarantee deadlines for periodic tasks
  3. C. RMS can always achieve 100% CPU utilisation; EDF cannot
  4. D. EDF can theoretically achieve up to 100% CPU utilisation schedulability for periodic tasks with deadlines equal to periods, while RMS's guaranteed bound is lower (around 69% for many tasks, by the Liu-Layland bound)

Correct answer: D. EDF can theoretically achieve up to 100% CPU utilisation schedulability for periodic tasks with deadlines equal to periods, while RMS's guaranteed bound is lower (around 69% for many tasks, by the Liu-Layland bound)

EDF is optimal among dynamic-priority schedulers and can schedule any task set with utilisation up to 1.0 (when deadlines equal periods). RMS is optimal among static-priority schedulers but its general sufficient-condition bound converges to ln(2) ≈ 0.693 as the number of tasks grows, meaning some schedulable-by-EDF task sets are not guaranteed schedulable by the simple RMS test.

More Operating Systems questions

Exams that ask this topic