Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Tractable low-delay atomic memory

Published: 01 February 2021 Publication History

Abstract

Communication cost is the most commonly used metric in assessing the efficiency of operations in distributed algorithms for message-passing environments. In doing so, the standing assumption is that the cost of local computation is negligible compared to the cost of communication. However, in many cases, operation implementations rely on complex computations that should not be ignored. Therefore, a more accurate assessment of operation efficiency should account for both computation and communication costs. This paper focuses on the efficiency of read and write operations in emulations of atomic read/write shared memory in the asynchronous, message-passing, crash-prone environment. The much celebrated work by Dutta et al. presented an implementation in this setting where all read and write operations could complete in just a single communication round-trip. Such operations where characterized for the first time as fast. At its heart, the work by Dutta et al. used a predicate to achieve that performance. We show that the predicate is computationally intractable by defining an equivalent problem and reducing it to Maximum Biclique, a known NP-hard problem. We derive a new, computationally tractable predicate, and an algorithm to compute it in linear time. The proposed predicate is used to develop three algorithms: ccFast, ccHybrid, and OhFast. ccFast is similar to the algorithm of Dutta et al. with the main difference being the use of the new predicate for reduced computational complexity. All operations in ccFast are fast, and particular constraints apply in the number of participants. ccHybrid and OhFast, allow some operations to be “slow”, enabling unbounded participants in the service. ccHybrid is a “multi-speed” version of ccFast, where the reader determines when it is not safe to complete a read operation in a single communication round-trip. OhFast, expedites algorithm OhSam of Hadjistasi et al. by placing the developed predicate at the servers instead of clients and avoiding excessive server communication when possible. An experimental evaluation using NS3 compares algorithms ccHybrid and OhFast to the classic algorithm ABD of Attiya et al., the algorithm Sf of Georgiou et al. (the first “semifast” algorithm, allowing both fast and slow operations), and algorithm OhSam. In summary, this work gives the new meaning to the term fast by assessing both the communication and the computation efficiency of each operation.

References

[1]
Attiya H, Bar-Noy A, and Dolev D Sharing memory robustly in message passing systems J. ACM 1996 42 1 124-142
[2]
Dutta P, Guerraoui R, Levy RR, and Vukolić M Fast access to distributed atomic memory SIAM J. Comput. 2010 39 8 3752-3783
[3]
Englert, B., Georgiou, C., Musial, P.M., Nicolaou, N., Shvartsman, A.A.: On the efficiency of atomic multi-reader, multi-writer distributed memory. In: Proceedings 13th International Conference On Principle Of DIstributed Systems (OPODIS 09), pp. 240–254 (2009)
[4]
Fernández Anta, A., Nicolaou, N., Popa, A.: Making “fast” atomic operations computationally tractable. In Proceedings 19th International Conference on Principle of Distributed Systems (OPODIS 15) (2015)
[5]
Fernández Anta, A., Hadjistasi, T., Nicolaou, N.: Computationally light “multi-speed” atomic memory. In: International Conference on Principles Of Distributed Systems, OPODIS’16 (2016)
[6]
Garey, M.R., Johnson, D.S.: Computers and intractability. In: A Guide to the Theory of NP-Completeness. W. H. Freeman & Co., USA. ISBN: 0716710455 (1990)
[7]
Georgiou, C., Kentros, S., Nicolaou, N.C., Shvartsman, A.A.: Analyzing the number of slow reads for semifast atomic read/write register implementations. In: Proceedings Parallel and Distributed Computing and Systems (PDCS09), pp. 229–236 (2009)
[8]
Georgiou, C., Nicolaou, N., Russel, A., Shvartsman, A.A.: Towards feasible implementations of low-latency multi-writer atomic registers. In: 10th Annual IEEE International Symposium on Network Computing and Applications (2011)
[9]
Georgiou, C., Nicolaou, N.C., Shvartsman, A.A.: On the robustness of (semi) fast quorum-based implementations of atomic shared memory. In: DISC ’08: Proceedings of the 22nd International Symposium on Distributed Computing, pp. 289–304. Springer, Berlin, Heidelberg (2008)
[10]
Georgiou C, Nicolaou NC, and Shvartsman AA Fault-tolerant semifast implementations of atomic read/write registers J. Parallel Distrib. Comput. 2009 69 1 62-79
[11]
Hadjistasi, T., Nicolaou, N., Schwarzmann, A.A.: Brief announcement: oh-ram! one and a half round read/write atomic memory. In: Proceedings of the 2016 ACM Symposium on Principles of Distributed Computing, PODC ’16, pp. 353–355. ACM, New York, NY, USA (2016)
[12]
Hadjistasi, T., Nicolaou, N.C., Schwarzmann, A.A.: Oh-ram! one and a half round atomic memory. In: Networked Systems—5th International Conference, NETYS 2017, Marrakech, Morocco, May 17-19, 2017, Proceedings, pp. 117–132 (2017)
[13]
Herlihy MP and Wing JM Linearizability: a correctness condition for concurrent objects ACM Trans. Program. Lang. Syst. (TOPLAS) 1990 12 3 463-492
[14]
Lamport L How to make a multiprocessor computer that correctly executes multiprocess progranm IEEE Trans. Comput. 1979 28 9 690-691
[15]
Lynch NA Distributed Algorithms 1996 Burlington Morgan Kaufmann Publishers
[16]
Lynch, N.A., Shvartsman, A.A.: Robust emulation of shared memory using dynamic quorum-acknowledged broadcasts. In: Proceedings of Symposium on Fault-Tolerant Computing, pp. 272–281 (1997)
[17]
[18]
Xavier EC A note on a maximum k-subset intersection problem Inf. Process. Lett. 2012 112 12 471-472

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Distributed Computing
Distributed Computing  Volume 34, Issue 1
Feb 2021
89 pages

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 01 February 2021
Accepted: 25 April 2020
Received: 10 October 2018

Qualifiers

  • Research-article

Funding Sources

  • H2020 Marie Sklodowska-Curie Actions
  • The Regional Government of Madrid (CM)
  • Ministerio de Ciencia, Innovación y Universidades
  • EU Commission H2020
  • NSF of China
  • Research Promotion Foundation (CY)

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 12 Feb 2025

Other Metrics

Citations

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media