Forgive-TM: Supporting Lazy Conflict Detection In Eager Hardware Transactional Memory

被引:6
|
作者
Park, Sunjae [1 ]
Hughes, Christopher J. [2 ]
Prvulovic, Milos [1 ]
机构
[1] Georgia Inst Technol, Atlanta, GA 30332 USA
[2] Intel, Santa Clara, CA USA
关键词
Parallel processing; Multithreading; COHERENCE; VERIFICATION; MANAGEMENT;
D O I
10.1109/PACT.2019.00023
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Commercial hardware transactional memory (TM) systems commonly use coherence messages to detect data conflicts. When a core inside a transaction receives a coherence request for data, it uses this information to determine whether there was a data conflict. Inherent in this behavior is the fact that data conflicts are detected eagerly, i.e., as soon as possible, and even while both sides of the conflict are speculative. Although it has been shown that lazy conflict detection can lead to better performance, this approach precludes lazy detection. In this paper, we describe a mechanism that allows conventional hardware to support lazy conflict detection, while still keeping the coherence protocol intact. Under Forgive-TM, speculative writes are done immediately to a special buffer, without first obtaining global write permission. The write permission is acquired later, when the transaction is about to commit. In other words, it "acts first, and asks forgiveness later." This effectively allows conflict detection to be done lazily. Using this scheme, ForgiveTM is able to provide 19% overall performance improvement in STAMP.
引用
下载
收藏
页码:192 / 204
页数:13
相关论文
共 41 条
  • [1] Eager Beats Lazy: Improving Store Management in Eager Hardware Transactional Memory
    Titos-Gil, Ruben
    Negi, Anurag
    Acacio, Manuel E.
    Garcia, Jose M.
    Stenstrom, Per
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2013, 24 (11) : 2192 - 2201
  • [2] π-TM: Pessimistic Invalidation for Scalable Lazy Hardware Transactional Memory
    Negi, Anurag
    Titos-Gil, Ruben
    Acacio, Manuel E.
    Garcia, Jose M.
    Stenstrom, Per
    2012 IEEE 18TH INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2012, : 141 - 151
  • [3] Lazy Versus Eager Conflict Detection in Software Transactional Memory: A Real-Time Schedulability Perspective
    Belwal, Chaitanya
    Cheng, Albert M. K.
    IEEE EMBEDDED SYSTEMS LETTERS, 2011, 3 (01) : 37 - 41
  • [4] Restart Optimization for Transactional Memory with Lazy Conflict Detection
    Miloš Cvetanović
    Zaharije Radivojević
    Veljko Milutinović
    International Journal of Parallel Programming, 2017, 45 : 482 - 507
  • [5] Restart Optimization for Transactional Memory with Lazy Conflict Detection
    Cvetanovic, Milos
    Radivojevic, Zaharije
    Milutinovic, Veljko
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2017, 45 (03) : 482 - 507
  • [6] SEL-TM: Selective Eager-Lazy Management for Improved Concurrency in Transactional Memory
    Zhao, Lihang
    Choi, Woojin
    Draper, Jeff
    2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2012, : 95 - 106
  • [7] Consolidated Conflict Detection for Hardware Transactional Memory
    Zhao, Lihang
    Draper, Jeffrey
    PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT'14), 2014, : 201 - 212
  • [8] High-performance GPU Transactional Memory via Eager Conflict Detection
    Ren, Xiaowei
    Lis, Mieszko
    2018 24TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2018, : 235 - 246
  • [9] Fast and efficient commits for Lazy-Lazy hardware transactional memory
    Gaona, Epifanio
    Abelln, Jose L.
    Acacio, Manuel E.
    JOURNAL OF SUPERCOMPUTING, 2015, 71 (12): : 4305 - 4326
  • [10] Fast and efficient commits for Lazy-Lazy hardware transactional memory
    Epifanio Gaona
    José L. Abellán
    Manuel E. Acacio
    The Journal of Supercomputing, 2015, 71 : 4305 - 4326