CS FundamentalsVery hardGATE CS

A source must send a 10 MB burst at the full line rate of 50 MB/s through a token bucket whose tokens arrive at 10 MB/s. What is the smallest bucket capacity (starting full) that lets the whole burst go out at line rate?

  1. A. 10 MB
  2. B. 2 MB
  3. C. 8 MB
  4. D. 40 MB

Correct answer: C. 8 MB

Sending 10 MB at 50 MB/s takes 0.2 s, during which 10 × 0.2 = 2 MB of new tokens arrive. The bucket must therefore start with 10 − 2 = 8 MB (equivalently C = S(M − ρ) = 0.2 × 40).

More Computer Networks questions

Exams that ask this topic