skip to main content
10.1145/3386164.3386182acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiscsicConference Proceedingsconference-collections
research-article

Naming Anonymous Processes with Test-and-Set Registers

Authors Info & Claims
Published:06 June 2020Publication History

ABSTRACT

A system of anonymous processes that have no names assigned to them is considered in both synchronous and asynchronous communication models. The processes are fault free and can only communicate using test-and-set (TAS) registers. The aim of the paper is to assign unique names to all processes using a distributed algorithm. The naming of anonymous processes is studied in eight new problem models based on two categories; the number of TAS registers available, and the knowledge of the number of processes. In this paper, two distributed naming algorithms are developed that can assign unique names to anonymous processes. One is deterministic and the other is randomized. The developed algorithms are optimal in time complexity and namespace size. The Sequential Lookup algorithm, which is a deterministic algorithm, has a time complexity of 0(n2) steps, whereas the Random Lookup algorithm, which is a randomized algorithm, has a time complexity of 0(n log n) steps. Proof of the correctness of each naming algorithm is presented for all categories of the problem model where the number of processes is known. The Random Lookup algorithm has a better time complexity compared to the Sequential Lookup algorithm due to the use of randomness in accessing TAS registers.

References

  1. Alessandro Panconesi, Marina Papatriantafifilou, Philippas Tsigas, and Paul Vit´anyi. 1998. Randomized naming using wait-free shared variables. Distributed Computing 11, 3 (1998), 113--124.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Bogdan S Chlebus, Gianluca De Marco, and Muhammed Talo. 2017. Naming a channel with beeps. Fundamenta Informaticae 153, 3 (2017), 199--219.Google ScholarGoogle ScholarCross RefCross Ref
  3. Bogdan S Chlebus, Gianluca De Marco, and Muhammed Talo. 2018. Anonymous Processors with Synchronous Shared Memory: Monte Carlo Algorithms. In 21st International Conference on Principles of Distributed Systems (OPODIS 2017). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.Google ScholarGoogle Scholar
  4. Christian Glacet, Avery Miller, and Andrzej Pelc. 2017.Time vs. information tradeoffs for leader election in anonymous trees. ACM Transactions on Algorithms (TALG) 13, 3 (2017), 31.Google ScholarGoogle Scholar
  5. Clyde P. Kruskal, Larry Rudolph, and Marc Snir. 1988. Efficiesnt Synchronization on Multiprocessors with Shared Memory. ACM Trans. Program. Lang. Syst. 10, 4 (1988), 579--601.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Dan Alistarh, Hagit Attiya, Seth Gilbert, Andrei Giurgiu, and Rachid Guerraoui. 2010. Fast Randomized Test-and-Set and Renaming. In Distributed Computing, Nancy A. Lynch and Alexander A. Shvartsman (Eds.). Springer Berlin Heidelberg, 94--108.Google ScholarGoogle Scholar
  7. Dan Alistarh, James Aspnes, Keren Censor-Hillel, Seth Gilbert, and Morteza Zadimoghaddam. 2011. Optimal-time adaptive strong renaming, with applications to counting. In Proceedings of the 30th Annual ACM Symposium on Principles of Distributed Computing, PODC 2011, San Jose, CA, USA, June 6--8, 2011.239--248.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Dan Alistarh, James Aspnes, Seth Gilbert, and Rachid Guer raoui. 2011. The Complexity of Renaming. In IEEE 52nd Annual Symposium on Foundations of Computer Science, FOCS 2011, Palm Springs, CA, USA, October 22--25, 2011. 718--727.Google ScholarGoogle Scholar
  9. Dana Angluin. 1980. Local and Global Properties in Networks of Processors (Extended Abstract). In Proceedings of the Twelfth Annual ACM Symposium on Theory of Computing (STOC '80). ACM, 82--93.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Hagit Attiya, Marc Snir, and Manfred K. Warmuth. 1988. Computing on an Anonymous Ring. J. ACM 35, 4 (1988), 845--875.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Harry Buhrman, Alessandro Panconesi, Riccardo Silvestri, and Paul Vitanyi. 2006. On the importance of having an identity or, is consensus really universal? Distributed Computing 18, 3 (2006), 167--176.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Harry Buhrman, Alessandro Panconesi, Riccardo Silvestri, and Paul M. B. Vit´anyi. 2006. On the importance of having an identity or, is consensus really universal? Distributed Computing 18, 3 (2006), 167--176.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Janna Burman, Joffffroy Beauquier, and Devan Sohier. 2018. Brief Announcement: Space-Optimal Naming in Population Protocols. In Proceedings of the 2018 ACM Symposium on Principles of Distributed Computing (PODC '18). ACM, 479--481.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Lloyd Lim and A Park. 1990. Solving the processor identity problem in O (n) space. In Proceedings of the Second IEEE Symposium on Parallel and Distributed Processing 1990. IEEE, 676--680.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Michael Mitzenmacher and Eli Upfal. 2005. Probability and computing - randomized algorithms and probabilistic analysis. Cambridge University PressGoogle ScholarGoogle Scholar
  16. Paolo Boldi, Shella Shammah, Sebastiano Vigna, Bruno Codenotti, Peter Gemmell, and Janos Simon. 1996. Symmetry Breaking in Anonymous Networks: Characterizations.. In ISTCS. 16--26.Google ScholarGoogle Scholar
  17. Rajeev Motwani and Prabhakar Raghavan. 1995. Randomized Algorithms. Cambridge University Press.Google ScholarGoogle Scholar
  18. Richard J. Lipton and Arvin Park. 1990. The processor identity problem. Inform. Process. Lett. 36, 2 (1990), 91--94.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Shang-Hua Teng. 1990. Space efficient processor identity protocol. Inform. Process. Lett. 34, 3 (1990), 147--154.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Shay Kutten, Rafail Ostrovsky, and Boaz Patt-Shamir. 2000. The Las-Vegas Processor Identity Problem (How and When to Be Unique). Journal of Algorithms 37, 2 (2000), 468--494.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Wayne Eberly, Lisa Higham, and Jolanta Warpechowska-Gruca. 1998. Long-Lived, Fast, Waitfree Renaming with Optimal Name Space and High Throughput. In Distributed Computing, 12th International Symposium, DISC '98, Andros, Greece, September 24-26, 1998, Proceedings. 149--160.Google ScholarGoogle Scholar

Index Terms

  1. Naming Anonymous Processes with Test-and-Set Registers

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      ISCSIC 2019: Proceedings of the 2019 3rd International Symposium on Computer Science and Intelligent Control
      September 2019
      397 pages
      ISBN:9781450376617
      DOI:10.1145/3386164

      Copyright © 2019 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 6 June 2020

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

      Acceptance Rates

      ISCSIC 2019 Paper Acceptance Rate77of152submissions,51%Overall Acceptance Rate192of401submissions,48%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader