Open this publication in new window or tab >>Show others...
2018 (English)In: Computing, ISSN 0010-485X, E-ISSN 1436-5057, Vol. 100, no 6, p. 557-595Article in journal (Refereed) Published
Abstract [en]
In systems with complex many-core cache hierarchy, exploiting data locality can significantly reduce execution time and energy consumption of parallel applications. Locality can be exploited at various hardware and software layers. For instance, by implementing private and shared caches in a multi-level fashion, recent hardware designs are already optimised for locality. However, this would all be useless if the software scheduling does not cast the execution in a manner that promotes locality available in the programs themselves. Since programs for parallel systems consist of tasks executed simultaneously, task scheduling becomes crucial for the performance in multi-level cache architectures. This paper presents a heuristic algorithm for homogeneous multi-core systems called locality-aware task scheduling (LeTS). The LeTS heuristic is a work-conserving algorithm that takes into account both locality and load balancing in order to reduce the execution time of target applications. The working principle of LeTS is based on two distinctive phases, namely; working task group formation phase (WTG-FP) and working task group ordering phase (WTG-OP). The WTG-FP forms groups of tasks in order to capture data reuse across tasks while the WTG-OP determines an optimal order of execution for task groups that minimizes the reuse distance of shared data between tasks. We have performed experiments using randomly generated task graphs by varying three major performance parameters, namely: (1) communication to computation ratio (CCR) between 0.1 and 1.0, (2) application size, i.e., task graphs comprising of 50-, 100-, and 300-tasks per graph, and (3) number of cores with 2-, 4-, 8-, and 16-cores execution scenarios. We have also performed experiments using selected real-world applications. The LeTS heuristic reduces overall execution time of applications by exploiting inter-task data locality. Results show that LeTS outperforms state-of-the-art algorithms in amortizing inter-task communication cost.
Keywords
Directed acyclic graph (DAG), Embedded systems, Homogeneous systems, Multicore scheduling, Parallel computing, Runtime resource management, Directed graphs, Distributed computer systems, Energy utilization, Hardware, Heuristic algorithms, Multitasking, Optimization, Parallel processing systems, Scheduling algorithms, Homogeneous system, Multi core, Multi-level cache architecture, Parallel computing system, Performance parameters, Resource management, State-of-the-art algorithms, Scheduling
National Category
Computer and Information Sciences
Identifiers
urn:nbn:se:ri:diva-33981 (URN)10.1007/s00607-017-0581-6 (DOI)2-s2.0-85032798462 (Scopus ID)
2018-07-032018-07-032023-05-25Bibliographically approved