CS FundamentalsHardGATE CS

A token bucket has capacity 3 MB, a token arrival rate of 6 MB/s, and starts full. The link allows a maximum output rate of 30 MB/s. For how long can a continuous maximum-rate burst last, and how much data does it carry?

  1. A. 0.083 s and 2.50 MB
  2. B. 0.50 s and 15 MB
  3. C. 0.125 s and 3.75 MB
  4. D. 0.10 s and 3.00 MB

Correct answer: C. 0.125 s and 3.75 MB

During a burst of length S the bucket drains at (M - rho): S = C/(M - rho) = 3/24 = 0.125 s, and data = M x S = 3.75 MB. Ignoring token refill during the burst gives 0.1 s and 3 MB.

More Computer Networks questions

Exams that ask this topic