1 / 10

Kovan A. Mohammed Ali Advanced Operating System Fall 2013 Kent State University

Messages Complexity Evaluation For Dijkstra-Scholton and Shavit-Francez Termination Detection Algorithms . Kovan A. Mohammed Ali Advanced Operating System Fall 2013 Kent State University. Abstract Of Presentation.

dyllis
Download Presentation

Kovan A. Mohammed Ali Advanced Operating System Fall 2013 Kent State University

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. Messages Complexity Evaluation ForDijkstra-Scholton and Shavit-Francez Termination Detection Algorithms Kovan A. Mohammed Ali Advanced Operating System Fall 2013 Kent State University

  2. Abstract Of Presentation • The Dijkstra-Scholton and Shavit-Francezare algorithms for detecting termination in Distributed Systems. Which both are explicit termination or proper termination, all processes are aware of the termination. In this presentation, I tried to compare massages complexity of both algorithms in fully connected topology with two experiments.

  3. INTRODUCTION • The implicit termination algorithms are messages termination. • The explicit termination is a processes termination. • Dijkstra-Scholton algorithm is for centralized (diffusing) computations. • The Shavit-FrancezAlgorithm generalized the Dijkstra-Scholton algorithm to be a decentralized algorithm. • Two type of messages: MSG & SIG plus messages for Wave algorithm.

  4. Experimental Setup • I tried to run both algorithms, Dijkstra-Scholton and Shavit-Francez in two different experiments of fully connected topology. • I started with 5 processes and increased the number of the processes by 5 in each step. • Also, I differ the number of initiators 5 to 50. • In the first experiment: I used Gossip-based topology • In second experiment: I used randomly flood on fully connected topology.

  5. RESULTS

  6. RESULTS

  7. RESULTS

  8. CODE • I coded with C++. • I worked on MacBook and used Xcode 5.0.2 • I faced some problems at first with the Basic algorithms that keep sending messages. But I solve this problem by using guarded-commands. • I waited almost 3 hours for 1000 runs on random flood that never finished, after that, I realized that I typed one extra zero.

  9. FUTURE WORK • Run both algorithms in different topologies. • Run with more processes and more initiators. • Too many messages been sent during run time of algorithms. Improve both algorithms to be more efficient. • By decreasing the number of initiators with random flood the message complexity also decreased. Therefore, needs more research.

  10. References • Edsger W. Dijkstra, C. S. Scholten “Termination Detection for Diffusing Computations” 1980. • NirShavit, NissimFrancez “A new approach to detection of locally indicative stability” 1986. • Gerard Tel “Introduction to Distributed Algorithms”, Cambridge University Press, 2nd edition, 2000.

More Related