






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Abstract — In this paper we evaluate a method of using inter- leaved spanning trees to compose a resilient, high performance overlay mesh. Though spanning trees of arbitrary type could be used to construct an overlay mesh, we focus on a distributed algorithm that computes
minimum spanning trees on an arbitrary graph. The principal motivation behind this strategy is to provide applications with a
-redundant, high quality mesh suitable for demanding applications like A/V broadcast, video conferencing, data collection, multi-path routing, and file mirroring/transfer. We elaborate details of
-MST, pointing out advantages and potential problem points of the protocol, and then analyze its performance using a variety of metrics with simulation as well as a functional PlanetLab implementation. Keywords: System design, Experimentation with real net- works/Testbeds.
I. INTRODUCTION Over the past several years, considerable work has been done in designing overlay networks to optimize and enable ap- plications over the Internet. Detour [1], for instance, improves routing efficiency by exchanging congestion information be- tween nodes and adaptively routing through overlay paths that correspond to better routes. Resilient Overlay Network (RON) [2] allows distributed applications to perform overlay path selection in an application-specific manner, detect path failures, and recover by routing data through other overlay paths. High-performance streaming media systems [3], [4] enable a pair of nodes to communicate through multiple overlay paths simultaneously. Overlay networks have also emerged as a powerful method for delivering content [5]– [9] and coordinating multi-point communication algorithms. CoopNet [10] streams media and employs striping over multi- ple overlay trees to enhance both performance and reliability. Byers et al. [11] propose a system for performing multi- point transfers across richly connected overlays by judiciously coordinating delivery of subsets of data in a highly distributed and concurrent fashion. Cheng et al. [12] address the dual problem of collecting data from several hosts by carefully scheduling the movement of data. The performance of these applications is highly dependent on the ability to operate over good quality overlay paths. A richly connected overlay network comprised of high quality virtual paths provides the ideal setting for these applications;
Arvind Krishnamurthy is supported by NSF grants CCR-9985304, ANI- 0207399, and CCR-0209122. Randy Wang is supported by NSF grants CCR-9984790 and CCR-0313089.
applications can then react quickly to fluctuating performance, use application-specific path selection, or coordinate concur- rent communication over multiple paths. Proposed in this paper is a mesh-first approach, where the dense graph of all possible overlay links is reduced to
to any one of the standard performance metrics, such as latency, bandwidth, and loss rate. The mesh is constructed using initial estimates of network properties and refined over time. Like other unstructured overlays, such as End-System Multicast [5], we view the tasks of mesh construction and routing as independent. A standard routing protocol is used to propagate the performance characteristics of the selected links. The primary motivation to construct an overlay mesh of
lay paths between any two nodes, to promote fault- and performance-tolerance, and to enable path diversity. Though
it does not bound the diameter or the degree of the network. However, it is possible to address these additional constraints with other distributed heuristics that will be discussed in later sections. Also, trees have important properties that simplify aspects of mesh maintenance in the distributed environment. For example, the addition of any link creates a fundamental cycle, the removal of any link along a fundamental cycle restores the tree property, and any edge failure partitions the tree into two components. All these properties can be detected and maintained with limited local knowledge. Though we have been developing a prototype overlay net-
this paper focuses not on our architecture but primarily on
mance mesh applications. We are not interested in using this strategy in peer-to-peer file sharing or distributed object loca- tion settings, but are more interested in applications requiring resilient, high performance data delivery like A/V multicast, video conferencing, data collection, multi-path routing, and file transfer. The need for such applications is most pressing in infrastructure-type settings like PlanetLab as well as in large corporations where overlay networks of less than 1000 nodes suffice. In such environments, a large amount of data concern-
ing neighbors and link quality is available or obtainable, and we seek a distributed solution that makes efficient use of this rich quantity of information.
II. BACKGROUND AND RELATED WORK Over the last several years, extensive work has been done in the realm of overlay network design. In general, these systems can be broadly classified into two categories: tree- first strategies and mesh-first strategies. Here we summarize a few systems that are most relevant to our study.
A. Tree Construction Strategies
A number of projects have studied strategies for building application-specific overlay trees, particularly for multicast applications. The trees are constructed directly, and they de- fine, implicitly, an unique communication path between every pair of nodes in the overlay network. These approaches have the advantage of not requiring the execution of a distributed routing algorithm. The ALMI (Application Level Multicast) project [13] lever- ages a technique to compute a minimum spanning tree (MST) at a centralized administration point based on information retrieved from inter-node probes, which is subsequently pro- grammed into the network. Yoid, HMTP, and Overcast use the technique of constructing a distribution tree by having group members explicitly choose parents from their known set of neighbors [14] [15] [6]. Yoid’s tree is static, but HMTP and Overcast trees adapt to changes in link characteristics and peer addition/removal by periodically trying to swap local links in the overlay. A good discussion of switch-tree improvement protocols may be found in [16]. TMesh [17] improves upon single shared tree overlays by randomly inserting “shortcut” links into the topology. Effectively, this reduces the diameter of the network and better supports multicast groups in which only some of the nodes are participants. OMNI [9] considers a two-tier multicasting infrastructure consisting of service nodes and clients that connect to service nodes. The system provides algorithms for organizing the service nodes into an appropriate overlay structure based on the changing distributions of client connectivity. An initial centralized computation is followed by a distributed iterative refinement to obtain a tree that minimizes the minimum average latency and controls node degree. NICE [18] partitions nodes into clusters of fixed size, elects representative nodes to represent the cluster, and repeats the process recursively in order to create a hierarchy of nodes. Tree maintenance for nodes costs only
resulting in a highly scalable system.
B. Mesh Construction Strategies
Mesh-first strategies construct a richly connected graph first and then compute overlay paths or source-specific multicast trees using well known distributed routing algorithms. We now review existing methods of mesh-first overlay construction, summarizing the positive and negative properties of each and highlighting previous approaches and results where relevant.
a) Complete Graph: It is possible to perform overlay routing calculations based upon information that describes all available network links. The RON project at MIT is evaluating the benefits of overlay routing atop such a graph. Their results indicate that a connected overlay provides improved fault tolerance and performance to that observed in the underlying infrastructure [2]. Though the routes provided by the overlay are very near to optimal, from the standpoint of minimizing each of several metrics, the actual execution of a routing algorithm across a dense network, with
(^) edges, is rather expensive: inter-server traffic becomes unacceptably large with networks even as small as 50 to 100 nodes [2]. b) Random Links Graph: The k-Random links strategy is simple and fully distributed: every node randomly selects of its edges for inclusion in the graph, resulting in a global edge count that is less than or equal to . This approach allows for high partition resilience with little overhead, for if a node detects a link failure, it may select another random link from its pool without coordinating with another peer. If a failed node returns to the network, it is similarly simple for it to rejoin. A k-Random graph also has probabilistically uniform degree distribution, which tends to promote load balancing for multicast networks, as well as shallow diameter. The main problem with this strategy is that the selected links may be bad, leading to routing inefficiencies. The approach of choosing random peers is seen in numerous architectures. Narada, for example, chooses links at random initially, and then improves the quality of the mesh incrementally [5]. c) Best Links Graph: This strategy is similar to the - Random graph, except that each node autonomously chooses its best links. Because pairs of nodes will independently include each other in their selections, the k-Best-Links graph is composed of as few as
and at most low weight links. While this graph has low aggregate weight, it generally does not guarantee connectivity, and it might exhibit large diameters even if it is connected. We have found this to be especially true in real world scenarios like PlanetLab. d) Short-Long Strategy: To select links, a node may choose of the best (short) links of which it is aware and random (long) links. This strategy provides a low-weight topology with probabilistic connectivity properties. This is closely related to the -MST strategy, which also includes many of the best links of the graph. e) Connect-Improve Strategies: Several architectures take the approach of quickly choosing links, often randomly, to provide fast joining and subsequently rely on local im- provement to improve the “goodness” of the mesh. In the Narada protocol, for example, a node joins the network by choosing random peers [5]. As the node discovers more peers, it evolves its randomly selected edges to include links of higher utility, while preventing partitions through a special mechanism. However, the initial graph is far below optimal and every node must continuously run the improvement al- gorithm, for evolution to proceed properly, causing relatively slow convergence and high bandwidth utilization [5], [18].
represent the edges of the minimum weight spanning tree of graph
; if graph
is not connected,
would correspond to a forest of disconnected components. Furthermore, let
refer to a sub- graph of
We compute:
end for
minimum spanning tree of the initial graph excluding the edges of previously computed MSTs. The algorithm then outputs a subgraph
minimum spanning trees.
best known theoretical algorithms for graph pruning. Second,
centrally computed minimum spanning trees for streaming
sirable properties that facilitate the task of mesh maintenance in a distributed setting. We now examine each one of these considerations. 1) Related Graph Theoretic Results: Techniques for using interleaved spanning trees to compute constrained minimum- weight connected subgraphs have been well explored in previous literature. The algorithm with the lowest known
subgraph problem is by Khuller and Vishkin [27] and uses a graph algorithm developed by Gabow [31]. The approximation algorithm works as follows. It takes the undirected graph and forms a directed graph
where every undirected edge is replaced by two anti-parallel directed edges of the same weight. A polynomial-time algorithm, discovered by Gabow,
smallest cumulative weight. If at least one of the directed edges is picked by Gabow’s algorithm, the corresponding undirected edge is included in the pruned subgraph. It can be shown
of
edges. A related approach is the algorithm by Roskind and Tar-
of minimum total weight given an undirected graph. These
This approach differs from the previous one in that it performs
edges. Consequently, it might result in a subgraph with more edges than the Khuller-Vishkin strategy. Both algorithms exhibit limited concurrency, do not lend themselves to distributed computation, and do not factor in
MST, they become an interesting point of reference. In fact,
executed without degree and diameter constraints, computes solutions that closely approximates the solutions computed by the Roskind-Tarjan algorithm for the various network topologies that we have studied. 2) Related Overlay Construction Strategies: Other closely related work includes ALMI, in which the authors demonstrate that a single MST, computed in a centralized fashion and then disseminated to overlay peers, provides for a good multicast tree. Also relevant is the work done on TMesh, which augments a multicast tree with random “shortcut” links to improve latency performance by reducing network diame- ter [17]. However, instead of augmenting the initial structure with only sparse links, we augment with complete trees that provide “shortcuts” while also increasing global redundancy.
executed without the degree and diameter constraints. While these properties hold only in an approximate manner if the degree and diameter constraints are imposed, they still provide insight into a number of interesting properties that are useful for maintaining the mesh. All of these properties can be proved with simple graph-theoretic refutation arguments, which are omitted for brevity.
in the graph.
. Let
. If the cost
conditions), then
can be repaired by adding the minimum
. One does not need to consider any other edges to repair
. Let the
property of
does not need to make any other changes to
C. Distributed Minimum Spanning Tree Algorithm The distributed computation of a minimum spanning tree was solved by Gallagher, Humblet, and Spira in their ground- breaking paper [28]. We now provide a brief review of their algorithm, referred to as GHS in this paper. Please refer to [28] or [34] for a thorough discussion of GHS. We assume that neighbor information comes from some out- of-band mechanism, and that all probing has been done by the start of the algorithm.
The algorithm builds the components in levels. At the start of the algorithm, each individual node comprises a component of size one and is at level 0. At each step, one of the nodes in each component is elected as a leader of the component. The leader’s UID and the component’s level number is used as the component identity, compid. The leader broadcasts an initiate message along the spanning tree edges of the component to start a search to find the minimum weight outgoing edge , or mwoe. On receipt of the initiate message, each node probes its remaining links in order of increasing weight to identify the lowest-cost edge that leads to a different component. A node performs a probe by sending a test message containing the node’s compid to its best neighbor. The neighbor sends back an accept message only if it belongs to a different component. If it belongs to the same component, it responds with a reject message. The results of the search are convergecast back to the leader through report messages. The leader then identifies the mwoe of the entire component and sends a changeroot message to the node that is adjacent to the mwoe. On receipt of the changeroot message, a node sends a connect message across its mwoe. When connect messages have been sent both ways along this edge between two components of the same level , a merge operation occurs to create a new component with level = level + 1 , and one of the two endpoints of the mwoe is elected as the leader of this new component. If a connect message is sent to a component that is at a higher level than the sender, an absorb operation occurs, and the lower level component gets incorporated into the higher level component. When the algorithm terminates, there is just one component that includes all the nodes in the graph connected by the minimum spanning tree. GHS is message efficient in that it uses
, is not optimal. Subsequently, several others have developed faster versions of the protocol [30], [33].
. If an edge
without creating a cycle and if it is identified as the mwoe by a component in
the same operation, and the edge is similarly promoted to subsequent instances of MST until it can be successfully added
is tagged in a manner similar to the original MST algorithm so as to exclude it from further computations.
and therefore, at any given time, a single process has member-
to each MST must be kept internally and additional infor- mation must be appended to messages. First, the component identifier requires an additional field treeid denoting the MST
a) b)
c) d)
Test message for tree 1 Test message for tree 2
Branch for tree 1 Branch for tree 2
Fig. 1. The minimum spanning trees computed by 2-MST for a 4 node network. In
, peers test their closest edges. Since no peer yet has any branches, all these edges are included in the first MST. In
, peers test the next closest neighbors. Because these are interior edges, they are rejected and promoted to the second MST. In
, the second instance of the MST algorithm tests the newly injected edges, and because the second tree has no links yet, all these edges are accepted.
with which the subtree is associated. Second, each process
belongs or is being considered for. In GHS, every link belongs to one of three categories: branch denoting a spanning tree edge, rejected denoting a non-outgoing edge,
s to be incremented, thereby allowing the links to be processed by higher instances of MST.
, the link has failed to join all trees
and may therefore be considered as rejected. At the start of the algorithm, every process in the network
components to which it belongs.
, the process searches through its links to find the lowest weight basic edge, best , that also has the property
. This edge is the minimum weight outgoing
forest
. Let
be the remote node associated with best.
processes the message as follows: if
then wait if
then reject if
then DoMSTCheck where DoMSTCheck checks whether the two subtrees belong to the same component.
a) original tree b) A wants to swap e1 and e2. B wants to swap e3 and e4.
e e
e
e
A
B c) A and B both make the improvements.
Fig. 2. Possible concurrency errors resulting in loops and/or partitions.
lock message along the improvement cycle to all of the edges that may be affected by the improvement. Next, it sends an improve message along the cycle to add the improvement link, remove the bad link, and readjust parent pointers appropriately. Finally it forwards an unlock message in the reverse direction to finalize the improvement. A full description of this protocol is beyond the scope of this paper, but we have devised simple ways to ensure that no concurrent improvements take place on shared links, and that the tree remains in a survivable state at all times; parent pointers are always such that the fault recovery mechanism works if any link or node along the improvement cycle goes down.
I. Degree and Diameter Bound Heuristics
On real world topologies, it is possible that an MST could exhibit hot spots and suffer from high diameter. However, it is possible to modify the distributed MST algorithms to add heuristics that approximately limit the degree and diameter of the MST.
messages from peers if its degree target has been reached. However, this is not sufficient by itself. Consider that there
the first
their respective components must restart the search round. All
the greedy algorithm does not attempt to build the lowest- weight spanning tree for a given degree bound, which is an NP-Hard problem. A similar methodology may be used to control network di-
, and let
denote the distance from a node
to the node farthest from
within the same component. A
node inside the component through a pair of carefully designed broadcast-convergecast operations. The diameter constraint is
and
along an edge
, for some fixed constant
compute the lowest weight spanning tree for a given diameter bound.
J. Reducing kMST Complexity All techniques for improving the performance of distributed
techniques may be found in [36] [30]. An additional method that can be used to reduce the message count and time complexity is to simply let every node know the members of its component. This may be done in the Report and Initiate phases of the protocol by having all nodes report a list of their children to the root, who subsequently broadcasts this list when initiating the next search phase. This eliminates intra-component testing, which always leads to rejection, thus reducing the message count to
at the expense of increasing the size of report and initiate messages from
to
A similar technique can be used by employing Bloom filters instead of complete lists, thus providing nodes an approximate view of component membership; some configurable percent- age of the time, a node will conclude that a remote peer is already a member of its component, even when it is not, and mistakenly reject it in a pre-emptive fashion. However, with high probability, the final tree will still be connected and close to the optimal result.
K. Bandwidth and Loss Rate Metrics The designers of RON pointed out the benefits of being able to route according to multiple metrics, such as latency, bandwidth, and loss rate. Because pruning a graph based on only one metric could limit a routing algorithm’s ability to optimize other important factors, we take the approach of computing multiple overlay networks, each composed of trees that either minimize latency or loss rate or maximize bandwidth. This allows several applications to execute concur- rently, each routing atop a graph optimized for an appropriate metric (as illustrated in Figure 3). For bandwidth-intensive applications, it would be ideal if the mesh provides paths that have few bottlenecks at the physical link layer. We are currently extending our algorithms to incorporate physical topology information, if such information is available.
Framework
Link-State Protocol
Spanning Trees Protocol
Spanning Trees Protocol
File Transfer (^) ConferencingVideo Link-State Protocol
Bandwidth Probe Latency Probe Loss Rate Probe
Link-State Protocol
A/V Multicast
Spanning Trees Protocol
0
50
100
150
200
250
300
350
0 20 40 60 80 100
Edge Count
Seconds (a)
k= k= k= k=
0
50
100
150
200
250
300
350
0 20 40 60 80 100
Edge Count
Seconds (a)
k= k= k= k=
0
1
2
3
4
0 20 40 60 80 100
Avg. Bandwidth Out per Process kbps Seconds (b)
k= k= k= k=
0
1
2
3
4
0 20 40 60 80 100
Avg. Bandwidth Out per Process kbps Seconds (b)
k= k= k= k=
meshes in simulation and also study the PlanetLab deployment
deployment of the algorithm across PlanetLab. The algorithm is implemented as described in Section III-D. Protocol mes- sages are queued at nodes and handled in a batched mode once every second. Traffic measurements include the message overhead for constructing the mesh as well as heartbeat and other maintenance traffic. Figure 4(a) shows global link count as a function of time
, there is very little parallelism in the construction of the different trees. This is
may test any edges, it must first wait
pipeline, higher tree instances begin to successfully execute, creating branches and rejecting links. Finally, the tail end of the curve again demonstrates limited concurrency, as the last trees are waiting for lower instances to process their links, most of which will be interior. Figure 4(b) illustrates the bandwidth consumption of the algorithm. The bandwidth utilization of MST is at its highest when components are probing for outgoing edges, particularly the later stages where interior edges become increasingly numerous. At the start of the run, when all sub-trees are composed of a small number of nodes, a larger proportion of test messages are accepted by peers. As components form into larger trees, more of a process’s test messages result in rejection, since its better links correspond to nodes that are already part of its component. Towards the end of the run, when components span much of the network, the rejection rate is at its highest, particularly when the network demonstrates large localized pockets. In Figure 4(b), the “bumpy” pattern corresponds to points in time when large local subtrees have formed. In the first steep portion of each curve, bandwidth is increasing as trees in the Western US, Eastern US, and Europe form. Once these regions finish testing their relatively local links, they begin merging
with one another, decreasing bandwidth utilization temporarily and causing the downturn in the first “hill.” Bandwidth con- sumption again increases once these inter-locality links have formed, and is highest during the last phases of the algorithm as nodes test peers to which they are already connected. We
in the following section with simulations of larger executions.
topologies. The first was created by using Internet router in- formation obtained by the Internet Mapping Project at Lucent Bell Laboratories circa November 1999. From this map, 1000 edge-nodes were chosen and a pair-wise distance, measured in terms of hop count, was used as the cost metric to compute the subgraph, since actual latency data was unavailable (as discussed in [37], [38]). The other topology was a Transit- Stub network produced by Georgia Tech’s GT-ITM topology generator; we generated a 50,000 node network and then chose 1000 nodes at random to perform our experiments. For both topologies, when fewer than 1000 nodes were needed, the required set of nodes was chosen randomly from these 1000 node pools.
be sparse, in these experiments we use fully connected graphs, which give worst-case measures for convergence and communication. Recall that the message complexity of an optimal implementation of MST is
we are interested primarily in the time and the number of messages required before all trees are formed, when the mesh is connected and usable, not the complexity required for the algorithm to exhaust all internal edges in the last phase. The