• DocumentCode
    3459461
  • Title

    JudoSTM: A Dynamic Binary-Rewriting Approach to Software Transactional Memory

  • Author

    Olszewski, Marek ; Cutler, Jeremy ; Steffan, J. Gregory

  • Author_Institution
    Univ. of Toronto, Toronto
  • fYear
    2007
  • fDate
    15-19 Sept. 2007
  • Firstpage
    365
  • Lastpage
    375
  • Abstract
    With the advent of chip-multiprocessors, we are faced with the challenge of parallelizing performance-critical software. Transactional memory (TM) has emerged as a promising programming model allowing programmers to focus on parallelism rather than maintaining correctness and avoiding deadlock. Many implementations of hardware, software, and hybrid support for TM have been proposed; of these, software-only implementations (STMs) are especially compelling since they can be used with current commodity hardware. However, in addition to higher overheads, many existing STM systems are limited to either managed languages or intrusive APIs. Furthermore, transactions in STMs cannot normally contain calls to unobservable code such as shared libraries or system calls. In this paper we present JudoSTM, a novel dynamic binary-rewriting approach to implementing STM that supports C and C++ code. Furthermore, by using value-based conflict detection, JudoSTM additionally supports the transactional execution of both (i) irreversible system calls and (ii) library functions that may contain locks. We significantly lower overhead through several novel optimizations that improve the quality of rewritten code and reduce the cost of conflict detection and buffering. We show that our approach performs comparably to Rochester´s RSTM library-based implementation- demonstrating that a dynamic binary-rewriting approach to implementing STM is an interesting alternative.
  • Keywords
    C++ language; rewriting systems; software engineering; transaction processing; C code; C++ code; JudoSTM; chip-multiprocessors; dynamic binary-rewriting; performance-critical software; software transactional memory; Application software; Cost function; Hardware; Object oriented modeling; Parallel processing; Parallel programming; Programming profession; Software libraries; Software performance; System recovery;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architecture and Compilation Techniques, 2007. PACT 2007. 16th International Conference on
  • Conference_Location
    Brasov
  • ISSN
    1089-795X
  • Print_ISBN
    978-0-7695-2944-8
  • Type

    conf

  • DOI
    10.1109/PACT.2007.4336226
  • Filename
    4336226