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 条
  • [21] Speculation-Based Conflict Resolution in Hardware Transactional Memory
    Titos, Ruben
    Acacio, Manuel E.
    Garcia, Jose M.
    2009 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL & DISTRIBUTED PROCESSING, VOLS 1-5, 2009, : 429 - 440
  • [22] Priority-Based Conflict Resolution for Hardware Transactional Memory
    Yamada, Ryohei
    Hashimoto, Koshiro
    Tsumura, Tomoaki
    2014 SECOND INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING (CANDAR), 2014, : 433 - 439
  • [23] Hardware Transactional Memory Supporting I/O Operations within Transactions
    Liu, Yi
    Zhang, Xin
    Li, He
    Li, Mingxiu
    Qian, Depei
    HPCC 2008: 10TH IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, PROCEEDINGS, 2008, : 85 - +
  • [24] Using Hardware Transactional Memory for Data Race Detection
    Gupta, Shantanu
    Sultan, Florin
    Cadambi, Srihari
    Ivancic, Franjo
    Roetteler, Martin
    2009 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL & DISTRIBUTED PROCESSING, VOLS 1-5, 2009, : 267 - +
  • [25] EcoTM: Conflict-Aware Economical Unbounded Hardware Transactional Memory
    Tomic, Sasa
    Akpinar, Ege
    Cristal, Adrian
    Unsal, Osman
    Valero, Mateo
    2013 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, 2013, 18 : 270 - 279
  • [26] Efficient GPU Hardware Transactional Memory through Early Conflict Resolution
    Chen, Sui
    Peng, Lu
    PROCEEDINGS OF THE 2016 IEEE INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE (HPCA-22), 2016, : 274 - 284
  • [27] An Effective Conflict Management for Large Transactions in Hardware Transactional Memory System
    Fu, Chen
    Wen, Dongxin
    Wang, Xiaoqun
    Yang, Xiaozong
    INFORMATION AND AUTOMATION, 2011, 86 : 390 - 396
  • [28] Conflict detection and validation strategies for software transactional memory
    Spear, Michael E.
    Marathe, Virendra J.
    Scherer, William N., III
    Scott, Michael L.
    DISTRIBUTED COMPUTING, PROCEEDINGS, 2006, 4167 : 179 - +
  • [29] FaulTM: Error Detection and Recovery Using Hardware Transactional Memory
    Yalcin, Gulay
    Unsal, Osman
    Cristal, Adrian
    DESIGN, AUTOMATION & TEST IN EUROPE, 2013, : 220 - 225
  • [30] Yet Another Waiting Mechanism Based on Conflict Prediction for Hardware Transactional Memory
    20161902341199
    (1) Nagoya Institute of Technology, Gokiso, Showa, Nagoya, Japan, 1600, (Institute of Electrical and Electronics Engineers Inc., United States):