








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Main points of this exam paper are: Independently Each Cycle, Queueing Model, Probability, Arriving Cell, Steady-State Probabilities, Expressions, Cell Loss Probability, Average Queue Length, Data Structure, Address Prefixes
Typology: Exams
1 / 14
This page cannot be seen from the preview
Don't miss anything!
This part of the exam is closed book. Be neat and show your work in the space provided.
Give expressions for the average queue length and for the cell loss probability.
If a packet with destination address a3b2ff75 is received, what output port should it be forwarded on (the address is given in hexadecimal notation)?
What about packets with addresses 32fecd91 and 725cd401?
Show how the data structure must be changed to include a new prefix 101101* with next hop 22. Show how it must be changed to include a new prefix 01001* with next hop 17.
How many bits per second are carried on the links into and out of the backbone switch if the routing tables only have an entry for 80% of the packets received?
What is the probability that the next cell to be received from input 7 arrives at time t + i?
What is the probability that the next cell from either input 2 or input 7 arrives at time t + i?
What is the probability that the next cell from input 2 arrives at the same time or before the next cell from input 7?
Suppose that all 20 sources send data at 25 Mb/s, with a packet length of 50 cells. Using the even offset analysis method, how much memory is required for 100% goodput? What should the threshold value be?
How many entries are needed in each OPP routing table, assuming that the OPPs use direct lookup tables? How many bytes per entry?
How many entries are needed in each OPP routing table, assuming that the OPPs use CAMs? How many bytes per entry? If the cost per bit of the CAM is 5 times the cost per bit of standard memory, what is the relative cost of the two alternatives?
Assume that data is arriving on inputs 0, 3, 8, 11 and 15 at 500 Mb/s and that data is arriving on inputs 1, 4, 9, 13 and 19 at 250 Mb/s. If bus arbitration is done using a simple static daisy chain arbitration mechanism in which input 0 always gets the first opportunity to use the bus, how much of the bus bandwidth do each of the inputs get?
Suppose that the bus arbitration is done using daisy chain arbitration in which the starting point is rotated by one position after each bus cycle (so if input 0 gets the first chance to use the bus during one bus cycle, then input 1 gets the first chance in the next bus cycle). How much of the bus bandwidth do each of the inputs get in this case?
Suppose the bus arbitration is done using daisy chain arbitration in which the starting point is rotated just past the winner of the previous bus cycle (that is, if input i uses the bus in one bus cycle, then input i + 1 is first in the daisy chain in the next bus cycle. How much of the bus bandwidth do each of the inputs get in this case?
Give an expression for the virtual cell discard probability at the output queue of the first switch.
Give an expression for the congestion probability at the output queue of the first switch.
Let x 1 denote the cell discard probability obtained using the IBA model. Let x 2 denote the virtual cell discard probability. Let x 3 denote the congestion probability and let x 4 be the value for the cell loss probability obtained using a fluid simulation of the output queue. Without doing any calculations, list the xi in order from the smallest to the largest.
Suppose that active sources send data at 150 Mb/s instead of 20 Mb/s and that the buffer can hold up to 200,000 cells instead of 2,000. List the xi in order from smallest to largest under this assumption.
,33 ZLWK SHU RXWSXW TXHXHV
RI ZDLWLQJ FHOOV LQ TXHXH
,33 QXPEHU
RI GHVWLQDWLRQ 233
Suppose that during an arbitration cycle, each IPP sends the crossbar controller a bit vector specifying which of its queues are non-empty and that the crossbar controller uses an iterative matching algorithm to select which IPPs get to send in each cycle, based on the empty/non-empty status of their queues. Assume that whenever an output is requested by more than one input, the controller grants permission to send, to the input with the smallest index (that is, if input i and input j , both select output k and i < j , then the controller selects input i). If an input gets grants for more than one output, the controller accepts the grant for the output with the smallest index. For the example situation shown above, show which inputs are selected to send cells by the crossbar controller assuming that the crossbar controller implements three iterations of the iterative matching algorithm. Show which outputs, each selected input is matched to.
Suppose that the IPPs send the crossbar controller the number of cells in each of their per-output queues, rather than just a bit vector and that the crossbar controller uses this information in the iterative matching algorithm. In particular, assume that when several inputs request a given output, the controller selects the input with the longest queue (assume ties are broken in favor of the input with the smallest index). If an input is selected by multiple outputs, the controller matches it with the output for which it has the most waiting cells. For the example above, show which inputs are selected by the iterative matching algorithm in this case and which outputs they are matched to. Assume that in this case, only two iterations are performed.
The iterative matching algorithm does not always match inputs to outputs in the best possible way. Consequently, some of the switch bandwidth can be wasted. Show that there are worst-case traffic patterns in which the first version of the iterative matching algorithm causes half of the crossbar bandwidth to be wasted, even if we allow an unlimited number of iterations. Can the performance be any worse than this? Why or why not? How does the second version of the iterative matching algorithm perform for the traffic pattern that causes the first version to perform badly?