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?
- A. They miss deadlines, because utilisation 0.833 exceeds the bound 3(2^(1/3) − 1) ≈ 0.780
- B. They are schedulable; the bound is only sufficient, and the (3, 12) task's worst-case response time is 10
- C. They are schedulable because utilisation is at most 1, which is RM's exact test
- 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
- A low-priority task L holds a mutex needed by high-priority task H. A medium-priority task M, which does not need the mutex, becomes ready…
- In a monitor with Mesa (signal-and-continue) semantics, why must a consumer check its condition with while (count == 0) wait(notEmpty)…
- Five dining philosophers each pick up the left fork and then the right fork. Which change removes the possibility of deadlock without a…
- A user creates file f, makes a hard link h to it and a symbolic link s to f. Then f is deleted and a NEW file named f is created with…
- In the standard five-state process model (new, ready, running, blocked, exit), which transition can NOT happen directly?
- A program uses user-level threads mapped many-to-one onto a single kernel thread. One thread calls a blocking read() on a slow device…