7,046 views
5 5 votes
Computer A has 19.5MB to be sent on a network and transmits the data in burst at 6mbps.The max transmission rate across routers in the network is 4mbps.If computer A's transmission is shaped using leaky bucket.Capacity that the queue in bucket must hold so that no data is discarded is ________________________________(in MB upto 1 decimal place)

1 Answer

Best answer
5 5 votes
6Mb can be transmitted by computer in => 1sec

1Mb => 1/6 sec

19.5 MB =>19.5*8/6 =26 sec.

Computer will transmit 19.5 MB in 26 sec.

The rate of network is 4Mbps means network can transmit 4Mb in one sec.

In 26 sec network can transmit => 4*26=102Mb.

The data that is still left is to be transmitted by network ,19.5MB-102Mb =156Mb-102Mb=52Mb.

Now this 52 Mb is the data which will be transmitted by computer but it cannot be transmitted by network because it is more than what network can transmit.

SO 52Mb or 6.5MB must be saved in bucket

 

Alternate:

Since computer is transmitting at 6Mbps and network at 4Mbps means in one sec the computer will transmit 6Mb and network can carry 4Mb.So the remaining 6-4=2Mb must be save in bucket.

So bucket will be filled at rate of 2Mbps

Now total data will be transmitted by computer in 26 second.

In 26 second bucket will size will be 2*26=52Mb or 6.5 MB
• selected by
Position:
Show:

Related questions

4 4 votes
1 1 answer
483
483 views
GO Classes asked Nov 19, 2025
483 views
A leaky bucket algorithm is configured to leak at a constant rate of $\mathbf{1,000}$ bytes per second. The bucket capacity is $\mathbf{5,000}$ bytes.Packets of $\mathbf{...
4 4 votes
1 1 answer
412
412 views
GO Classes asked Nov 17, 2025
412 views
A leaky bucket algorithm is used for traffic shaping. The bucket leaks at a constant rate of $\mathbf{10 ~KB/s}$ and has a capacity of $\mathbf{3 0 ~ K B}$ .A burst of $\...
0 0 votes
2 2 answers
2.3k
2.3k views
Prashant Srivastava asked Apr 6, 2019
2,286 views
I want to understand the Token Bucket and Leaky Bucket algorithms in detail. Please provide links to reliable resources. Please do not provide link to Wikipedia, because ...
1 1 vote
0 0 answers
2.0k
2.0k views
Vikas123 asked Dec 20, 2018
1,989 views
Is it correct or not…??