skip to main content
10.1145/1345206.1345241acmconferencesArticle/Chapter ViewAbstractPublication PagesppoppConference Proceedingsconference-collections
research-article

Dynamic performance tuning of word-based software transactional memory

Published:20 February 2008Publication History

ABSTRACT

The current generation of software transactional memories has the advantage of being simple and efficient. Nevertheless, there are several parameters that affect the performance of a transactional memory, for example the locality of the application and the cache line size of the processor. In this paper, we investigate dynamic tuning mechanisms on a new time-based software transactional memory implementation. We study in extensive measurements the performance of our implementation and exhibit the benefits of dynamic tuning. We compare our results with TL2, which is currently one of the fastest word-based software transactional memories.

References

  1. Hans Boehm. http://www.hpl.hp.com/research/linux/atomic ops/.Google ScholarGoogle Scholar
  2. Chi Cao Minh, Martin Trautmann, JaeWoong Chung, Austen McDonald, Nathan Bronson, Jared Casper, Christos Kozyrakis, and Kunle Olukotun. An Effective Hybrid Transactional Memory System with Strong Isolation Guarantees. In Proceedings of the 34th Annual International Symposium on Computer Architecture (ISCA), pages 69--80. June 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. David Dice, Ori Shalev, and Nir Shavit. Transactional Locking II. In Proceedings of the 20th International Symposium on Distributed Computing (DISC), pages 194--208, September 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Robert Ennals. Software Transactional Memory Should Not Be Obstruction-Free.Google ScholarGoogle Scholar
  5. Pascal Felber, Christof Fetzer, Ulrich Müller, Torvald Riegel, Martin Süßkraut, and Heiko Sturzrehm. Transactifying Applications using an Open Compiler Framework. In 2nd ACM SIGPLAN Workshop on Transactional Computing (TRANSACT), August 2007.Google ScholarGoogle Scholar
  6. Jim Gray, Raymond A. Lorie, Gianfranco R. Putzolu, and Irving L. Traiger. Granularity of locks in a large shared data base. In Proceedings of the 1st International Conference on Very Large Data Bases (VLDB), pages 428--451, September 1975. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Tim Harris and Keir Fraser. Language support for lightweight transactions. In Proceedings of the 18th annual ACM SIGPLAN conference on Object-Oriented Programing, Systems, Languages, and Applications (OOPSLA), pages 388--402, October 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Tim Harris, Mark Plesko, Avraham Shinnar, and David Tarditi. Optimizing Memory Transactions. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), pages 14--25, June 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Maurice Herlihy, Victor Luchangco, Mark Moir, and William N. Scherer. Software Transactional Memory for Dynamic-sized Data Structures. In Proceedings of the 22nd ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing (PODC), pages 92--101, July 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Torvald Riegel, Pascal Felber, and Christof Fetzer. A Lazy Snapshot Algorithm with Eager Validation. In Proceedings of the 20th International Symposium on Distributed Computing (DISC), 284--298, September 2006.pages Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Torvald Riegel, Christof Fetzer, and Pascal Felber. Snapshot Isolation for Software Transactional Memory. In 1st ACM SIGPLAN Workshop on Transactional Computing (TRANSACT), June 2006.Google ScholarGoogle Scholar
  12. Torvald Riegel, Christof Fetzer, and Pascal Felber. Time-based Transactional Memory with Scalable Time Bases. In Proceedings of the 19th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pages 221--228, June 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Bratin Saha, Ali-Reza Adl-Tabatabai, Richard L. Hudson, Chi Cao Minh, and Benjamin Hertzberg. McRT-STM: a high performance software transactional memory system for a multi-core runtime. In Proceedings of the 11th ACM SIGPLAN symposium on Principles and Practice of Parallel Programming (PPoPP), pages 187--197, March 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Abraham Silberschatz and Zvi Kedem. Consistency in hierarchical database systems. Journal of the ACM, 27(1):72--80, 1980. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Michael F. Spear, Virendra J. Marathe, William N. Scherer III, and Michael L. Scott. Conflict Detection and Validation Strategies for Software Transactional Memory. In Proceedings of the 20th International Symposium on Distributed Computing (DISC), pages 179--193, September 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Cheng Wang, Wei-Yu Chen, Youfeng Wu, Bratin Saha, and Ali-Reza Adl-Tabatabai. Code Generation and Optimization for Transactional Memory Constructs in an Unmanaged Language. In Proceedings of the 5th IEEE/ACM International Symposium on Code Generation and Optimization (CGO), March 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Dynamic performance tuning of word-based software 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 Conferences
        PPoPP '08: Proceedings of the 13th ACM SIGPLAN Symposium on Principles and practice of parallel programming
        February 2008
        308 pages
        ISBN:9781595937957
        DOI:10.1145/1345206

        Copyright © 2008 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: 20 February 2008

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate230of1,014submissions,23%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader