skip to main content
10.1145/2684464.2684473acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicdcnConference Proceedingsconference-collections
research-article

On Partial Wait-Freedom in Transactional Memory

Published:04 January 2015Publication History

ABSTRACT

Transactional memory (TM) is a convenient synchronization tool that allows concurrent threads to declare sequences of instructions on shared data as speculative transactions with "all-or-nothing" semantics. It is known that dynamic transactional memory cannot provide wait-free progress ensuring that every transaction commits in a finite number of its own steps. In this paper, we explore the costs of providing wait-freedom to only a subset of transactions. We require that read-only transactions commit in the wait-free manner, while updating transactions are guaranteed to commit only if they run in the absence of concurrency. We show that this kind of partial wait-freedom, combined with attractive requirements like read invisibility or disjoint-access parallelism, incurs considerable complexity costs.

References

  1. H. Attiya, R. Guerraoui, D. Hendler, P. Kuznetsov, M. Michael, and M. Vechev. Laws of order: Expensive synchronization in concurrent algorithms cannot be eliminated. In POPL, pages 487--498, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. H. Attiya, E. Hillel, and A. Milani. Inherent limitations on disjoint-access parallel implementations of transactional memory. Theory of Computing Systems, 49(4):698--719, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. H. Attiya and A. Milani. Transactional scheduling for read-dominated workloads. In Proceedings of the 13th International Conference on Principles of Distributed Systems, OPODIS '09, pages 3--17, Berlin, Heidelberg, 2009. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. V. Bushkov, D. Dziuma, P. Fatourou, and R. Guerraoui. The pcl theorem: Transactions cannot be parallel, consistent and live. In SPAA, pages 178--187, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. V. Bushkov, R. Guerraoui, and M. Kapalka. On the liveness of transactional memory. In Proceedings of the 2012 ACM Symposium on Principles of Distributed Computing, PODC '12, pages 9--18, New York, NY, USA, 2012. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. D. Dice and N. Shavit. What really makes transactions fast? In Transact, 2006.Google ScholarGoogle Scholar
  7. S. Doherty, L. Groves, V. Luchangco, and M. Moir. Towards formally specifying and verifying transactional memory. Formal Aspects of Computing, 25(5):769--799, 2013.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. F. Ellen, D. Hendler, and N. Shavit. On the inherent sequentiality of concurrent objects. SIAM J. Comput., 41(3):519--536, 2012.Google ScholarGoogle ScholarCross RefCross Ref
  9. K. Fraser. Practical lock-freedom. Technical report, Cambridge University Computer Laborotory, 2003.Google ScholarGoogle Scholar
  10. R. Guerraoui and M. Kapalka. On obstruction-free transactions. In Proceedings of the twentieth annual symposium on Parallelism in algorithms and architectures, SPAA '08, pages 304--313, New York, NY, USA, 2008. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. R. Guerraoui and M. Kapalka. Principles of Transactional Memory, Synthesis Lectures on Distributed Computing Theory. Morgan and Claypool, 2010.Google ScholarGoogle ScholarCross RefCross Ref
  12. R. Guerraoui, M. Kapalka, and J. Vitek. Stmbench7: A benchmark for software transactional memory. SIGOPS Oper. Syst. Rev., 41(3):315--324, Mar. 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. M. Herlihy. Wait-free synchronization. ACM Trans. Prog. Lang. Syst., 13(1):123--149, 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. M. Herlihy, V. Luchangco, M. Moir, and W. N. Scherer, III. Software transactional memory for dynamic-sized data structures. In PODC, pages 92--101, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. D. Imbs, J. R. G. de Mendívil, and M. Raynal. Brief announcement: virtual world consistency: a new condition for stm systems. In PODC, pages 280--281, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. Israeli and L. Rappoport. Disjoint-access-parallel implementations of strong shared memory primitives. In PODC, pages 151--160, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. P. Kuznetsov and S. Ravi. On the cost of concurrency in transactional memory. In OPODIS, pages 112--127, 2011. full version: http://arxiv.org/abs/1103.1302. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. P. E. McKenney. Memory barriers: a hardware view for software hackers. Linux Technology Center, IBM Beaverton, June 2010.Google ScholarGoogle Scholar
  19. D. Perelman, R. Fan, and I. Keidar. On maintaining multiple versions in STM. In PODC, pages 16--25, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. F. Tabba, M. Moir, J. R. Goodman, A. W. Hay, and C. Wang. Nztm: Nonblocking zero-indirection transactional memory. In Proceedings of the Twenty-first Annual Symposium on Parallelism in Algorithms and Architectures, SPAA '09, pages 204--213, New York, NY, USA, 2009. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. On Partial Wait-Freedom in Transactional Memory

      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
        ICDCN '15: Proceedings of the 16th International Conference on Distributed Computing and Networking
        January 2015
        360 pages
        ISBN:9781450329286
        DOI:10.1145/2684464

        Copyright © 2015 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 the author(s) 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: 4 January 2015

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader