GATE | GATE 2017 MOCK II | Question 51
On a system using round-robin scheduling let ‘s’ represent the time needed to perform a process switch, ‘q’ represents the round-robin time quantum, and ‘r’ represents the average time a process runs before blocking on I/O. The CPU efficiency when s = q < r is:
Explanation: ‘r’ is the average time a process runs before I/O block and ‘s’ is the time needed for switch.
‘q’ represents the round-robin time quantum.
The efficiency of the CPU when s < r and q < r.
Here s = q.
Hence efficiency is ½.
Quiz of this Question