CS FundamentalsVery hardGATE CS

A flow is shaped by a token bucket with bucket size 1 Mb and rate 20 Mbps, then enters a 100 Mbps link with weighted fair queueing where its weight is 1/4 of the total. What is the maximum queueing delay its packets can suffer at that link?

  1. A. 40 ms
  2. B. 10 ms
  3. C. 50 ms
  4. D. 12.5 ms

Correct answer: A. 40 ms

WFQ guarantees the flow at least 100 × 1/4 = 25 Mbps, which exceeds its 20 Mbps token rate, so the worst case is a full 1 Mb burst draining at 25 Mbps: 1 / 25 = 40 ms. 10 ms uses the full link rate and 50 ms the token rate.

More Computer Networks questions

Exams that ask this topic