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 条
  • [31] Unleashing Fine-Grained Parallelism on Embedded Many-Core Accelerators with Lightweight OpenMP Tasking
    Tagliavini, Giuseppe
    Cesarini, Daniele
    Marongiu, Andrea
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2018, 29 (09) : 2150 - 2163
  • [32] THE BENEFITS OF A NETWORK TASKING ORDER IN COMBAT SEARCH AND RESCUE MISSIONS
    Gocmen, Murat
    Hopkinson, Kenneth
    Compton, Matthew
    MILCOM 2009 - 2009 IEEE MILITARY COMMUNICATIONS CONFERENCE, VOLS 1-4, 2009, : 739 - 745
  • [33] X-OpenMP - eXtreme fine-grained tasking using lock-less work stealing
    Nookala, Poornima
    Chard, Kyle
    Raicu, Ioan
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 159 : 444 - 458
  • [34] Productivity and Performance Portability of the OpenMP 3.0 Tasking Concept When Applied to an Engineering Code Written in Fortran 95
    Paul Kapinos
    Dieter an Mey
    International Journal of Parallel Programming, 2010, 38 : 379 - 395
  • [35] Productivity and Performance Portability of the OpenMP 3.0 Tasking Concept When Applied to an Engineering Code Written in Fortran 95
    Kapinos, Paul
    an Mey, Dieter
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2010, 38 (5-6) : 379 - 395
  • [36] A Comparative Study on Performance Benefits of Multi-core CPUs using OpenMP
    Saravanan, Vijayalakshmi
    Radhakrishnan, Mohan
    Basavesh, A.S.
    Kothari, D.P.
    International Journal of Computer Science Issues, 2012, 9 (1 1-2) : 272 - 278
  • [37] CNS: HIGH VOLUME ADAPTED TANGO BENEFITS MOBILITY, BALANCE AND DUAL TASKING IN PARKINSON DISEASE
    Hackney, M. E.
    Revill, K. P.
    GERONTOLOGIST, 2013, 53 : 265 - 265
  • [38] Individual differences in multi-tasking ability moderate the benefits of using low-degree automation
    Greenwell-Barnden, Jayden N.
    Loft, Shayne
    Bowden, Vanessa K.
    Bender, Angela D.
    Whitney, Susannah J.
    Lipp, Ottmar V.
    Visser, Troy A. W.
    THEORETICAL ISSUES IN ERGONOMICS SCIENCE, 2024,
  • [39] Effects of a no-go Task 2 on Task 1 performance in dual - tasking: From benefits to costs
    Janczyk, Markus
    Huestegge, Lynn
    ATTENTION PERCEPTION & PSYCHOPHYSICS, 2017, 79 (03) : 796 - 806
  • [40] Effects of a no-go Task 2 on Task 1 performance in dual - tasking: From benefits to costs
    Markus Janczyk
    Lynn Huestegge
    Attention, Perception, & Psychophysics, 2017, 79 : 796 - 806