$25
In this simulation experiment, the behaviour of M/D/1, M/M/1 and M/M/1/K queuing systems will be studied for different input traffic load and traffic patterns. The laboratory will also examine the effect of buffer size selection on the traffic throughput in an M/M/1/K queue model.
Procedure:
This laboratory is designed based on queuing lectures and the FIFO model located in the ELEC3500 folder of the OMNET++ simulator. The simulation model is configurable from the omnetpp.ini file. No model development is necessary for this laboratory - you only need to change simulation parameters to obtain different results. To select appropriate simulation parameters you need to calculate several basic simulation parameters. Use equations (1)-(3) below to calculate your simulation parameters. First, you run the simulation model to obtain the delay and the queue length data for all three queuing models. Following the first set of simulation, you need to run the model with different parameters to obtain several simulation results with different random number seed values to examine the effect of traffic variability. Random seed values are used in discrete event simulations to represent different traffic and network operating conditions. Lastly, you need to examine the effect of buffer size of a packet switch on the network traffic QoS (Quality of Service). QoS of a traffic source is usually expressed in terms of packet delay and loss.
𝐿𝑜𝑎𝑑 𝜌 = 𝜆/𝜇 (1)
𝑆𝑒𝑟𝑣𝑖𝑐𝑒 𝑡𝑖𝑚𝑒 𝑋 = 1/𝜇 (2)
𝐼𝑛𝑡𝑒𝑟𝑎𝑟𝑟𝑖𝑣𝑎𝑙 𝑡𝑖𝑚𝑒 𝑡_𝑖𝑛𝑡 = 1/𝜆 (3)
For all simulation models, run the simulation for 600 sec (i.e., 10 minutes) to collect data for analysis. Use the service rate of 10,000 bits/sec and the packet size of 1000 bits. You need to collect and save simulation results for writing your lab reports.
M/D/1 Queuing System
First, you will use the simulation model to analyse the performance of an M/D/1 system which is characterised by the exponential interarrival time of packets, with deterministic service time and a single server. You can modify the omnetpp.ini file to configure the model to an M/D/1 system. You need to collect the following results for the offered load values = 0.1, 0.3, 0.5. 0.7, 0.9 and 1. To simulate these load values, calculate the packet interarrival time.
Results to collect: Mean packet delay, mean queue length and mean queue delay. You can collect these values from scalar files. You can export scalar and vector files to an Excel spreadsheet to further process your results. You also need to collect the end-to-end delay and queue length plots for = 0.3 and 0.9 (use the vector files).
M/M/1 Queuing System
Configure the simulation model for an M/M/1 system by changing the omnetpp.ini file. Use the exponential distribution to represent the packet size. Collect results similar to those for the M/D/1 queue system. Also, collect similar vector files.
M/M/1/10 System
Configure the simulation model for an M/M/1/10 system by selecting the queue size to 10 packets. Modify the omnetpp.ini file to convert your model from an infinite queue model to a finite queue model. Collect results (scalar and vector) similar to those of the previous experiment. Using this model, collect the packet loss statistics as well as the time-vs-packet-loss plots for = 0.7 and 0.9.
Study the effect of queue size on traffic QoS:
For = 0.95, increase the value of K in steps of 5 to obtain the packet loss of less than 15 packets. Collect the packet loss and end-to-end delay for all values of K that you have used to obtain the packet loss of less than 15 packets. Present these values in a table in your report.
Study effect of random number:
Use the M/M/1 model, set = 0.6, collect the queue length plot using vector files. In this section, you will compare the results generated by using the default seed value of the random number generator and by using two other seed values. You can select any two seed values between 0 and 99, and run the simulation model with these two seed values to collect the packet delay plots. Note down your selected random number generator in the common section of the report as mentioned below