Using Data Dependencies to Improve Task-Based Scheduling Strategies on NUMA Architectures [chapter]

Philippe Virouleau, François Broquedis, Thierry Gautier, Fabrice Rastello
2016 Lecture Notes in Computer Science  
The recent addition of data dependencies to the OpenMP 4.0 standard provides the application programmer with a more flexible way of synchronizing tasks. Using such an approach allows both the compiler and the runtime system to know exactly which data are read or written by a given task, and how these data will be used through the program lifetime. Data placement and task scheduling strategies have a significant impact on performances when considering NUMA architectures. While numerous papers
more » ... us on these topics, none of them has made extensive use of the information available through dependencies. One can use this information to modify the behavior of the application at several levels : during initialization to control data placement and during the application execution to dynamically control both the task placement and the tasks stealing strategy, depending on the topology. This paper introduces several heuristics for these strategies and their implementations in our OpenMP runtime XKAAPI. We also evaluate their performances on linear algebra applications executed on a 192-core NUMA machine, reporting noticeable performance improvement when considering both the architecture topology and the tasks data dependencies. We finally compare them to strategies presented previously by related works.
doi:10.1007/978-3-319-43659-3_39 fatcat:i6ou3fm2efcz5np6rafvfnuvkm