Skip to main content

Long-lived, fast, waitfree renaming with optimal name space and high throughput

Extended abstract

  • Contributed Papers
  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1499))

Abstract

The (n, k, l)-renaming problem requires that names from the set {1,..., l} are assigned to processes from a set of size n, provided that no more than k ≤ l processes axe simultaneously either holding or trying to acquire a name. A solution to this problem supplies a renaming object supporting both acquire and release operations so that no two processes ever simultaneously hold the same name. The protocol is waitfree if each participant successfully completes either operation in a bounded number of its own steps regardless of the speed of other processes; it is long-lived if it there is no bound on the number of operations that can be applied to the object; it is fast if the number of steps taken by any process before it completes an operation is independent of n; and it is name-space-optimal if l = k.

This paper presents the first renaming algorithm for atomic read/write registers that is waitfree, long-lived, fast, and name-space-optimal. Since optimal name space is impossible for deterministic renaming algorithms, our algorithm is randomized. The maximum number (over schedulers and processes) of the expected number (over coin flips) of accesses to read/write registers required to complete either an acquire or release operation is θ(k 2).

We also define a notion of amortized expected complexity that measures the throughput of a system. The amortized expected step complexity of the new renaming algorithm is θ(k log k), which is a substantial improvement, in this amortized sense, over any preceding long-lived renaming algorithm for read/write registers (whether name-space-optimal or not). The notion of amortized complexity of waitfree protocols may be of independent interest since it seems to suggest that waitfreedom may not be as impractical as is sometimes suspected.

Research was supported in part by Natural Sciences and Engineering Research Council of Canada grant OGP0089756.

Research was supported in part by Natural Sciences and Engineering Research Council of Canada grant OGP0041900.

Research was supported in part by Natural Sciences and Engineering Research Council of Canada grant dOGP0041900 and DeVry Institute of Technology, Calgary, Canada.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Y. Afek, E. Gafni, J. Tromp, and P. Vitanyi. Wait-free test-and-set. In Proceedings of the 6th International Workshop, WDAG'92; LNCS No. 647; Springer-Verlag, 1992.

    Google Scholar 

  2. J. Anderson and M. Moir. Fast, long-lived renaming. In Proceedings of the 8th International Workshop, WDAG'94; LNCS No. 857; Springer-Verlag, pages 141–155, 1994.

    Google Scholar 

  3. M. Anderson, J. amd Moir. Using k-exclusion to implement resilient, scalable shared objects. In Proceedings of the Thirteenth Annual ACM Symposium on Principles of Distributed Computing, pages 141–150, 1994.

    Google Scholar 

  4. H. Attiya, A. Bar-Noy, D. Dolev, D. Peleg, and R. Reischuk. Renaming in an asynchronous environment. Journal of the Association for Computing Machinery, 37(3):524–548, 1990.

    MATH  MathSciNet  Google Scholar 

  5. H. Attiya and A. Fouren. Adaptive wait-free algorithms for lattice agreement and renaming. Technical Report 0931, Computer Science Department, Technion — Israel Institute of Technology, April 1998. Extended Abstract to appear in PODC'98.

    Google Scholar 

  6. E. Borowsky and E. Gafni. Immediate atomic snapshots and fast renaming. In Proceedings of the Twelveth Annual ACM Symposium on Principles of Distributed Computing, pages 41–52, 1993.

    Google Scholar 

  7. H. Buhrman, J. Garay, J.-H. Hoepman, and M. Moir. Long-lived remaning made fast. In Proceedings of the Fourteenth Annual ACM Symposium on Principles of Distributed Computing, 1995.

    Google Scholar 

  8. J. Burns and G. Peterson. The ambiguity of choosing. In Proceedings of the Eighth Annual ACM Symposium on Principles of Distributed Computing, 1989.

    Google Scholar 

  9. W. Eberly, L. Higham, and J. Warpechowska-Gruca. Long-lived, fast, waitfree renaming with optimal name space and high throughput. (In preparation), 1998.

    Google Scholar 

  10. M. Herlihy. Wait-free synchronization. ACM Transactions on Programming Languages and Systems, 11(1):124–149, 1991.

    Article  Google Scholar 

  11. M. Herlihy and N. Shavit. The asynchronous computability theorem for t-resilient tasks. In Proceedings of the 25th Annual ACM Symposium on the Theory of Computing, pages 111–120, 1993.

    Google Scholar 

  12. M. Herlihy and J. Wing. Linerizability: A correctness condition for concurrent objects. ACM Transactions on Programming Languages and Systems, 12(3):463–491, 1990.

    Article  Google Scholar 

  13. M. Moir and J. Garay. Fast, long-lived renaming improved and simplified. In Proceedings of the 10th International Workshop, WDAG'96, 1996.

    Google Scholar 

  14. A. Panconesi, M. Papatriantafilou, P. Tsigas, and P. Vitanyi. Randomized wait-free naming. In ISAAC'94, LNCS No. 834, pages 83–91, 1994.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Shay Kutten

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Eberly, W., Higham, L., Warpechowska-Gruca, J. (1998). Long-lived, fast, waitfree renaming with optimal name space and high throughput. In: Kutten, S. (eds) Distributed Computing. DISC 1998. Lecture Notes in Computer Science, vol 1499. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0056480

Download citation

  • DOI: https://doi.org/10.1007/BFb0056480

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-65066-9

  • Online ISBN: 978-3-540-49693-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics