A grahical description of the model is here
The model consists of:
- A data generator that generates IP packets at a certain, variable
rate. The rate can have different probability distribution functions,
with different parameters.
- A buffer that buffers the IP packets and transmits them at a certain
rate, R.
- A token bucket system that decides for every newly arrived IP packet
if the packet complies to the agreed transfer rate or if it is in
excess. If the packet is in excess, it is marked accordingly. If the
buffer is full or almost, the excess packets will be discarded,
otherwise, they will be only marked.
The values R (continually sustainable data rate) and B (the burstiness)
should be parameters of the simulation model.
Requirements:
- Implement the simulation model from above.
- Show a simulation scenario when some IP packets generated by the data generator ar
detected by the token bucket system as being in excess.
- Show a simulation scenario when at least some IP packets generated by the data generator
are detected as complying with the agreed transfer rate R and burstiness B.
- Show the efficiency of the token bucket system in several simulation scenarios. You can
try different values of the average generation rate of the IP packets, and of the
parametters R and B of the token bucket.
Also, you can try different probability distribution functions for data generation.