CS FundamentalsHardGATE

A real-time system has two periodic tasks: Task A with period 20 ms and execution time 5 ms, Task B with period 50 ms and execution time 25 ms. Under Rate Monotonic Scheduling (shorter period gets higher static priority), is the task set schedulable according to the standard RMS sufficient-condition test for 2 tasks (bound ≈ 0.828)?

  1. A. CPU utilisation is 0.9, above the bound, so it is not guaranteed schedulable by the sufficient test
  2. B. CPU utilisation is exactly 1.0, a fully saturated but still schedulable system
  3. C. Utilisation cannot be computed without knowing deadlines separately from periods
  4. D. CPU utilisation is 0.75, which is below the 2-task RMS bound of about 0.828, so it is schedulable by the sufficient test

Correct answer: D. CPU utilisation is 0.75, which is below the 2-task RMS bound of about 0.828, so it is schedulable by the sufficient test

Utilisation = 5/20 + 25/50 = 0.25 + 0.5 = 0.75. The Liu-Layland bound for 2 tasks is 2(2^(1/2) − 1) ≈ 0.828. Since 0.75 ≤ 0.828, the sufficient condition guarantees schedulability under RMS (though failing the bound would not necessarily mean unschedulable — only inconclusive).

More Operating Systems questions

Exams that ask this topic