On the algorithmic aspects of using OpenMP synchronization mechanisms: The effects of transactional memory

被引:2
|
作者
机构
[1] Bihari, Barna L.
[2] Wong, Michael
[3] de Supinski, Bronis R
[4] Diachin, Lori
来源
| 1600年 / Springer Verlag卷 / 8766期
关键词
Algorithmic aspects - Conflict probability - Convergence characteristics - Mesh optimization - Run-time performance - Synchronization mechanisms - Systematic study - Transactional memory;
D O I
10.1007/978-3-319-11454-5_9
中图分类号
学科分类号
摘要
In this paper we analyze the effects of using different OpenMP synchronization mechanisms in iterative mesh optimization algorithms run on the IBM Blue Gene/Q system. We perform a systematic study of a threaded Laplacian mesh smoothing method on Cartesian meshes of different sizes that have been initially perturbed by a factor that is random, but within a controlled range. We consider three different run modes, two of which are OpenMP synchronization mechanisms: (hardware) transactional memory (TM), OpenMP critical, and none. We find that TM typically outperforms the other two modes in terms of its convergence characteristics. Because of the algorithmic simplicity and light operation count, the raw runtime performance was not our focus in this work; however, we present some results on TM scaling. We also show the TM rollback and conflict probabilities, and conclude that mesh optimization codes are good candidates for using TM when the more general time-to-convergence criterion is considered. © Springer International Publishing Switzerland 2014.
引用
收藏
相关论文
共 50 条
  • [1] 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
  • [2] On the Algorithmic Aspects of Using OpenMP Synchronization Mechanisms II: User-Guided Speculative Locks
    Bihari, Barna L.
    Bae, Hansang
    Cownie, James
    Klemm, Michael
    Terboven, Christian
    Diachin, Lori
    OPENMP: HETEROGENOUS EXECUTION AND DATA MOVEMENTS, IWOMP 2015, 2015, 9342 : 133 - 148
  • [3] Transactional Memory and OpenMP
    Milovanovic, Milos
    Ferrer, Roger
    Unsal, Osman S.
    Cristal, Adrian
    Martorell, Xavier
    Ayguade, Eduard
    Labarta, Jesus
    Valero, Mateo
    PRACTICAL PROGRAMMING MODEL FOR THE MULTI-CORE ERA, PROCEEDINGS, 2008, 4935 : 37 - 53
  • [4] Using Transactional Memory to Avoid Blocking in OpenMP Synchronization Directives Don't Wait, Speculate!
    Bonnichsen, Lars
    Podobas, Artur
    OPENMP: HETEROGENOUS EXECUTION AND DATA MOVEMENTS, IWOMP 2015, 2015, 9342 : 149 - 161
  • [5] An extension for Transactional Memory in OpenMP
    Jardim, Andre D.
    Oliveira, Kevin
    Cardoso, Diogo J.
    Di Domenico, Daniel
    Du Bois, Andre R.
    Cavalheiro, Gerson G. H.
    25TH BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES, SBLP 2021, 2021, : 58 - 65
  • [6] Towards transactional memory for OpenMP
    Wong, Michael, 1600, Springer Verlag (8766):
  • [7] Towards Transactional Memory for OpenMP
    Wong, Michael
    Ayguade, Eduard
    Gottschlich, Justin
    Luchangco, Victor
    de Supinski, Bronis R.
    Bihari, Barna
    USING AND IMPROVING OPENMP FOR DEVICES, TASKS, AND MORE, 2014, 8766 : 130 - 145
  • [8] 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
  • [9] Practical Condition Synchronization for Transactional Memory
    Wang, Chao
    Spear, Michael
    PROCEEDINGS OF THE ELEVENTH EUROPEAN CONFERENCE ON COMPUTER SYSTEMS, (EUROSYS 2016), 2016,
  • [10] 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