Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Exam Questions for CS 577 - Design and Analysis of Switching Systems, Exams of Design and Analysis of Algorithms

Exam questions for the course cs 577 - design and analysis of switching systems. The questions cover various topics such as bus-based cell switches, ring-based atm switches, crossbar scheduling algorithms, and virtual output queues. Students are expected to provide expressions, calculations, and diagrams to answer these questions.

Typology: Exams

2012/2013

Uploaded on 03/23/2013

sardai
sardai 🇮🇳

4

(10)

117 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Please write clearly. Make your answers concise, but complete.
1. (6 points) Consider a bus-based cell switch with a sub-divided bus with 16 inputs
and outputs. Suppose that each cell time, a cell arrives on each input with
probability p and that each cell is assigned randomly to a different output. Give an
expression for the probability that in a given cell time, output 0 receives exactly one
cell.
Suppose the OPP at output 0 has a knockout concentrator that can forward up to six
cells per cell time into the OPP’s cell buffer. Give an expression probability that in a
given cell time, more cells arrive at output 0 than can be placed in the buffer.
Give an expression the probability that an arriving cell is discarded.
CS 577 – Design and Analysis of Switching Systems
Exam 2
J
onathan Turne
r
11/
7
/
02
pf3
pf4
pf5
pf8

Partial preview of the text

Download Exam Questions for CS 577 - Design and Analysis of Switching Systems and more Exams Design and Analysis of Algorithms in PDF only on Docsity!

Please write clearly. Make your answers concise, but complete.

  1. (6 points) Consider a bus-based cell switch with a sub-divided bus with 16 inputs and outputs. Suppose that each cell time, a cell arrives on each input with probability p and that each cell is assigned randomly to a different output. Give an expression for the probability that in a given cell time, output 0 receives exactly one cell.

Suppose the OPP at output 0 has a knockout concentrator that can forward up to six cells per cell time into the OPP’s cell buffer. Give an expression probability that in a given cell time, more cells arrive at output 0 than can be placed in the buffer.

Give an expression the probability that an arriving cell is discarded.

CS 577 – Design and Analysis of Switching Systems Exam 2 Jonathan Turner 11/7 /

  1. (10 points) Consider a ring-based ATM switch with 16 external links operating at 1 Gb/s each. Assume that the ring is 32 bits wide and that the circuit technology being used supports point-to-point lines operating at up to 200 MHz. If the switch adds seven bytes of internal header information to each cell before sending it on the ring, what is the maximum average traffic load that can be supported on the outgoing links?

Assume the ring uses a slotted ring protocol with a busy/idle bit, where each ring interface with a cell to send uses the first empty slot that it sees to send its cell. Suppose traffic is arriving at 1 Gb/s at each of inputs 0 through 7 and this arriving traffic is all going to outputs 8 through 15. What fraction of its traffic is each input actually able to send?

  1. (10 points) Give an example showing that i -SLIP can require up to 5 iterations to complete a packet scheduling operation for a 5 port crossbar. Specifically, give an initial state of the crossbar, showing which inputs have packets to send to which outputs, and initial values of all the “pointers” used by the i -SLIP algorithm. Then show what happens in each of the remaining steps. In particular, show the state of the pointers and which inputs have been matched to which outputs, when the algorithm terminates. The figures shown below are provided to save you time. Be sure to label them appropriately.
  1. (10 points) The figures below show the state of a crossbar with virtual output queues. In particular, the number in row i , column j denotes the number of cells waiting in the VOQ at input i going to output j. The numbers in the bottom row represent the number of cells in the queues at each of the outputs. Show how the LOOFA algorithm matches inputs to outputs, assuming that the outputs select inputs, based on which input has the longest VOQ for the output. Use the extra copies of the figure to show what matches are made after each step by circling the selected entries. Make sure you label the diagrams you are using to indicate each step. At the end, show how the status of the VOQs changes as a result of the selected cell transfers.

7. (10 points) Draw a picture of the network defined by the expression X 3,3⊗( X 3,2× X 2,2 )⊗ X 3,.

How many paths are there between an input x of this network, and an output y?

Suppose this network is used to implement an ATM switch that uses dynamic routing and balances the load evenly across all available paths in the network. Suppose there is a virtual circuit with a bandwidth of 60 Mb/s from input 13 to output 5. On your diagram, highlight all the links that carry traffic from this virtual circuit and label them with the amount of bandwidth used on each line.

  1. (15 points) Given the following permutation, construct the corresponding connection graph for the Benes network B 16,2. Color the edges of this graph and then draw a diagram showing how the connections are routed through each of the top level subnetworks. You need not construct complete routes through all the subnetworks.

input 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 output 14 4 3 11 2 13 12 15 7 1 6 9 5 0 10 8