Exploiting Vector Code Semantics for Efficient Data Cache Prefetching
Open Access
- 30 May 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 98-109
Abstract
Emerging workloads from domains like high performance computing, data analytics or deep learning consume large amounts of memory bandwidth. To mitigate this problem, computing systems include large and deep memory cache hierarchies that exploit both spatial and temporal locality. In this context, hardware data cache prefetching constitutes a useful method to anticipate cache misses and boost performance. Despite their success in terms of high coverage rates, current data cache prefetchers incur a significant number of late and sometimes useless prefetches. Additionally, these state-of-the-art prefetchers are not aware of architecture trends towards larger vector units and vector-length agnostic instruction sets. This paper demonstrates that these trends bring new prefetching opportunities that make it possible to increase the accuracy and timeliness of any state-of-the-art prefetcher with a negligible area cost. We propose the the Register Vector Length Agnostic (ReVeLA) prefetcher. ReVeLA exploits program semantics present in vectorized codes. The ReVeLA prefetcher complements existing data cache prefetchers by providing highly accurate prefetch requests that improve prefetching timeliness and accuracy without significantly increasing memory bandwidth consumption. When applied on top of a state-of-the-art out-of-order vector processor, ReVeLA delivers a speed-up of 1.23 × with respect to a system without any prefetching approach. When combined with the NextLine, BOP, SPP, and PPF prefetchers, ReVeLA improves performance by 6.57%, 4.46%, 11.83%, and 11.40% respectively, with respect to a vector processor equipped with these prefetching approaches. Additionally, our evaluation demonstrates that ReVeLA increases memory bandwidth consumption by only 3.74% when combined with the most performing data cache prefetcher of our experimental campaign.Keywords
Funding Information
- Ministerio de Ciencia, Innovación y Universidades (MCIN/AEI/10.13039/501100011033)
- Generalitat de Catalunya (2021-SGR-00763)
This publication has 41 references indexed in Scilit:
- Performance Evaluation of a Next-Generation SX-Aurora TSUBASA Vector Supercomputer2023
- Accelerating FFT Using NEC SX-Aurora Vector Engine2022
- Reverse time migration: A prospect of seismic imaging methodologyEarth-Science Reviews, 2018
- Best-offset hardware prefetching2016
- Exploring Traditional and Emerging Parallel Programming Models Using a Proxy Application2013
- Rodinia: A benchmark suite for heterogeneous computing2009
- Spatial Memory Streaming2006
- Exploiting spatial locality in data caches using spatial footprints2002
- Effective hardware-based data prefetching for high-performance processorsIEEE Transactions on Computers, 1995
- Sequential Program Prefetching in Memory HierarchiesComputer, 1978