CS FundamentalsModerateGATE CS (PYQ pattern)

On a single-CPU system processes arrive at 3 per second in steady state, on average 6 processes sit in the ready queue (not counting the one running), and each process needs 0.2 s of CPU in total. Treating the system as one queue plus one server, what are the average time from arrival to completion and the CPU utilisation?

  1. A. 2.0 s and 60%
  2. B. 2.2 s and 20%
  3. C. 2.2 s and 60%
  4. D. 1.8 s and 60%

Correct answer: C. 2.2 s and 60%

Little's law on the queue alone: Wq = Lq / lambda = 6 / 3 = 2 s. Adding the 0.2 s of service gives 2.2 s. Utilisation = lambda x S = 3 x 0.2 = 0.6. 2.0 s forgets the service time; 1.8 s subtracts it; 20% is S alone.

More Operating Systems questions

Exams that ask this topic