CS FundamentalsHardGATE CS
A token bucket has capacity 3 MB, a token arrival rate of 6 MB/s, and starts full. The link allows a maximum output rate of 30 MB/s. For how long can a continuous maximum-rate burst last, and how much data does it carry?
- A. 0.083 s and 2.50 MB
- B. 0.50 s and 15 MB
- C. 0.125 s and 3.75 MB
- D. 0.10 s and 3.00 MB
Correct answer: C. 0.125 s and 3.75 MB
During a burst of length S the bucket drains at (M - rho): S = C/(M - rho) = 3/24 = 0.125 s, and data = M x S = 3.75 MB. Ignoring token refill during the burst gives 0.1 s and 3 MB.
More Computer Networks questions
- A single-error-correcting Hamming code protects m data bits with r check bits satisfying 2^r >= m + r + 1. How many check bits are needed…
- A 12-bit CRC uses a generator polynomial of degree 12 with non-zero constant term. What are the probabilities that a burst error of length…
- A TCP connection runs over a 1 Gbps path with RTT = 100 ms. The 16-bit window field alone can express at most 65535 bytes; with the…
- A TCP connection sends at 40 Gbps. The sequence number counts bytes in a 32-bit field. Approximately how long does it take for the…
- In slotted ALOHA the total number of transmission attempts per slot is Poisson distributed with mean G = 1.5. What fraction of slots…
- A router output link runs at 10 Mbps and carries packets of average size 1250 bytes with exponentially distributed sizes; arrivals are…