OpenMP has become a reference standard for the design of parallel applications. This standard is evolving very fast, thus offering ever new opportunities to the application programmers. However, OpenMP runtime environments are often not fully aligned to the actual requirements imposed by the evolution of such standard. Among the main lacks, we find: (a) a limited capability to effectively cope with task priorities, and (b) the inadequacy in guaranteeing core properties while processing tasks such as the so called extit{work-conservativeness}---the ability of the OpenMP runtime environment to fully exploit the underlying multi-processor/multi-core machine through the avoidance of thread-blocking phases. In this article we present the design of extensions to the GNU OpenMP ({ t GOMP}) implementation, integrated into { t gcc}, which allow the effective management of tasks and their priorities. Our proposal is based on a user-space library---modularly combined with the one already offered by { t GOMP}---and an external kernel-level Linux module---offering the opportunity to exploit raising hardware facilities for the purpose of task/priority management. We also provide experimental results showing the effectiveness of our proposal, achieved by running either OpenMP common benchmarks or a new benchmark application (named {sc Hashtag-Text}) that we explicitly devised in order to stress the OpenMP runtime environment in relation to the above-mentioned task/priority management aspects.
Silvestri, E., Pellegrini, A., Di Sanzo, P., Quaglia, F. (2021). Effective Runtime Management of Tasks and Priorities in GNU OpenMP Applications. IEEE TRANSACTIONS ON COMPUTERS, 1-1 [10.1109/TC.2021.3139463].
Effective Runtime Management of Tasks and Priorities in GNU OpenMP Applications
Di Sanzo P.;
2021-01-01
Abstract
OpenMP has become a reference standard for the design of parallel applications. This standard is evolving very fast, thus offering ever new opportunities to the application programmers. However, OpenMP runtime environments are often not fully aligned to the actual requirements imposed by the evolution of such standard. Among the main lacks, we find: (a) a limited capability to effectively cope with task priorities, and (b) the inadequacy in guaranteeing core properties while processing tasks such as the so called extit{work-conservativeness}---the ability of the OpenMP runtime environment to fully exploit the underlying multi-processor/multi-core machine through the avoidance of thread-blocking phases. In this article we present the design of extensions to the GNU OpenMP ({ t GOMP}) implementation, integrated into { t gcc}, which allow the effective management of tasks and their priorities. Our proposal is based on a user-space library---modularly combined with the one already offered by { t GOMP}---and an external kernel-level Linux module---offering the opportunity to exploit raising hardware facilities for the purpose of task/priority management. We also provide experimental results showing the effectiveness of our proposal, achieved by running either OpenMP common benchmarks or a new benchmark application (named {sc Hashtag-Text}) that we explicitly devised in order to stress the OpenMP runtime environment in relation to the above-mentioned task/priority management aspects.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.