On the Benefits of Tasking with OpenMP

被引:7
|
作者
Rico, Alejandro [1 ]
Sanchez Barrera, Isaac [2 ,3 ]
Joao, Jose A. [1 ]
Randall, Joshua [1 ]
Casas, Marc [2 ]
Moreto, Miquel [2 ,3 ]
机构
[1] Arm Res, Austin, TX 78735 USA
[2] Barcelona Supercomp Ctr, Barcelona, Spain
[3] Univ Politecn Cataluna, Barcelona, Spain
来源
OPENMP: CONQUERING THE FULL HARDWARE SPECTRUM, IWOMP 2019 | 2019年 / 11718卷
关键词
Tasking; OpenMP; Parallelism; Scaling; ADAPTIVE MESH REFINEMENT;
D O I
10.1007/978-3-030-28596-8_15
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Tasking promises a model to program parallel applications that provides intuitive semantics. In the case of tasks with dependences, it also promises better load balancing by removing global synchronizations (barriers), and potential for improved locality. Still, the adoption of tasking in production HPC codes has been slow. Despite OpenMP supporting tasks, most codes rely on worksharing-loop constructs alongside MPI primitives. This paper provides insights on the benefits of tasking over the worksharing-loop model by reporting on the experience of taskifying an adaptive mesh refinement proxy application: miniAMR. The performance evaluation shows the taskified implementation being 15-30% faster than the loop-parallel one for certain thread counts across four systems, three architectures and four compilers thanks to better load balancing and system utilization. Dynamic scheduling of loops narrows the gap but still falls short of tasking due to serial sections between loops. Locality improvements are incidental due to the lack of localityaware scheduling. Overall, the introduction of asynchrony with tasking lives up to its promises, provided that programmers parallelize beyond individual loops and across application phases.
引用
收藏
页码:217 / 230
页数:14
相关论文
共 50 条
  • [41] A TASKING BUSINESS
    BUTLER, B
    CHEMISTRY & INDUSTRY, 1993, (13) : 474 - 474
  • [42] ORC-OpenMP: An OpenMP compiler based on ORC
    Chen, YJ
    Li, JJ
    Wang, SY
    Wang, DX
    COMPUTATIONAL SCIENCE - ICCS 2004, PT 3, PROCEEDINGS, 2004, 3038 : 414 - 423
  • [43] An introduction to OpenMP
    Mattson, TG
    FIRST IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER COMPUTING AND THE GRID, PROCEEDINGS, 2001, : 3 - 3
  • [44] OpenMP for Accelerators
    Beyer, James C.
    Stotzer, Eric J.
    Hart, Alistair
    de Supinski, Bronis R.
    OPENMP IN THE PETASCALE ERA, (IWOMP 2011), 2011, 6665 : 108 - 121
  • [45] The evolution of OpenMP
    Mattson, T
    APPLIED PARALLEL COMPUTING, PROCEEDINGS: NEW PARADIGMS FOR HPC IN INDUSTRY AND ACADEMIA, 2001, 1947 : 19 - 19
  • [46] OpenMP announced
    Dubois, PF
    COMPUTERS IN PHYSICS, 1998, 12 (02): : 151 - 151
  • [47] Multi-tasking
    Ezzie Hutchinson
    Nature Reviews Cancer, 2002, 2 : 808 - 808
  • [48] TASKING TROUBLES AND TIPS
    RISING, L
    SIGPLAN NOTICES, 1988, 23 (08): : 63 - 72
  • [49] THE ADA TASKING MODEL
    不详
    LECTURE NOTES IN COMPUTER SCIENCE, 1987, 262 : 9 - 26
  • [50] A DEBUGGER FOR ADA TASKING
    BRINDLE, AF
    TAYLOR, RN
    MARTIN, DF
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (03) : 293 - 304