TaskInsight: Understanding Task Schedules Effects on Memory and Performance
Document typeConference report
PublisherAssociation for Computing Machinery
Rights accessOpen Access
European Commission's projectHiPEAC - High Performance and Embedded Architecture and Compilation (EC-H2020-687698)
Recent scheduling heuristics for task-based applications have managed to improve their by taking into account memory-related properties such as data locality and cache sharing. However, there is still a general lack of tools that can provide insights into why, and where, different schedulers improve memory behavior, and how this is related to the applications' performance. To address this, we present TaskInsight, a technique to characterize the memory behavior of different task schedulers through the analysis of data reuse between tasks. TaskInsight provides high-level, quantitative information that can be correlated with tasks' performance variation over time to understand data reuse through the caches due to scheduling choices. TaskInsight is useful to diagnose and identify which scheduling decisions affected performance, when were they taken, and why the performance changed, both in single and multi-threaded executions. We demonstrate how TaskInsight can diagnose examples where poor scheduling caused over 10% difference in performance for tasks of the same type, due to changes in the tasks' data reuse through the private and shared caches, in single and multi-threaded executions of the same application. This flexible insight is key for optimization in many contexts, including data locality, throughput, memory footprint or even energy efficiency.
CitationCeballos, Germán [et al.]. TaskInsight: Understanding Task Schedules Effects on Memory and Performance. A: 8th International Workshop on Programming Models and Applications for Multicores and Manycores. "PMAM'17 Proceedings of the 8th International Workshop on Programming Models and Applications for Multicores and Manycores". New York: Association for Computing Machinery, 2017, p. 11-20.