skip to main content
10.1145/1995896.1995906acmconferencesArticle/Chapter ViewAbstractPublication PagesicsConference Proceedingsconference-collections
research-article

ZEBRA: a data-centric, hybrid-policy hardware transactional memory design

Published:31 May 2011Publication History

ABSTRACT

Hardware Transactional Memory (HTM) systems, in prior research, have either fixed policies of conflict resolution and data versioning for the entire system or allowed a degree of flexibility at the level of transactions. Unfortunately, this results in susceptibility to pathologies, lower average performance over diverse workload characteristics or high design complexity. In this work we explore a new dimension along which flexibility in policy can be introduced. Recognizing the fact that contention is more a property of data rather than that of an atomic code block, we develop an HTM system that allows selection of versioning and conflict resolution policies at the granularity of cache lines. We discover that this neat match in granularity with that of the cache coherence protocol results in a design that is very simple and yet able to track closely or exceed the performance of the best performing policy for a given workload. It also brings together the benefits of parallel commits (inherent in traditional eager HTMs) and good optimistic concurrency without deadlock avoidance mechanisms (inherent in lazy HTMs), with little increase in complexity.

References

  1. C. Scott Ananian, Krste Asanovic, Bradley C. Kuszmaul, Charles E. Leiserson, and Sean Lie. Unbounded transactional memory. In Proc. of the 11th Symp. on High-Performance Computer Architecture, pages 316--327, Feb 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Jayaram Bobba, Kevin E. Moore, Luke Yen, Haris Volos, Mark D. Hill, Michael M. Swift, and David A. Wood. Performance pathologies in hardware transactional memory. In Proc. of the 34th Int'l Symp. on Computer Architecture, pages 81--91, Jun 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Chi Cao Minh, JaeWoong Chung, Christos Kozyrakis, and Kunle Olukotun. STAMP: Stanford transactional applications for multi-processing. In Proc. of the IEEE Intl. Symposium on Workload Characterization, pages 35--46. Sept 2008.Google ScholarGoogle Scholar
  4. Luis Ceze, James Tuck, Calin Cascaval, and Josep Torrellas. Bulk disambiguation of speculative threads in multiprocessors. In Proc. of the 33rd Int'l Symp. on Computer Architecture, pages 227--238, Jun 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Hassan Chafi, Jared Casper, Brian D. Carlstrom, Austen McDonald, Chi Cao Minh, Woongki Baek, Christos Kozyrakis, and Kunle Olukotun. A scalable, non-blocking approach to transactional memory. In Proc. of the 13th Symp. on High-Performance Computer Architecture, pages 97--108, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Lance Hammond, Vicky Wong, Mike Chen, Brian D. Carlstrom, John D. Davis, Ben Hertzberg, Manohar K. Prabhu, Honggo Wijaya, Christos Kozyrakis, and Kunle Olukotun. Transactional memory coherence and consistency. In Proc. of the 31st Int'l Symp. on Computer Architecture, pages 102--113, Jun 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Maurice Herlihy and J. Eliot B. Moss. Transactional memory: Architectural support for lock-free data structures. In Proc. of the 20th Int'l Symp. on Computer Architecture, pages 289--300. May 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Marc Lupon, Grigorios Magklis, and Antonio González. A dynamically adaptable hardware transactional memory. In Proc. of the 43rd Int'l Symp. on Microarchitecture, Dec 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Peter S. Magnusson, Magnus Christensson, Jesper Eskilson, Daniel Forsgren, Gustav Hallberg, Johan Hogberg, Fredrik Larsson, Andreas Moestedt, and Bengt Werner. Simics: A full system simulation platform. IEEE Computer, 35(2):50--58, Feb 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Milo M.K. Martin, Daniel J. Sorin, Bradford M. Beckmann, Michael R. Marty, Min Xu, Alaa R. Alameldeen, Kevin E. Moore, Mark D. Hill, and David A. Wood. Multifacet's general execution-driven multiprocessor simulator (GEMS) toolset. Computer Architecture News, pages 92--99, Sept 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Kevin E. Moore, Jayaram Bobba, Michelle J. Moravan, Mark D. Hill, and David A. Wood. Log™: Log-based transactional memory. In Proc. of the 12th Symp. on High-Performance Computer Architecture, pages 254--265, Feb 2006.Google ScholarGoogle ScholarCross RefCross Ref
  12. Anurag Negi, M.M. Waliullah, and Per Stenstrom. LV*: A low complexity lazy versioning H™ infrastructure. In Proc. of the Intl. Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation (IC-SAMOS 2010), pages 231--240, July 2010.Google ScholarGoogle ScholarCross RefCross Ref
  13. Seth H. Pugsley, Manu Awasthi, Niti Madan, Naveen Muralimanohar, and Rajeev Balasubramonian. Scalable and reliable communication for hardware transactional memory. In Proc. of the 17th Int'l Conf. on Parallel Architectures and Compilation Techniques, pages 144--154, Oct 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Ravi Rajwar and James R. Goodman. Transactional lock-free execution of lock-based programs. In Proc. of the 10th Int'l Symposium on Architectural Support for Programming Language and Operating Systems, pages 5--17, Oct 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Sutirtha Sanyal, Adrián Cristal, Osman S. Unsal, Mateo Valero, and Sourav Roy. Dynamically filtering thread-local variables in lazy-lazy hardware transactional memory. In HPCC '09: Proc. 11th Conference on High Performance Computing and Communications, jun 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Arrvindh Shriraman, Sandhya Dwarkadas, and Michael L. Scott. Flexible decoupled transactional memory support. In Proc. of the 35th Int'l Symp. on Computer Architecture. Jun 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Sasa Tomic, Cristian Perfumo, Chinmay Kulkarni, Adria Armejach, Adrián Cristal, Osman Unsal, Tim Harris, and Mateo Valero. EazyH™: Eager-lazy hardware transactional memory. In Proc. of the 42nd Int'l Symp. on Microarchitecture, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M.M. Waliullah and P. Stenstrom, Classification and Elimination of Conflicts in Transactional Memory Systems. Tech. Report 2010:09, Dept. of Computer Engineering, Chalmers University of Technology, Sweden, 2010.Google ScholarGoogle Scholar
  19. Luke Yen, Jayaram Bobba, Michael R. Marty, Kevin E. Moore, Haris Volos, Mark D. Hill, Michael M. Swift, and David A. Wood. LogTM-SE: Decoupling hardware transactional memory from caches. In Proc. of the 13th Symp. on High-Performance Computer Architecture, pages 261--272, Feb 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. ZEBRA: a data-centric, hybrid-policy hardware transactional memory design

        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 Conferences
          ICS '11: Proceedings of the international conference on Supercomputing
          May 2011
          398 pages
          ISBN:9781450301022
          DOI:10.1145/1995896

          Copyright © 2011 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: 31 May 2011

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate584of2,055submissions,28%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader