Skip to main content

2017 | OriginalPaper | Buchkapitel

How Long It Takes for an Ordinary Node with an Ordinary ID to Output?

verfasst von : Laurent Feuilloley

Erschienen in: Structural Information and Communication Complexity

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In the context of distributed synchronous computing, processors perform in rounds, and the time complexity of a distributed algorithm is classically defined as the number of rounds before all computing nodes have output. Hence, this complexity measure captures the running time of the slowest node(s). In this paper, we are interested in the running time of the ordinary nodes, to be compared with the running time of the slowest nodes. The node-averaged time-complexity of a distributed algorithm on a given instance is defined as the average, taken over every node of the instance, of the number of rounds before that node output. We compare the node-averaged time-complexity with the classical one in the standard \(\mathsf {LOCAL}\) model for distributed network computing. We show that there can be an exponential gap between the node-averaged time-complexity and the classical time-complexity, as witnessed by, e.g., leader election. Our first main result is a positive one, stating that, in fact, the two time-complexities behave the same for a large class of problems on very sparse graphs. In particular, we show that, for \(\mathsf {LCL}\) problems on cycles, the node-averaged time complexity is of the same order of magnitude as the “slowest node” time-complexity. In addition, in the \(\mathsf {LOCAL}\) model, the time-complexity is computed as a worst case over all possible identity assignments to the nodes of the network. In this paper, we also investigate the ID-averaged time-complexity, when the number of rounds is averaged over all possible identity assignments of size \(O(\log n)\). Our second main result is that the ID-averaged time-complexity is essentially the same as the expected time-complexity of randomized algorithms (where the expectation is taken over all possible random bits used by the nodes, and the number of rounds is measured for the worst-case identity assignment). Finally, we study the node-averaged ID-averaged time-complexity. We show that 3-colouring the n-node ring requires \(\varTheta (\log ^*n)\) rounds if the number of rounds is averaged over the nodes, or if the number of rounds is averaged over the identity assignments. In contrast, we show that 3-colouring the ring requires only O(1) rounds if the number of rounds is averaged over the nodes, and over the identity assignments.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
There is a subtlety here, which is that after k rounds in the message-passing algorithm a node cannot know the edges that are between nodes at distance exactly k from it. For the sake of simplicity, we consider the proper k-neighbourhoods, as it does not affect the asymptotic of the algorithms.
 
2
Remember that the nodes do not have the knowledge of the size of the network, thus they have exactly the same information in G and \(G'\).
 
3
Even if not stated explicitly in [5], this classification also holds in the context where no knowledge of n is assumed. This is because the \(\varTheta (\log ^*n)\) bound relies on the construction of a maximal independent set, and that MIS is a problem for which the construction of [15] works.
 
Literatur
1.
Zurück zum Zitat Alon, N., Babai, L., Itai, A.: A fast and simple randomized parallel algorithm for the maximal independent set problem. J. Algorithms 7(4), 567–583 (1986)MathSciNetCrossRefMATH Alon, N., Babai, L., Itai, A.: A fast and simple randomized parallel algorithm for the maximal independent set problem. J. Algorithms 7(4), 567–583 (1986)MathSciNetCrossRefMATH
2.
Zurück zum Zitat Attiya, H., Welch, J.: Distributed Computing: Fundamentals, Simulations, and Advanced Topics. Wiley, Hoboken (2004)CrossRefMATH Attiya, H., Welch, J.: Distributed Computing: Fundamentals, Simulations, and Advanced Topics. Wiley, Hoboken (2004)CrossRefMATH
4.
Zurück zum Zitat Brandt, S., Fischer, O., Hirvonen, J., Keller, B., Lempiäinen, T., Rybicki, J., Suomela, J., Uitto, J.: A lower bound for the distributed lovász local lemma. In: Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18–21, 2016, pp. 479–488 (2016). https://doi.org/10.1145/2897518.2897570 Brandt, S., Fischer, O., Hirvonen, J., Keller, B., Lempiäinen, T., Rybicki, J., Suomela, J., Uitto, J.: A lower bound for the distributed lovász local lemma. In: Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18–21, 2016, pp. 479–488 (2016). https://​doi.​org/​10.​1145/​2897518.​2897570
5.
Zurück zum Zitat Brandt, S., Hirvonen, J., Korhonen, J.H., Lempiäinen, T., Östergård, P.R.J., Purcell, C., Rybicki, J., Suomela, J., Uznanski, P.: LCL problems on grids. CoRR, abs/1702.05456 (2017). arXiv:1702.05456 Brandt, S., Hirvonen, J., Korhonen, J.H., Lempiäinen, T., Östergård, P.R.J., Purcell, C., Rybicki, J., Suomela, J., Uznanski, P.: LCL problems on grids. CoRR, abs/1702.05456 (2017). arXiv:​1702.​05456
6.
Zurück zum Zitat Chang, Y.J., Kopelowitz, T., Pettie, S.: An exponential separation between randomized and deterministic complexity in the local model. In: IEEE 57th Annual Symposium on Foundations of Computer Science, FOCS 2016, 9–11 October 2016, Hyatt Regency, New Brunswick, New Jersey, USA, pp. 615–624 (2016). https://doi.org/10.1109/FOCS.2016.72 Chang, Y.J., Kopelowitz, T., Pettie, S.: An exponential separation between randomized and deterministic complexity in the local model. In: IEEE 57th Annual Symposium on Foundations of Computer Science, FOCS 2016, 9–11 October 2016, Hyatt Regency, New Brunswick, New Jersey, USA, pp. 615–624 (2016). https://​doi.​org/​10.​1109/​FOCS.​2016.​72
8.
Zurück zum Zitat Feuilloley, L.: Brief announcement: average complexity for the LOCAL model. In: Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing, PODC 2015, Donostia-San Sebastián, Spain, July 21–23, 2015, pp. 335–337 (2015). https://doi.org/10.1145/2767386.2767446 Feuilloley, L.: Brief announcement: average complexity for the LOCAL model. In: Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing, PODC 2015, Donostia-San Sebastián, Spain, July 21–23, 2015, pp. 335–337 (2015). https://​doi.​org/​10.​1145/​2767386.​2767446
11.
14.
Zurück zum Zitat Harris, D.G., Schneider, J., Su, H.H.: Distributed \((\Delta +1)\)-coloring in sublogarithmic rounds. In: Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18–21, 2016, pp. 465–478 (2016). https://doi.org/10.1145/2897518.2897533 Harris, D.G., Schneider, J., Su, H.H.: Distributed \((\Delta +1)\)-coloring in sublogarithmic rounds. In: Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18–21, 2016, pp. 465–478 (2016). https://​doi.​org/​10.​1145/​2897518.​2897533
18.
Zurück zum Zitat Lynch, N.A.: Distributed Algorithms. Morgan Kaufmann, Burlington (1996)MATH Lynch, N.A.: Distributed Algorithms. Morgan Kaufmann, Burlington (1996)MATH
19.
Zurück zum Zitat Musto, T.: Knowledge of degree bounds in local algorithms. Master’s thesis, University of Helsinki (2011) Musto, T.: Knowledge of degree bounds in local algorithms. Master’s thesis, University of Helsinki (2011)
22.
Zurück zum Zitat Peleg, D.: Distributed Computing: A Locality-Sensitive Approach. SIAM, Philadelphia (2000)CrossRefMATH Peleg, D.: Distributed Computing: A Locality-Sensitive Approach. SIAM, Philadelphia (2000)CrossRefMATH
23.
Zurück zum Zitat Pettie, S., Ramachandran, V.: Minimizing randomness in minimum spanning tree, parallel connectivity, and set maxima algorithms. In: Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms, January 6–8, 2002, San Francisco, CA, USA., pp. 713–722 (2002). acm:545381.545477 Pettie, S., Ramachandran, V.: Minimizing randomness in minimum spanning tree, parallel connectivity, and set maxima algorithms. In: Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms, January 6–8, 2002, San Francisco, CA, USA., pp. 713–722 (2002). acm:​545381.​545477
24.
Zurück zum Zitat Santoro, N.: Design and Analysis of Distributed Algorithms, vol. 56. Wiley, Hoboken (2006)CrossRefMATH Santoro, N.: Design and Analysis of Distributed Algorithms, vol. 56. Wiley, Hoboken (2006)CrossRefMATH
25.
26.
Zurück zum Zitat Yao, A.C.C.: Probabilistic computations: toward a unified measure of complexity (extended abstract). In: 18th Annual Symposium on Foundations of Computer Science, Providence, Rhode Island, USA, 31 October - 1 November 1977, pp. 222–227 (1977). https://doi.org/10.1109/SFCS.1977.24 Yao, A.C.C.: Probabilistic computations: toward a unified measure of complexity (extended abstract). In: 18th Annual Symposium on Foundations of Computer Science, Providence, Rhode Island, USA, 31 October - 1 November 1977, pp. 222–227 (1977). https://​doi.​org/​10.​1109/​SFCS.​1977.​24
Metadaten
Titel
How Long It Takes for an Ordinary Node with an Ordinary ID to Output?
verfasst von
Laurent Feuilloley
Copyright-Jahr
2017
DOI
https://doi.org/10.1007/978-3-319-72050-0_16