CS386M: Communication Networks
Homework 2
Spring 2008
Due: April 16th, 2008
Basic guidelines:
P1. Basic concepts. (35 points)
P2. Scaling of overlay multicast trees. This problem is designed for you to have
some exercise on back-of-the-envelop calculation. [50
points]
Consider 216
= 65,536 overlay routers. Each overlay
router has 500 MB memory. These overlay
routers collectively form a multicast service overlay. The overlay network topology is designed to
ensure that each overlay router has at most 32 neighbors.
Given a multicast
group G with M members, a shared multicast tree is used to connect all the
group members. If the shared multicast
tree is constructed using CBT, then the total number of nodes on this multicast
tree can be estimated according to the Chuang-Sirbu scaling law [CS98,
PST99]. Specifically, we assume that
with M members, the average number of on-tree nodes is given by min (M + M0.8,
216).
The group size
distribution is governed by the following power law. Among all the multicast groups, the number of
groups with exactly M members (1 £ M £ 216) is inversely proportional to M.
Meanwhile, we
assume that the amount of data traffic for a multicast group with M members is
proportional to M2.
For a given
group G, each node on the multicast tree maintains the following group state:
(i) a 32-bit group ID, and (ii) a 32-bit bit-vector that indicates whether each
of its neighbors has downstream member(s) of G.
As I mentioned
in class, one promising idea to improve the scalability of multicast service
overlay is through the use of “aggregated multicast trees”. Specifically, we can take multiple multicast
groups and create a single aggregated multicast tree to connect the members of
all these groups. In this way, we are
able to reduce the number of multicast trees and thus reduce the overall memory
requirement. The tradeoff here is state
reduction versus traffic duplication – members of group G in an aggregated
multicast tree now need to receive not only traffic destined to G itself but
also traffic destined to other groups in the aggregated multicast tree. The following question is designed to capture
this tradeoff.
Note: You may need
to write a little program to compute the numerical answer.
Reference:
[CS98] J. Chuang, and M. Sirbu, Pricing multicast
communications: A cost-based approach. In: Proceedings of the INET'98 (1998).
[PST99]
G. Phillips, S. Shenker, and H. Tangmunarunkit, Scaling of multicast
trees: comments on the Chuang-Sirbu scaling law. In: Proceedings of ACM
SIGCOMM’99 (1999).
P3. Accuracy of anomaly
detection. [15 points]
Suppose the true
false positive ratio of an anomaly detector is p = 0.01%. For a given time
series with n true negatives (i.e.
non-anomalies), we can obtain an estimated false positive ratio pest. How large does n need to be in order to ensure that the
estimated false positive ratio pest
is within +/-10% of the true false positive ratio p with 95% confidence? If
the input time series is SNMP link load data aggregated at 5-min intervals,
what is the minimal required total duration of the input trace?