Using Hardware-Transactional-Memory Support to Implement Thread-Level Speculation

被引:16
|
作者
Salamanca, Juan [1 ]
Amaral, Jose Nelson [2 ]
Araujo, Guido [1 ]
机构
[1] Univ Estadual Campinas, Inst Comp, BR-13083852 Sao Paulo, Brazil
[2] Univ Alberta, Dept Comp Sci, Edmonton, AB T6G 2R3, Canada
基金
巴西圣保罗研究基金会; 加拿大自然科学与工程研究理事会;
关键词
Thread-level speculation; hardware transactional memory; transactional memory;
D O I
10.1109/TPDS.2017.2752169
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a detailed analysis of the application of Hardware Transactional Memory (HTM) support for loop parallelization with Thread-Level Speculation (TLS) and describes a careful evaluation of the implementation of TLS on the HTM extensions available in such machines. The sample implementation of TLS over HTM described in this paper also provides evidence that the programming effort to implement TLS over HTM support is non-trivial. Thus the paper also describes an extension to OpenMP that both makes TLS more accessible to OpenMP programmers and allows for the easy tuning of TLS parameters. As a result, it provides evidence to support several important claims about the performance of TLS over HTM in the Intel Core and the IBM POWER8 architectures. Experimental results reveal that by implementing TLS on top of HTM, speed-ups of up to 3.8 x can be obtained for some loops.
引用
收藏
页码:466 / 480
页数:15
相关论文
共 50 条
  • [1] Thread-Level Speculation on Off-the-Shelf Hardware Transactional Memory
    Odaira, Rei
    Nakaike, Takuya
    2014 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION (IISWC), 2014, : 212 - 221
  • [2] Thread-Level Speculation Based on Transactional Memory
    Li, Xiang
    Zhang, Jing
    INFORMATION-AN INTERNATIONAL INTERDISCIPLINARY JOURNAL, 2012, 15 (04): : 1745 - 1755
  • [3] Evaluating and Improving Thread-Level Speculation in Hardware Transactional Memories
    Salamanca, Juan
    Amaral, Jose Nelson
    Araujo, Guido
    2016 IEEE 30TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS 2016), 2016, : 586 - 595
  • [4] Using hardware-transactional-memory support to implement speculative task execution
    Salamanca, Juan
    Baldassin, Alexandro
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2024, 192
  • [5] Performance Comparison of Speculative Taskloop and OpenMP-for-Loop Thread-Level Speculation on Hardware Transactional Memory
    Salamanca, Juan
    2022 21ST INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING (ISPDC 2022), 2022, : 83 - 90
  • [6] Hardware Thread-Level Speculation Performance Analysis
    Wang, Ying-Chieh
    Chung, I-Hsin
    Lee, Che-Rung
    Perrone, Michael
    Chung, Yeh-Ching
    2015 IEEE 17TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2015 IEEE 7TH INTERNATIONAL SYMPOSIUM ON CYBERSPACE SAFETY AND SECURITY, AND 2015 IEEE 12TH INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS (ICESS), 2015, : 900 - 903
  • [7] Performance Modeling for Hardware Thread-Level Speculation
    Wang, Ying-Chieh
    Lee, Che-Rung
    Chung, Yeh-Ching
    Chung, I-Hsin
    Perrone, Michael
    PROCEEDINGS OF 2014 IEEE INTERNATIONAL PARALLEL & DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2014, : 1458 - 1465
  • [8] Thread-Level Speculation with Kernel Support
    Hammacher, Clemens
    Streit, Kevin
    Zeller, Andreas
    Hack, Sebastian
    PROCEEDINGS OF THE 25TH INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION (CC 2016), 2016, : 1 - 11
  • [9] Performance Evaluation of Thread-Level Speculation in Off-the-Shelf Hardware Transactional Memories
    Salamanca, Juan
    Amaral, Jose Nelson
    Araujo, Guido
    EURO-PAR 2017: PARALLEL PROCESSING, 2017, 10417 : 607 - 621
  • [10] Reducing Memory Buffering Overhead in Software Thread-Level Speculation
    Cao, Zhen
    Verbrugge, Clark
    PROCEEDINGS OF THE 25TH INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION (CC 2016), 2016, : 12 - 22