• edited by
1,654 views
4 4 votes

For a host machine that uses the Token Bucket Algorithm for congestion control, the token bucket has a capacity of 1MB and the maximum output rate is 10MBPS, Tokens arrive at a rate to sustain output at a rate of 5MBPS. The token bucket is currently full and the machine needs send 10 MB of data. The minimum time required to transmit the data is _____ sec.

Solution-

C + PS = MS,  C= Bursty Time, P= Token Arival Rate S= Token generate rate 
1MB + 5S = 10S
S = 1/5 = .2 sec

for .2 sec, data will flow at max rate, hence in .2 sec, .2*10 = 2MB 
Data to be sent = 10MB
Left data = 10-2 = 8MBPS

8MBPS data will be sent = 8/5 = 1.6 seconds

Total time to send 10 MB = 1.6 + 2 = 1.8 Seconds ( correct?)

Please log in or register to answer this question.

Position:
Show:

Related questions

2 2 votes
1 1 answer
1.3k
1.3k views
1 1 vote
2 2 answers
2.2k
2.2k views
Geet asked Dec 23, 2016
2,226 views
How is the initial slow-start threshold value (ssthresh) determined for the very first time of data transfer?
1 1 vote
1 answers 1 answer
3.2k
3.2k views
radha gogia asked May 24, 2018
3,192 views
Isn't the flow control mechanism helping to prevent congestion in the network ?I am not getting how there is congestion at process end , if we say that buffer size is ful...
2 2 votes
2 2 answers
1.1k
1.1k views
Naveen Muralidhar asked Jan 20, 2019
1,124 views
I thought 2600 cause after 34, it takes one RTT and size becomes 36 before sending the 14th segment(i.e., segment with window size = 36KB). Questions based on this are c...