Transactional Read-Modify-Write Without Aborts

被引:5
作者
Ruan, Wenjia [1 ]
Liu, Yujie [1 ]
Spear, Michael [1 ]
机构
[1] Lehigh Univ, Bethlehem, PA USA
基金
美国国家科学基金会;
关键词
Design; Algorithms; Performance; Transactional Memory; Conflict Detection; Language-Level Semantics;
D O I
10.1145/2688904
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Language-level transactions are said to provide "atomicity,"implying that the order of operations within a transaction should be invisible to concurrent transactions and thus that independent operations within a transaction should be safe to execute in any order. In this article, we present a mechanism for dynamically reordering memory operations within a transaction so that read-modify-write operations on highly contended locations can be delayed until the very end of the transaction. When integrated with traditional transactional conflict detection mechanisms, our approach reduces aborts on hot memory locations, such as statistics counters, thereby improving throughput and reducing wasted work. We present three algorithms for delaying highly contended read-modify-write operations within transactions, and we evaluate their impact on throughput for eager and lazy transactional systems across multiple workloads. We also discuss complications that arise from the interaction between our mechanism and the need for strong language-level semantics, and we propose algorithmic extensions that prevent errors from occurring when accesses are aggressively reordered in a transactional memory implementation with weak semantics.
引用
收藏
页数:24
相关论文
共 42 条
  • [1] ABADI M, 2008, P 35 ACM S PRINC PRO
  • [2] Agrawal Kunal, 2006, ACM SIGPLAN WORKSH M
  • [3] [Anonymous], P 2007 INT S COD GEN
  • [4] Attiya H, 2006, P 25 ACM S PRINC DIS
  • [5] Attiya Hagit, 2009, P 13 INT C PRINC DIS
  • [6] Burton H., 1970, COMMUN ACM, V13, P422
  • [7] Carlstrom Brian D., 2006, P 27 ACM C PROGR LAN
  • [8] ROCK: A HIGH-PERFORMANCE SPARC CMT PROCESSOR
    Chaudhry, Shailender
    Cypher, Robert
    Ekman, Magnus
    Karlsson, Martin
    Landin, Anders
    Yip, Sherman
    Zeffer, Hakan
    Tremblay, Marc
    [J]. IEEE MICRO, 2009, 29 (02) : 6 - 16
  • [9] Chung J., 2008, P IEEE INT S WORKL C
  • [10] Dalessandro Luke, 2010, P 15 ACM S PRINC PRA