CS FundamentalsHardGATE CS (PYQ pattern)

Disk requests arrive as a Poisson stream of 100 per second; service times are exponential (M/M/1 per disk). Option X buys one disk twice as fast as the current one (mean service 4 ms); option Y adds a second current disk (mean service 8 ms each) and sends each request to either disk at random with probability 1/2. Which option gives the lower mean response time, and what is it?

  1. A. X, about 6.7 ms
  2. B. Y, about 13.3 ms
  3. C. Y, about 6.7 ms
  4. D. X, about 13.3 ms

Correct answer: A. X, about 6.7 ms

X: mu = 250/s, T = 1 / (250 - 100) = 6.7 ms. Y: each disk sees 50/s with mu = 125/s, T = 1 / (125 - 50) = 13.3 ms. Today's single disk gives 1 / (125 - 100) = 40 ms. One fast server beats two random-split slow ones.

More Operating Systems questions

Exams that ask this topic