1 / 1

Performance Comparison of Existing Leader Election Algorithms for Dynamic Networks

Plamen Ivanov Faculty Mentor: Jennifer Walter Department of Computer Science, Vassar College. Project Goals: Expand the simulator to better model the system assumptions. Establish performance parameters and compare the two algorithms based on those parameters.

inez
Download Presentation

Performance Comparison of Existing Leader Election Algorithms for Dynamic Networks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Plamen Ivanov Faculty Mentor: Jennifer Walter Department of Computer Science, Vassar College Project Goals: Expand the simulator to better model the system assumptions. Establish performance parameters and compare the two algorithms based on those parameters. Experimentally validate the claims made by Derhab and Badache for their algorithm. Existing Algorithms: Use heights ( n-tuples ) associated to each node to maintain the leader oriented DAG and guarantee that each connected component of the graph has a leader. Links between nodes are oriented from higher to lower heights. Heights are compared lexicographically. The algorithms use link reversal as a response to changes in the topology and the heights of the nodes. Performance Comparison of Existing Leader Election Algorithms for Dynamic Networks Leader Election: Goal is to select a unique processor among many in a distributed system. Used as a primitive in other distributed algorithms. Some applications include: - primary-backup approach to replication-based fault-tolerance. - group communication systems. - video conferencing. - multi-player games. Algorithm Presented by Derhab and Badache - A DAG converges to a state with just one leader within a finite amount of time even if topological changes occur during the convergence time. - Handles multiple concurrent topology changes. - Uses 5 types of messages. - Based on a time-interval computation. - Uses a 9-tuple as height: (Certain, Ts, Lid, Tb, Te, Oid, Refl, Delta, ID). Algorithm Presented by Ingram et al. - Guarantees that after topology changes cease, all DAGs will have a unique leader within a finite amount of time. - Works for arbitrarily changing network topologies. - Handles multiple concurrent topology changes. - Works with asynchronous message delays. - Uses one type of message. - Uses a 7-tuple as height: (Tau, Oid, Refl, Delta, Lts, Lid, ID). Leader Oriented Directed Acyclic Graph (DAG): Graphs use heights to orient links. Heights are parameters determined by the leader election algorithm. DAG is used as a representation of the topology of a network. Certain – 1 if node has a path to leader, 0 otherwise. Ts – time at which the leader has started the creation of its DAG. Lid – the identifier of the node considered to be the leader. Tb – beginning of the Reference Level Interval. Te – end of the Reference Level Interval. Oid – 0 or the ID of the node that started this reference level. Refl – 0 for initiated, 1 for reflected reference level. Delta – distance from leader. ID – the identifier of a node. Tau – 0 or the time when this reference level was initiated. Oid – 0 or the id of the node that started this reference level Refl – 0 for initiated, 1 for reflected reference level. Delta – distance from leader. Lts – the negative of the time when the current leader was elected. Lid – the identifier of the node considered to be the leader. ID – the identifier of a node. Mobile Ad Hoc (Dynamic) Networks: Collection of potentially mobile computing devices. Communication through wireless medium. Typically no fixed infrastructure. When nodes move, communication topology can change. Future Work: Implementing correctly the algorithm presented by Derhab and Badache. Generate topology records with different network configurations: - different number of nodes; - different communication delays; - different node maximum speeds. Run both algorithms on same topology records to compare their performance. Draw conclusions about the functionality and correctness of the two algorithms. System Assumptions: - There are N nodes. - Nodes have perfect clocks. - Nodes communicate through message passing. - Messages are only lost if they are in transit on a link that goes down. - Messages are delivered in sending order over each link. - Message delays are asynchronous or synchronous. - Nodes move at a random constant speed in random directions. - All movement stops at some point in time. Completed Work: Established performance parameters: - number of messages generated. - number of leaders elected. - time for stabilizing after last link change. Improved Simulator Functionality: - added additional GUI elements. - improved visual output of the simulator. - extended support for more versatile system model. - created a recording system to store and replay topological changes. Checked the correctness of implementation of Ingram’s algorithm. Simulator: A discrete event simulator written in java. Simulator models node mobility, dynamic topology and synchronous or asynchronous message delays. Displays the topology. Records topology changes and can replay same topology record with different leader election algorithms. References: An Asynchronous Leader Election Algorithm for Dynamic Networks by Ingram et al. A self-Stabilizing Leader Election Algorithm in Highly Dynamic Ad Hoc Mobile Networks by Derhab and Badache. Tentative Conclusions: We have a hypothesis that the algorithm by Derhab and Badache cannot tolerate variable message delays. Complexity for that algorithm appears to be overwhelming when number of nodes is high or the network is very dense. This material is based upon work supported by the National Science Foundation under Grant No. 0712911.

More Related