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

Analysis of Packet Filter Classification, Queueing Model, Hybrid Scheduler, and NVF Schedu, Exams of Design and Analysis of Algorithms

Solutions to various networking problems. The first problem involves expressing packet filter ranges using indexes of primitive ranges. The second problem deals with constructing a finite state model for a queueing system with high and low priority packets. The third problem analyzes a hybrid scheduler for a 1 gb/s link with 10 rate classes and weighted drr packet schedulers. The fourth problem discusses the definitions and calculations of pij, qj, and slackij in the context of nvf scheduler. The fifth problem covers an adaptive resequencer with a window size w=50 and a delay difference bound δ=50. Lastly, the sixth problem discusses the speedup required for fat tree networks to be nonblocking for point-to-point flows and determining an appropriate limit on the total rate at which individual hosts can send traffic in a data center network.

Typology: Exams

2012/2013

Uploaded on 03/23/2013

sardai
sardai 🇮🇳

4

(10)

117 documents

1 / 6

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. (10 points) Packet classification. The table below shows a set of packet filters with
three fields. The values in the range field can be divided into the five primitive
ranges r0=0-1,r1=2-3, r2=4-6, r3=7-9, r4=10-15. Show how each of the ranges can be
expressed in terms of the indexes of the primitive ranges.
The Karnaugh map below has a label for each of the primitive ranges. Use this to
construct a bit vector for each range (with wild cards at selected bit positions). In
your bit vectors, assume that the bits on the left side come before the bits on the top
(so, 3 is represented by the bit vector 0111).
1 11001* 101* 0-6
2 10* 1* 7-15
3 011* 0101* 4-6
4 0100* 001* 2-9
5 010* 110* 10-15
00 01 11 10
00
012
01
3
11
45
10
CS 577 – Design and Analysis of Switching Systems
Exam 2
J
onathan Turne
r
11/10/2009
pf3
pf4
pf5

Partial preview of the text

Download Analysis of Packet Filter Classification, Queueing Model, Hybrid Scheduler, and NVF Schedu and more Exams Design and Analysis of Algorithms in PDF only on Docsity!

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

  1. (10 points) Packet classification. The table below shows a set of packet filters with three fields. The values in the range field can be divided into the five primitive ranges r 0 =0-1, r 1 =2-3, r 2 =4-6, r 3 =7-9, r 4 =10-15. Show how each of the ranges can be expressed in terms of the indexes of the primitive ranges.

The Karnaugh map below has a label for each of the primitive ranges. Use this to construct a bit vector for each range (with wild cards at selected bit positions). In your bit vectors, assume that the bits on the left side come before the bits on the top (so, 3 is represented by the bit vector 0111).

00 01 11 10 (^00 0 1 ) (^01 ) (^11 4 ) 10

CS 577 – Design and Analysis of Switching Systems

Exam 2

Jonathan Turner 11/10 /

  1. (14 points) Consider a variation of the basic queueing model (discrete time version), in which the arriving packets consist of high priority packets and low priority packets. An arriving high priority packet is added to the queue, if there room in the queue, but a low priority packet is added only if the number of packets currently in the queue is less than or equal to a threshold value. Draw a finite state model for such a queue, assuming the queue has space for a total of four packets and that the threshold is two. Label all the edges with the appropriate transition probabilities. Let the total arrival probability be λ=λ 0 +λ 1 , where λ 0 is the arrival probability for the high priority packets and λ 1 is the arrival probability for the low priority packets (at most one packet arrives during each time step) and let the departure probability be μ.

Write down any two of the steady-state balance equations for your finite state model.

  1. (16 points) In the analysis of NVF, we defined three quantities, pij , q (^) j and slackij. State the definitions of these terms.

The figure below shows the state of a crossbar for the NVF crossbar scheduler. Give the values of p 4,2 , q 2 and slack 4,.

Consider the following situation in a crossbar with speedup 2 that uses an NVF scheduler. At time t a cell arrives and is placed in Vij , making it active. In the next k time steps, cells arrive at input i for other active VOQs. Explain why after the input phase at time t + k , slackijk –1.

output queues

VOQ lists VOQs

1, 2 3, 2, 3,1,

0 1 2 3 4

0 1 2 3 4

  1. (9 points) Consider an adaptive resequencer with a window size W =50 and a delay difference bound Δ=50. Assume that the window boundaries occur on multiples of W. Suppose that after time step 94, the maximum delays seen in the current and previous windows are d 0 =20 and d −1= 35. What is age threshold T , at this point?

If cell A is received at time 95 with a timestamp of 55, what are the values of d 0 , d − and T.

Suppose that a cell B is received at time 120 with a timestamp of 60 and that no other cells are received. At what time are A and B forwarded?