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 条
  • [21] Runtime Hardware/Software Task Transition Scheduling for Data-Adaptable Embedded Systems
    Sandoval, Nathan
    Mackin, Casey
    Whitsitt, Sean
    Lysecky, Roman
    Sprinkle, Jonathan
    PROCEEDINGS OF THE 2013 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT), 2013, : 342 - 345
  • [22] Locality-Aware Task Scheduling and Data Distribution for OpenMP Programs on NUMA Systems and Manycore Processors
    Muddukrishna, Ananya
    Jonsson, Peter A.
    Brorsson, Mats
    SCIENTIFIC PROGRAMMING, 2015, 2015
  • [23] Assessing Effects of Task and Data Distribution on the Effectiveness of Visual Encodings
    Kim, Younghoon
    Heer, Jeffrey
    COMPUTER GRAPHICS FORUM, 2018, 37 (03) : 157 - 167
  • [24] Runtime Data Management on Non-Volatile Memory-based Heterogeneous Memory for Task-Parallel Programs
    Wu, Kai
    Ren, Jie
    Li, Dong
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE, AND ANALYSIS (SC'18), 2018,
  • [25] A novel task assessing intention and emotion attribution: Italian standardization and normative data of the Story-based Empathy Task
    Dodich, Alessandra
    Cerami, Chiara
    Canessa, Nicola
    Crespi, Chiara
    Iannaccone, Sandro
    Marcone, Alessandra
    Realmuto, Sabrina
    Lettieri, Giada
    Perani, Daniela
    Cappa, Stefano F.
    NEUROLOGICAL SCIENCES, 2015, 36 (10) : 1907 - 1912
  • [26] A novel task assessing intention and emotion attribution: Italian standardization and normative data of the Story-based Empathy Task
    Alessandra Dodich
    Chiara Cerami
    Nicola Canessa
    Chiara Crespi
    Sandro Iannaccone
    Alessandra Marcone
    Sabrina Realmuto
    Giada Lettieri
    Daniela Perani
    Stefano F. Cappa
    Neurological Sciences, 2015, 36 : 1907 - 1912
  • [27] Assessing language models' task and language transfer capabilities for sentiment analysis in dialog data
    Negru, Vlad-Andrei
    Suciu, Vasile
    Lapusan, Alex-Mihai
    Lemnaru, Camelia
    Dinsoreanu, Mihaela
    Potolea, Rodica
    COMPUTER SPEECH AND LANGUAGE, 2025, 89
  • [28] Assessing Missing Data Assumptions in EHR-Based Studies: A Complex and Underappreciated Task
    Haneuse, Sebastien
    Arterburn, David
    Daniels, Michael J.
    JAMA NETWORK OPEN, 2021, 4 (02)
  • [29] Assessing gene stability and gene affinity in microarray data classification using an extended relieff algorithm
    Srivastava, Neha
    Tayal, Devendra K.
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (15) : 45761 - 45776
  • [30] Assessing gene stability and gene affinity in microarray data classification using an extended relieff algorithm
    Neha Srivastava
    Devendra K. Tayal
    Multimedia Tools and Applications, 2024, 83 : 45761 - 45776