CS FundamentalsModerateGATE CS · Product company CS fundamentals

A router holds 50 packets on average (queued plus in service), and packets arrive at an average of 10,000 per second. What is the average time a packet spends in the router?

  1. A. 0.5 ms
  2. B. 50 ms
  3. C. 200 ms
  4. D. 5 ms

Correct answer: D. 5 ms

Little's law: N = λT, so T = N/λ = 50 / 10,000 s = 5 ms. It holds for any stable queue regardless of the arrival and service distributions.

More Computer Networks questions

Exams that ask this topic