Lightweight ML-based Runtime Prefetcher Selection on Many-core Platforms

Autor: Alcorta, Erika S., Madhav, Mahesh, Tetrick, Scott, Yadwadkar, Neeraja J., Gerstlauer, Andreas
Rok vydání: 2023
Předmět:
Druh dokumentu: Working Paper
Popis: Modern computer designs support composite prefetching, where multiple individual prefetcher components are used to target different memory access patterns. However, multiple prefetchers competing for resources can drastically hurt performance, especially in many-core systems where cache and other resources are shared and very limited. Prior work has proposed mitigating this issue by selectively enabling and disabling prefetcher components during runtime. Traditional approaches proposed heuristics that are hard to scale with increasing core and prefetcher component counts. More recently, deep reinforcement learning was proposed. However, it is too expensive to deploy in real-world many-core systems. In this work, we propose a new phase-based methodology for training a lightweight supervised learning model to manage composite prefetchers at runtime. Our approach improves the performance of a state-of-the-art many-core system by up to 25% and by 2.7% on average over its default prefetcher configuration.
Comment: 5 pages, 7 figures, 1 table, presented at the 2023 ML for Computer Architecture and Systems Workshop (Co-Located with ASSYST)
Databáze: arXiv