Question
A host is regulated by a token bucket. The token bucket is continuously filled at a rate of 0.2M tokens/sec. It is initially filled to
A host is regulated by a token bucket. The token bucket is continuously filled at a rate of 0.2M tokens/sec. It is initially filled to capacity with 0.5M tokens. It takes 1 token for a data packet to be released into the network. Now suppose that data comes in three 1M-packet bursts (i.e., each burst contains 1M packets). Bursts occur at the beginning of the first, second, and third second, and each lasts for 500 msecs. Assume all packets are of the same size, and packets can depart at the same rate they arrive if tokens are available.
A. Just before the second burst arrives, there would be ___? packets left in the buffer
B. Just before time 3 seconds, there would be ___? packets left in the buffer
C. The computer would release all the packets into the network after ___? seconds
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started