ObjectivesIn this experiment, we will learn how packet-switched networks could be modeled as networks of queues by using discrete event simulation techniques. We will record the end-to-end packet delays under varying offered load conditions to compare them later with theoretical analysis results. ExperimentPart 1The script q_net.py models a small packet-switched network. By going through the script, draw a diagram of the network modeled (like the diagram shown below in the second part of the experiment). It uses SimComponents.py models that you are now familiar with (we used them in the previous experiment). Dr. Bernstein's Web site Basic Network Simulations and Beyond in Python has quite useful information about the models. We think that the comment blocks included in the SimComponents.py file contain important information as well. Run the model to see how things work. Change the packet generator parameters to see how packet delays are affected. Once you understand how the model is built, you can proceed to Part 2 below. Do not forget to show the diagram to your lab demonstrator. Part 2We have created a simplifed engineering faculty (our fictitious faculty has three departments only) computer network diagram as a queueing network. The diagram is shown below: By using the q_net.py as your starting point, write your simulation script to model the above queueing network. We know the following:
For the offered link loads of 10%, 20% and 30% of the Ethernet link capacities (i.e. 100 Mbits/sec) at the departmental LANs (packet generators), run your simulation for 5000 seconds to collect and record the following statistics in a table:
Show the results to your lab demonstrator. Your ReportAfter finishing your experiments, you will need to prepare a short (maximum two pages, 10 pt Times-Roman font) report summarizing the key points you have learned in this exercise. Please convert your report to PDF (no other formats will be accepted), zip your report with all the Python code you have written for the experiment, and upload all as a single zip file to the unit's Moodle site before the due date (we will post the deadlines at the unit's Moodle site). References
|