The Gateway to Computer Science Excellence
+2 votes
344 views
Consider a token bucket with maximum rate = 20 Mbps. Suppose we want to make sure that maximum rate can only be sent for atmost 5 sec at a time and atmost 150 Mb can be sent over 10 sec window. Computer the required value for token refresh rate?
in Computer Networks by Loyal (9.6k points) | 344 views
0
10 Mbps?
0
Yes.
+1

here for first 5 sec token is sent at 20Mbps = 100Mb

for next 5 sec only 50Mb are allowed = rate is 10Mbps

Hence token can be refreshed at (20-10)Mbps rate = 10Mbps

0
So here we are considering token-bucket capacity as 50 Mb( which is left over after sending 100 Mb for 5 sec). Is it?
+1
Yes! Token bucket capacity is 50Mb
0
why did you subtract 10 from 20 ?
0
@Ashwin but here we don't have packet size, so when the packet came we have to attach a token along with the packet and then send the packet.

ryt?

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,650 questions
56,192 answers
193,988 comments
94,852 users