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 条
  • [31] System Throughput Optimization and Runtime Communication Middleware Supporting Dynamic Software-Hardware Task Migration in Data Adaptable Embedded Systems
    Sandoval, Nathan
    Mackin, Casey
    Whitsitt, Sean
    Lysecky, Roman
    Sprinkle, Jonathan
    2013 20TH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER BASED SYSTEMS (ECBS 2013), 2013, : 59 - 68
  • [32] Assessing perceptual change with an ambiguous figures task: Normative data for 40 standard picture sets
    Stottinger, Elisabeth
    Sepahvand, Nazanin Mohammadi
    Danckert, James
    Anderson, Britt
    BEHAVIOR RESEARCH METHODS, 2016, 48 (01) : 201 - 222
  • [33] Assessing perceptual change with an ambiguous figures task: Normative data for 40 standard picture sets
    Elisabeth Stöttinger
    Nazanin Mohammadi Sepahvand
    James Danckert
    Britt Anderson
    Behavior Research Methods, 2016, 48 : 201 - 222
  • [34] Assessing Dual-Task Performance Using a Paper-and-Pencil Test: Normative Data
    Della Sala, Sergio
    Foley, Jennifer A.
    Beschin, Nicoletta
    Allerhand, Mike
    Logie, Robert H.
    ARCHIVES OF CLINICAL NEUROPSYCHOLOGY, 2010, 25 (05) : 410 - 419
  • [35] Assessing the impact and limits of steady-state scheduling for mixed task and data parallelism on heterogeneous platforms
    Beaumont, O
    Legrand, A
    Marchal, L
    Robert, Y
    ISPDC 2004: THIRD INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING/HETEROPAR '04: THIRD INTERNATIONAL WORKSHOP ON ALGORITHMS, MODELS AND TOOLS FOR PARALLEL COMPUTING ON HETEROGENEOUS NETWORKS, PROCEEDINGS, 2004, : 296 - 302
  • [36] Assessing multisensory integration and estimating speed of processing with the dual-presentation timing task: Model and data
    Garcia-Perez, Miguel A.
    Alcala-Quintana, Rocio
    JOURNAL OF MATHEMATICAL PSYCHOLOGY, 2020, 96
  • [37] Assessing lexicon: validation and developmental data of the Picture Naming Game (PiNG), a new picture naming task for toddlers
    Bello, A.
    Giannantoni, P.
    Pettenati, P.
    Stefanini, S.
    Caselli, M. C.
    INTERNATIONAL JOURNAL OF LANGUAGE & COMMUNICATION DISORDERS, 2012, 47 (05) : 589 - 602
  • [38] Assessing Membership Leakages via Task-Aligned Divergent Shadow Data Sets in Vehicular Road Cooperation
    Liu, Pengrui
    Wang, Wei
    Xu, Xiangrui
    Li, Hanxi
    Ding, Weiping
    IEEE INTERNET OF THINGS JOURNAL, 2024, 11 (22): : 35891 - 35901
  • [39] Assessing Data-Driven of Discriminative Deep Learning Models in Classification Task Using Synthetic Pandemic Dataset
    Ajagbe, Sunday Adeola
    Mudali, Pragasen
    Adigun, Matthew O.
    ARTIFICIAL INTELLIGENCE RESEARCH, SACAIR 2024, 2025, 2326 : 282 - 299
  • [40] Assessing Language in Unstructured Conversation in People With Aphasia: Methods, Psychometric Integrity, Normative Data, and Comparison to a Structured Narrative Task
    Leaman, Marion C.
    Edmonds, Lisa A.
    JOURNAL OF SPEECH LANGUAGE AND HEARING RESEARCH, 2021, 64 (11): : 4344 - 4365