alt text 

Experiment V: Performance of an Input-Queueing Packet Switch Under Varying Offered Loads

Ahmet Sekercioglu and Leon Seng

Objectives

In this experiment, based on the sample program we provide, you will write a SimPy simulation that will produce a report of performance of an NXN (N=2,…,10) input-queueing packet switch under varying offered link load conditions (from 20% to 90% of the individual link capacities).

Procedure

  • Download the sample program iq_switch_perf.py and become familiar with its structure by running it. You will need the following as well: SimComponents.py and IQSwitchComponents.py

  • Expand iq_switch_perf.py to write your program which will produce the switch statistics and performance reports in tabular form as shown below:

Switch Statistics
      | Offered Load as a Percentage of the Individual Link Capacities:               |
      |   20%   |   30%   |   40%   |  50%    |  60%    |  70%    |   80%   |   90%   |
      |Gen. Rcv.|Gen. Rcv.|Gen. Rcv.|Gen. Rcv.|Gen. Rcv.|Gen. Rcv.|Gen. Rcv.|Gen. Rcv.|
  2X2
  3X3
  4X4
  5X5
  6X6
  7X7
  8X8
  9X9
10X10
Gen. = Total number of packets generated
Rcv. = Total number of packets received
Switch Performance
      | Offered Load as a Percentage of the Individual Link Capacities:               |
      |   20%   |   30%   |   40%   |  50%    |  60%    |  70%    |   80%   |   90%   |
  2X2
  3X3
  4X4
  5X5
  6X6
  7X7
  8X8
  9X9
10X10
Switch performance is calculated as:
total_number_of_packets_received/total_number_of_packets_generated

Your Report

After 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


Ahmet's Home