1. Heuristic-based Task-to-Thread Mapping in Multi-Core Processors
- Author
-
Samadi Gharajeh, Mohammad, Royuela Alcázar, Sara, Pinho, Luis Miguel, Carvalho, Tiago, Quiñones Moreno, Eduardo, Universitat Politècnica de Catalunya. Doctorat en Arquitectura de Computadors, and Barcelona Supercomputing Center
- Subjects
Idle time ,Scheduling time ,Multiprocessors ,Real-time data processing ,OpenMP ,Multiprocessadors ,Ordinadors immersos, Sistemes d' ,Informàtica::Arquitectura de computadors [Àrees temàtiques de la UPC] ,Embedded computer systems ,Real-time systems ,Temps real (Informàtica) ,Task-to-thread mapping - Abstract
OpenMP can be used in real-time applications to enhance system performance. However, predictability of OpenMP applications is still a challenge. This paper investigates heuristics for the mapping of OpenMP task graphs in underlying threads, for the development of time-predictable OpenMP programs. These approaches are based on a global scheduling queue, as well as per-thread allocation queues. The proposed method is divided into scheduling and allocation phases. In the former phase, OpenMP task-parts are discovered from OpenMP graph and placed in the scheduling queue. Afterwards, an appropriate allocation queue is selected for each task-part using four heuristic algorithms. In the latter phase, the best task-part is selected from the allocation queue to be allocated to and executed by an idle thread. Preliminary simulation results show that the new method overcomes BFS and WFS in terms of scheduling time and idle time. This work has been co-funded by the European commission through the AMPERE (H2020 grant agreement N° 745601) project.
- Published
- 2022