Assessing Task-to-Data Affinity in the LLVM OpenMP Runtime

被引:4
|
作者
Klinkenberg, Jannis [1 ]
Samfass, Philipp [2 ]
Terboven, Christian [1 ]
Duran, Alejandro [3 ]
Klemm, Michael [3 ]
Teruel, Xavier [4 ]
Mateo, Sergi [4 ]
Olivier, Stephen L. [5 ]
Mueller, Matthias S. [1 ]
机构
[1] Rhein Westfal TH Aachen, IT Ctr, Chair High Performance Comp, Aachen, Germany
[2] Tech Univ Munich, Dept Informat, Garching, Germany
[3] Intel Corp, Santa Clara, CA USA
[4] Barcelona Supercomp Ctr, Barcelona, Spain
[5] Sandia Natl Labs, Ctr Res Comp, POB 5800, Albuquerque, NM 87185 USA
来源
关键词
OpenMP; OpenMP tasks; Task affinity; Task scheduling; Work stealing;
D O I
10.1007/978-3-319-98521-3_16
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In modern shared-memory NUMA systems which typically consist of two or more multi-core processor packages with local memory, affinity of data to computation is crucial for achieving high performance with an OpenMP program. OpenMP* 3.0 introduced support for task-parallel programs in 2008 and has continued to extend its applicability and expressiveness. However, the ability to support data affinity of tasks is missing. In this paper, we investigate several approaches for task-to-data affinity that combine locality-aware task distribution and task stealing. We introduce the task affinity clause that will be part of OpenMP 5.0 and provide the reasoning behind its design. Evaluation with our experimental implementation in the LLVM OpenMP runtime shows that task affinity improves execution performance up to 4.5x on an 8-socket NUMA machine and significantly reduces runtime variability of OpenMP tasks. Our results demonstrate that a variety of applications can benefit from task affinity and that the presented clause is closing the gap of task-to-data affinity in OpenMP 5.0.
引用
收藏
页码:236 / 251
页数:16
相关论文
共 47 条
  • [41] Assessing Spatiotemporal Correlations from Data for Short-Term Traffic Prediction Using Multi-Task Learning
    Mena-Yedra, Rafael
    Casas, Jordi
    Gavalda, Ricard
    INTERNATIONAL SYMPOSIUM OF TRANSPORT SIMULATION (ISTS'18) AND THE INTERNATIONAL WORKSHOP ON TRAFFIC DATA COLLECTION AND ITS STANDARDIZATION (IWTDCS'18) - EMERGING TRANSPORT TECHNOLOGIES FOR NEXT GENERATION MOBILITY, 2018, 34 : 155 - 162
  • [42] Assessing the effect of construction noise frequency on mental workload of construction workers with varying task difficulty using EEG data
    Olatunbosun, Samuel Oluwadamilare
    Duorinaah, Francis Xavier
    Haan, Chan-Hoon
    Yi, Chang-Yong
    Kim, Min-Koo
    APPLIED ACOUSTICS, 2025, 232
  • [43] Prospects for Using Pseudocolor Image Processing in the Analysis of Multiyear Time Series of Satellite Data in the Task of Assessing the State of Vegetation Cover
    Terekhov, A. G.
    Sagatdinova, G. N.
    Mukhamediev, R. I.
    Savin, I. Yu.
    Amirgaliev, E. N.
    Sairov, S. B.
    COSMIC RESEARCH, 2024, 62 (SUPPL1) : S130 - S140
  • [44] Assessing dynamic effects on a Bayesian matrix-variate dynamic linear model: An application to task-based fMRI data analysis
    Jimenez, Johnatan Cardona
    Pereira, Carlos A. de B.
    COMPUTATIONAL STATISTICS & DATA ANALYSIS, 2021, 163
  • [45] Data and analysis script for infant and adult eye movement in an adapted ocular-motor serial reaction time task assessing procedural memory
    Koch, Felix -Sebastian
    Sundqvist, Anett
    Thornberg, Ulrika Birberg
    Ullman, Michael T.
    Barr, Rachel
    Rudner, Mary
    Heimann, Mikael
    DATA IN BRIEF, 2020, 29
  • [46] Assessing Real-World Data From Electronic Health Records for Health Technology Assessment: The SUITABILITY Checklist: A Good Practices Report of an ISPOR Task Force
    Fleurence, Rachael L.
    Kent, Seamus
    Adamson, Blythe
    Tcheng, James
    Balicer, Ran
    Ross, Joseph S.
    Haynes, Kevin
    Muller, Patrick
    Campbell, Jon
    Bouee-Benhamiche, Elsa
    Marti, Sebastian Garcia
    Ramsey, Scott
    VALUE IN HEALTH, 2024, 27 (06) : 692 - 701
  • [47] Assessing Planning Ability Across the Adult Life Span in a Large Population-Representative Sample: Reliability Estimates and Normative Data for the Tower of London (TOL-F) Task
    Unterrainer, Josef M.
    Rahm, Benjamin
    Kaller, Christoph P.
    Wild, Philipp S.
    Muenzel, Thomas
    Blettner, Maria
    Lackner, Karl
    Pfeiffer, Norbert
    Beutel, Manfred E.
    JOURNAL OF THE INTERNATIONAL NEUROPSYCHOLOGICAL SOCIETY, 2019, 25 (05) : 520 - 529