Academia.eduAcademia.edu

Outline

Impact of Knowledge on Election Time in Anonymous Networks

2016, arXiv (Cornell University)

https://doi.org/10.48550/ARXIV.1604.05023

Abstract

Leader election is one of the basic problems in distributed computing. This is a symmetry breaking problem: all nodes of a network must agree on a single node, called the leader. If the nodes of the network have distinct labels, then such an agreement means that all nodes have to output the label of the elected leader. For anonymous networks, the task of leader election is formulated as follows: every node v of the network must output a simple path, which is coded as a sequence of port numbers, such that all these paths end at a common node, the leader. In this paper, we study deterministic leader election in arbitrary anonymous networks. It is well known that leader election is impossible in some networks, regardless of the allocated amount of time, even if nodes know the map of the network. This is due to possible symmetries in it. However, even in networks in which it is possible to elect a leader knowing the map, the task may be still impossible without any knowledge, regardless of the allocated time. On the other hand, for any network in which leader election is possible knowing the map, there is a minimum time, called the election index, in which this can be done. Informally, the election index of a network is the minimum depth at which views of all nodes are distinct. Our aim is to establish tradeoffs between the allocated time τ and the amount of information that has to be given a priori to the nodes to enable leader election in time τ in all networks for which leader election in this time is at all possible. Following the framework of algorithms with advice, this information (a single binary string) is provided to all nodes at the start by an oracle knowing the entire network. The length of this string is called the size of advice. For a given time τ allocated to leader election, we give upper and lower bounds on the minimum size of advice sufficient to perform leader election in time τ. We focus on the two sides of the time spectrum. For the smallest possible time, which is the election index of the network, we show that the minimum size of advice is linear in the size n of the network, up to polylogarithmic factors. On the other hand, we consider large values of time: larger than the diameter D by a summand, respectively, linear, polynomial, and exponential in the election index; for these values, we prove tight bounds on the minimum size of advice, up to multiplicative constants. We also show that constant advice is not sufficient for leader election in all graphs, regardless of the allocated time.

References (44)

  1. S. Abiteboul, H. Kaplan, T. Milo, Compact labeling schemes for ancestor queries, Proc. 12th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2001), 547-556.
  2. A.V. Aho, J.E. Hopcroft, J.D. Ullman, Data Structures and Algorithms, Addison-Wesley 1983.
  3. D. Angluin, Local and global properties in networks of processors. Proc. 12th Annual ACM Symposium on Theory of Computing (STOC 1980), 82-93.
  4. H. Attiya and M. Snir, Better computing on the anonymous Ring, Journal of Algorithms 12, (1991), 204-238.
  5. H. Attiya, M. Snir, and M. Warmuth, Computing on an anonymous ring, Journal of the ACM 35, (1988), 845-875.
  6. P. Boldi, S. Shammah, S. Vigna, B. Codenotti, P. Gemmell, and J. Simon, Symmetry break- ing in anonymous networks: Proc. 4th Israel Symposium on Theory of Computing and Systems, (ISTCS 1996), 16-26.
  7. P. Boldi and S. Vigna, Computing anonymously with arbitrary knowledge, Proc. 18th ACM Symp. on Principles of Distributed Computing (PODC 1999), 181-188.
  8. J.E. Burns, A formal model for message passing systems, Tech. Report TR-91, Computer Science Department, Indiana University, Bloomington, September 1980.
  9. F. Chierichetti, personal communication.
  10. D. Dereniowski, A. Pelc, Drawing maps with advice, Journal of Parallel and Distributed Com- puting 72 (2012), 132-143.
  11. D. Dereniowski, A. Pelc, Leader election for anonymous asynchronous agents in arbitrary networks, Distributed Computing 27 (2014), 21-38.
  12. S. Dobrev and A. Pelc, Leader election in rings with nonunique labels, Fundamenta Informat- icae 59 (2004), 333-347.
  13. Y. Emek, P. Fraigniaud, A. Korman, A. Rosen, Online computation with advice, Theoretical Computer Science 412 (2011), 2642-2656.
  14. P. Flocchini, E. Kranakis, D. Krizanc, F.L. Luccio and N. Santoro, Sorting and election in anonymous asynchronous rings, Journal of Parallel and Distributed Computing 64 (2004), 254-265.
  15. P. Fraigniaud, C. Gavoille, D. Ilcinkas, A. Pelc, Distributed computing with advice: Informa- tion sensitivity of graph coloring, Distributed Computing 21 (2009), 395-403.
  16. P. Fraigniaud, D. Ilcinkas, A. Pelc, Communication algorithms with advice, Journal of Com- puter and System Sciences 76 (2010), 222-232.
  17. P. Fraigniaud, D. Ilcinkas, A. Pelc, Tree exploration with advice, Information and Computation 206 (2008), 1276-1287.
  18. P. Fraigniaud, A. Korman, E. Lebhar, Local MST computation with short advice, Theory of Computing Systems 47 (2010), 920-933.
  19. G.N. Fredrickson and N.A. Lynch, Electing a leader in a synchronous ring, Journal of the ACM 34 (1987), 98-115.
  20. E. Fusco, A. Pelc, How much memory is needed for leader election, Distributed 24 (2011), 65-78.
  21. E. Fusco, A. Pelc, Knowledge, level of symmetry, and time of leader election, Proc. 20th Annual European Symposium on Algorithms (ESA 2012), LNCS 7501, 479-490.
  22. E. Fusco, A. Pelc, Trade-offs between the size of advice and broadcasting time in trees, Algo- rithmica 60 (2011), 719-734.
  23. E. Fusco, A. Pelc, R. Petreschi, Use knowledge to learn faster: Topology recognition with advice, Proc. 27th International Symposium on Distributed Computing (DISC 2013), 31-45.
  24. C. Gavoille, D. Peleg, S. Pérennes, R. Raz. Distance labeling in graphs, Journal of Algorithms 53 (2004), 85-112.
  25. C. Glacet, A. Miller, A. Pelc, Time vs. information tradeoffs for leader election in anonymous trees, Proc. 27th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2016).
  26. M.A. Haddar, A.H. Kacem, Y. Métivier, M. Mosbah, and M. Jmaiel, Electing a leader in the local computation model using mobile agents. Proc. 6th ACS/IEEE International Conference on Computer Systems and Applications (AICCSA 2008), 473-480.
  27. J. Hendrickx, Views in a graph: To which depth must equality be checked?, IEEE Transactions on Parallel and Distributed Systems 25 (2014) 1907-1912.
  28. D.S. Hirschberg, and J.B. Sinclair, Decentralized extrema-finding in circular configurations of processes, Communications of the ACM 23 (1980), 627-628.
  29. D. Ilcinkas, D. Kowalski, A. Pelc, Fast radio broadcasting with advice, Theoretical Computer Science, 411 (2012), 1544-1557.
  30. T. Jurdzinski, M. Kutylowski, and J. Zatopianski, Efficient algorithms for leader election in radio networks. Proc., 21st ACM Symp. on Principles of Distributed Computing (PODC 2002), 51-57.
  31. M. Katz, N. Katz, A. Korman, D. Peleg, Labeling schemes for flow and connectivity, SIAM Journal of Computing 34 (2004), 23-40.
  32. A. Korman, S. Kutten, D. Peleg, Proof labeling schemes, Distributed Computing 22 (2010), 215-233.
  33. D. Kowalski, and A. Pelc, Leader election in ad hoc radio networks: A keen ear helps, Proc. 36th International Colloquium on Automata, Languages and Programming (ICALP 2009), LNCS 5556, 521-533.
  34. G. Le Lann, Distributed systems -Towards a formal approach, Proc. IFIP Congress, 1977, 155-160, North Holland.
  35. N.L. Lynch, Distributed Algorithms, Morgan Kaufmann Publ. Inc., San Francisco, USA, 1996.
  36. A. Miller, A. Pelc: Election vs. selection: Two ways of finding the largest node in a graph, CoRR abs/1411.1319 (2014).
  37. K. Nakano and S. Olariu, Uniform leader election protocols for radio networks, IEEE Trans- actions on Parallel and Distributed Systems 13 (2002), 516-526.
  38. N. Nisse, D. Soguet, Graph searching with advice, Theoretical Computer Science 410 (2009), 1307-1318.
  39. D. Peleg, Distributed Computing, A Locality-Sensitive Approach, SIAM Monographs on Dis- crete Mathematics and Applications, Philadelphia 2000.
  40. G.L. Peterson, An O(n log n) unidirectional distributed algorithm for the circular extrema problem, ACM Transactions on Programming Languages and Systems 4 (1982), 758-762.
  41. M. Thorup, U. Zwick, Approximate distance oracles, Journal of the ACM, 52 (2005), 1-24.
  42. D.E. Willard, Log-logarithmic selection resolution protocols in a multiple access channel, SIAM J. on Computing 15 (1986), 468-477.
  43. M. Yamashita and T. Kameda, Electing a leader when procesor identity numbers are not distinct, Proc. 3rd Workshop on Distributed Algorithms (WDAG 1989), LNCS 392, 303-314.
  44. M. Yamashita and T. Kameda, Computing on anonymous networks: Part I -Characterizing the solvable cases, IEEE Trans. Parallel and Distributed Systems 7 (1996), 69-89.