GATE / CS ARCHIVE

GATE CSE 2008 / QUESTION 58

Maximum token-bucket burst duration

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2008 paper

GATE 2008, Q58 2 marks · MCQ
Not in GATE 2027 syllabusReport issue

Transport, Congestion Control & Traffic Shaping

Question 58, GATE 2008: A computer transmits on a 10-Mbit/s network through a token bucket replenished at 2 Mbit/s. Initially it holds its full capacity of 16 Mbits. How long can transmission continue at the full 10 Mbit/s?

(A) 1.6 seconds
(B) 2 seconds
(C) 5 seconds
(D) 8 seconds
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

1. At full output rate 10 Mbit/s, tokens are consumed at 10 Mbit/s while replenishment continues at 2 Mbit/s. The initially full 16-Mbit bucket therefore drains at a net rate of 8 Mbit/s.
2. Its maximum full-rate burst lasts 16/(10−2)=2 seconds, option B. Equivalently 10t≤16+2t gives t≤2.
3. Ignoring concurrent refill would incorrectly produce 1.6 seconds.

Original paper, page 11