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 条
  • [21] Asynchronous OpenMP Tasking with Easy Thread Context Switching and Pool Control
    Fan, Xing
    Sinnen, Oliver
    Giacaman, Nasser
    SCALING OPENMP FOR EXASCALE PERFORMANCE AND PORTABILITY (IWOMP 2017), 2017, 10468 : 217 - 230
  • [22] Performance study of multithreaded MPI and OpenMP tasking in a large scientific code
    Akhmetova, Dana
    Iakymchuk, Roman
    Ekeberg, Orjan
    Laure, Erwin
    2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 756 - 765
  • [23] How to Reconcile Event-Based Performance Analysis with Tasking in OpenMP
    Lorenz, Daniel
    Mohr, Bernd
    Roessel, Christian
    Schmidl, Dirk
    Wolf, Felix
    BEYOND LOOP LEVEL PARALLELISM IN OPENMP: ACCELERATORS, TASKING AND MORE, PROCEEDINGS, 2010, 6132 : 109 - +
  • [24] Analysis of Explicit vs. Implicit Tasking in OpenMP using Kripke
    Jin, Charles
    Baskaran, Muthu
    PROCEEDINGS OF 2018 IEEE/ACM 4TH INTERNATIONAL WORKSHOP ON EXTREME SCALE PROGRAMMING MODELS AND MIDDLEWARE (ESPM2 2018), 2018, : 62 - 70
  • [25] Variation-tolerant OpenMP Tasking on Tightly-coupled Processor Clusters
    Rahimi, Abbas
    Marongiu, Andrea
    Burgio, Paolo
    Gupta, Rajesh K.
    Benini, Luca
    DESIGN, AUTOMATION & TEST IN EUROPE, 2013, : 541 - 546
  • [26] MPI plus OpenMP Tasking Scalability for the Simulation of the Human Brain Human Brain Project
    Valero-Lara, Pedro
    Sirvent, Raul
    Pena, Antonio J.
    Martorell, Xavier
    Labarta, Jesus
    EUROMPI 2018: PROCEEDINGS OF THE 25TH EUROPEAN MPI USERS' GROUP MEETING, 2018,
  • [27] Modifying HMMER3 to Run Efficiently on the Cori Supercomputer using OpenMP Tasking
    Arndt, William
    2018 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW 2018), 2018, : 239 - 246
  • [28] MPI plus OpenMP tasking scalability for multi-morphology simulations of the human brain
    Valero-Lara, Pedro
    Sirvent, Raul
    Pena, Antonio J.
    Labarta, Jesus
    PARALLEL COMPUTING, 2019, 84 : 50 - 61
  • [29] Enabling Fine-Grained OpenMP Tasking on Tightly-Coupled Shared Memory Clusters
    Burgio, Paolo
    Tagliavini, Giuseppe
    Marongiu, Andrea
    Benini, Luca
    DESIGN, AUTOMATION & TEST IN EUROPE, 2013, : 1504 - 1509
  • [30] Using Modeling and Simulation to Examine the Benefits of a Network Tasking Order
    Compton, Matthew D.
    Hopkinson, Kenneth M.
    Peterson, Gilbert L.
    Moore, James T.
    JOURNAL OF DEFENSE MODELING AND SIMULATION-APPLICATIONS METHODOLOGY TECHNOLOGY-JDMS, 2012, 9 (03): : 205 - 217