# Eigenspectrum - Networking- Past Exam Paper, Exams for Networking. Shree Ram Swarup College of Engineering & Management

## Networking

Description: Main points of this past exam are: Eigenspectrum, Standard Linear Algebra, Current Loss Rate, Drop-Tail Link, Modeled TCP Source, Effectiveness, Efficient Utilization
Showing pages  1  -  4  of  6
Computer Science Department
Boston University
Networks PhD Depth Exam
November 2004
1. Check that there are 5 questions over 6 pages including this page. Answer all questions. Turn in your
answers by Friday, November 19, 4:00pm, at MCS-140G.
2. You are free to consult any notes, books and papers during the examination—make sure to include
your references. Copying existing solutions or parts of them will be considered plagiarism, and in this
case you will fail the exam.
You must develop your own solutions, which might use existing ideas and techniques, as long as you
cite them and clearly explain how these existing ideas/techniques ﬁt within your own solution. Failure
to do so and a feel of cut-and-paste in your answers will receive zero credit and you may fail the exam.
You are NOT allowed to consult with any person during the examination.
3. You may typeset your answers (in which you should feel free to include hand-drawn ﬁgures), or you
4. Although questions are of diﬀerent length, they are of equal weight.
5. Please indicate the question number and your code number on each answer sheet. Do not write your
6. If you have any doubt as to the interpretation of a question, make a reasonable assumption and explain
analysis, but possibly by measurements or simple simulations. Be creative!
8. The copyright to any new research question is owned by its author :)
Networks PhD Depth Exam
November 2004
Question 1
You are given a set of paths traversing a network. The paths are organized into a binary matrix Ain
which Aij = 1 if link iis traversed by path j. The number of paths is (as usual) considerably larger than
1. What information about the network can you obtain from the rank of A?
2. What information about the network can you obtain from the eigenspectrum of A(ie., the eigenvalues
of ATA)?
3. What information about the network can you obtain from the eigenvectors of ATA?
4. What information about the network can you obtain from the eigenvectors of AAT?
5. Assume you would like to extract the most commonly-used path segments in the set of traceroutes.
What linear-algebraic operations could you perform on Ato assist you?
6. Assume you are given some measurements on the set of links ~y and are told that the corresponding
measurements on the set of paths follow ~y =A~x. Give an example of a commonly used metric for
which this is true.
7. Is estimating ~x hard in this situation? Explain why or why not. Describe a general strategy for
estimating ~x.
8. Now consider the matrix G=AT. Assume you are given some measurements on the set of paths ~y
and are told that the corresponding measurements on the set of links follow ~y =G~x. Give an example
of a commonly used metric for which this is true.
9. Is estimating ~x hard in this situation? Explain why or why not. Describe a general strategy for
estimating ~x.
10. Now assume that the equation ~y =G~x holds, but that matrix multiplication should be interpreted in
terms of (min, ×) algebra. Give an example metric for which this is true.
11. Now consider the problem of estimating or discovering A, given ~x and ~y. Which of the three metrics
(from answer 6, 8, or 10) would you use to attack this problem? Describe how you would attack this
problem using that metric.
12. Now consider this problem: you can only measure some of the paths in ~y and you want to estimate the
values for the unmeasured paths. Assume we are back to standard linear algebra (ie., (+,×) algebra);
how would you use the fact that ~y =G~x to help you here?
13. Now consider this problem: Go back to the case of ~y =A~x. Assume you can only measure some of the
links in ~y and you want to estimate the values for the for the unmeasured links. How would you use
the fact that ~y =A~x to help you? Consider also using the structure of ATA.
Networks PhD Depth Exam
November 2004
Question 2
To study how damaging low-rate attacks could be on adaptive traﬃc sources, you decided to put your
basic queueing theory knowledge to work. Let’s say you model a legitimate TCP source with a Poisson
arrival process of rate λpackets/second. This legitimate TCP rate λdepends on the observed loss rate p
and the roundtrip time RTT. To model a low-rate (non-adaptive) attack which regularly injects a burst of
packets, you use a batched Poisson process with rate λM
a, where Mis a ﬁxed burst size.
1. Given a certain buﬀer size and capacity for a bottleneck drop-tail link under attack, show the Markov
chain for this system and compute the steady-state packet loss probability for given input rates λand
λM
a.
2. Given the current loss rate, one can update the input rate of the modeled TCP source λ(p), iterating
over the solution in part (1) assuming steady-state between rate updates. Write the analytical equations
for this iterative approach and show whether it converges to a ﬁxed point.
3. Use your iterative solution to study the potency of low-rate attacks by varying the attack rate λM
aand
the attack magnitude Mfor various bottleneck buﬀer size and capacity values. Consider a potency
metric that measures the wasted utilization per attack packet.
4. Summarize any insights you gained from your analysis, especially on the eﬀectiveness of such low-rate
5. On high bandwidth-delay-product highly multiplexed links, some have argued that eﬃcient utilization
can be maintained even for a small buﬀer size, say 10% of the bandwidth-delay product. Using your
model, comment on the implications of such small buﬀers on the susceptibility of the network to
low-rate attacks.
6. Summarize ﬂaws (if any) in the above model and how they may aﬀect the accuracy of your ﬁndings.
Now assuming that low-rate attacks are eﬀective (at least under certain conditions), you are asked to:
7. Devise an end-to-end approach to overcome low-rate attacks.
8. Analyze the eﬀectiveness (performance/cost) of your approach compared to in-network solutions such
as the one described in the paper of Sun, Lui and Yau on your reading list.
9. Provide a sketch of how you would experimentally validate (e.g., via ns simulations) and implement
(e.g., in Linux) your proposed end-to-end scheme. Discuss all pertinent issues and assumptions.
Networks PhD Depth Exam
November 2004
Question 3
You are asked to develop an end-system probe for discerning whether the congestion link between two
end points is best modeled as a drop-tail buﬀer or a RED buﬀer. You may assume that there is only one
congestion point on the path and that you are able to incorporate end-point functionality at any level.
1. Develop such an end-system probe by actively aﬀecting and measuring end-to-end delay jitter.
2. Develop an analytical model that quantiﬁes the expected change in delay jitter as a result of injected
probe traﬃc under RED versus under Drop-Tail.
3. Comment on the marginal utility of your probing traﬃc, i.e. the accuracy of the inference per probe
packet.
4. Provide a sketch of how you would experimentally validate (e.g., via ns simulations) and implement
(e.g., in Linux) such a probing scheme. Discuss all pertinent issues and assumptions.
5. Identify techniques from prior work that could be used as an alternative approach for this inference
problem. Speciﬁcally, discuss the pros and cons of this proposed scheme compared to existing Bayesian
delay-based or loss-based inference techniques, for example the one described in the following paper:
Jun Liu, Mark E. Crovella (2001). Using Loss Pairs to Discover Network Properties. In:
Proceedings of the ACM SIGCOMM Internet Measurement Workshop 2001. pp. 127–138.
http://www.cs.bu.edu/faculty/crovella/paper-archive/imw-losspairs.pdf