Open this publication in new window or tab >>2023 (English)In: The International Symposium on Memory Systems (MEMSYS '23), Association for Computing Machinery (ACM), 2023, p. 1-13, article id 22Conference paper, Published paper (Refereed)
Abstract [en]
Increases in code footprint and control flow complexity have made low-latency instruction fetch challenging. Dedicated Instruction Prefetchers (DIPs) can provide performance gains (up to 5%) for a subset of applications that are poorly served by today’s ubiquitous Fetch-Directed Instruction Prefetching (FDIP). However, DIPs incur the significant overhead of in-core metadata storage (for all work- loads) and energy and performance loss from excess prefetches (for many workloads), leading to 11% of workloads actually losing performance. This work addresses how to provide the benefits of a DIP without its costs when the DIP cannot provide a benefit.
Our key insight is that workloads that benefit from DIPs can tolerate increased Branch Target Buffer (BTB) misses. This allows us to dynamically re-purpose the existing BTB storage between the BTB and the DIP. We train a simple performance counter based decision tree to select the optimal configuration at runtime, which allows us to achieve different energy/performance optimization goals. As a result, we pay essentially no area overhead when a DIP is needed, and can use the larger BTB when it is beneficial, or even power it off when not needed.
We look at our impact on two groups of benchmarks: those where the right configuration choice can improve performance or energy and those where the wrong choice could hurt them. For the benchmarks with improvement potential, when optimizing for performance, we are able to obtain 86% of the oracle potential, and when optimizing for energy, 98% of the potential, both while avoid- ing essentially all performance and energy losses on the remaining benchmarks. This demonstrates that our technique is able to dy- namically adapt to different performance/energy goals and obtain essentially all of the potential gains of DIP without the overheads they experience today.
Place, publisher, year, edition, pages
Association for Computing Machinery (ACM), 2023
National Category
Computer Systems
Research subject
Computer Science; Computer Systems Sciences
Identifiers
urn:nbn:se:uu:diva-515499 (URN)10.1145/3631882.3631904 (DOI)001209675300022 ()9798400716447 (ISBN)
Conference
The International Symposium on Memory Systems (MEMSYS '23), October 2–5, 2023, Alexandria, VA, USA
Funder
Knut and Alice Wallenberg Foundation, 2015.0153EU, Horizon 2020, 715283Swedish Research Council, 2019-02429
Note
Funder
Electronics and Telecommunications Research Institute (ETRI)
Grant number: 23ZS1300
2023-11-032023-11-032024-07-09Bibliographically approved