Using Transactional Memory to Avoid Blocking in OpenMP Synchronization Directives Don't Wait, Speculate!

被引:5
|
作者
Bonnichsen, Lars [1 ]
Podobas, Artur [2 ]
机构
[1] Tech Univ Denmark, DK-2800 Lyngby, Denmark
[2] KTH Royal Inst Technol, Stockholm, Sweden
关键词
D O I
10.1007/978-3-319-24595-9_11
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
OpenMP applications with abundant parallelism are often characterized by their high-performance. Unfortunately, OpenMP applications with a lot of synchronization or serialization-points perform poorly because of blocking, i.e. the threads have to wait for each other. In this paper, we present methods based on hardware transactional memory (HTM) for executing OpenMP barrier, critical, and taskwait directives without blocking. Although HTM is still relatively new in the Intel and IBM architectures, we experimentally show a 73% performance improvement over traditional locking approaches, and 23% better than other HTM approaches on critical sections. Speculation over barriers can decrease execution time by up-to 41 %. We expect that future systems with HTM support and more cores will have a greater benefit from our approach as they are more likely to block.
引用
收藏
页码:149 / 161
页数:13
相关论文
共 9 条
  • [2] On the Algorithmic Aspects of Using OpenMP Synchronization Mechanisms: The Effects of Transactional Memory
    Bihari, Barna L.
    Wong, Michael
    de Supinski, Bronis R.
    Diachin, Lori
    USING AND IMPROVING OPENMP FOR DEVICES, TASKS, AND MORE, 2014, 8766 : 115 - 129
  • [3] Using Hardware Transactional Memory to Implement Speculative Privatization in OpenMP
    Salamanca, Juan
    Baldassin, Alexandro
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, LCPC 2020, 2022, 13149 : 57 - 73
  • [4] Using Off-the-Shelf Hardware Transactional Memory to Implement Speculative While in OpenMP
    Salamanca, Juan
    Baldassin, Alexandro
    OPENMP IN A MODERN WORLD: FROM MULTI-DEVICE SUPPORT TO META PROGRAMMING, 2022, 13527 : 50 - 64
  • [5] Strata: Wait-Free Synchronization with Efficient Memory Reclamation by Using Chronological Memory Allocation
    Shin, Eunhwan
    Kim, Inhyuk
    Kim, Junghan
    Eom, Young Ik
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2011, PT V, 2011, 6786 : 217 - 231
  • [6] Don't Wait For Weight: Towards Weight Inference of Passengers and Luggage using Smartphone Camera
    Lee, Jong Taek
    Lim, Yu Kai
    Han, Jun
    2020 19TH ACM/IEEE INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING IN SENSOR NETWORKS (IPSN 2020), 2020, : 339 - 340
  • [7] Abort-Free STM: A Non-blocking Concurrency Control Approach Using Software Transactional Memory
    Ghosh, Ammlan
    Chaki, Rituparna
    Chaki, Nabendu
    ADVANCED COMPUTING AND SYSTEMS FOR SECURITY, VOL 3, 2017, 567 : 53 - 71
  • [8] Don't forget about synchronization! Guidelines for using locks on graphics processing units
    Nelson, Jacob
    Miller, dePaul
    Palmieri, Roberto
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2022, 34 (02):
  • [9] Accelerating Coupled-Cluster Calculations with GPUs: An Implementation of the Density-Fitted CCSD(T) Approach for Heterogeneous Computing Architectures Using OpenMP Directives
    Datta, Dipayan
    Gordon, Mark S.
    JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2023, 19 (21) : 7640 - 7657