Skip to content

Menu

WorksComputer Science

GPS: Guiding Phase-Level Prefetcher Selection with Data-Driven Method

View on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_89yujw4v. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Hardware prefetching is a widely used technique for hiding off-chip memory latency. Modern processors increasingly adopt composite prefetchers that combine multiple prefetching engines to handle the diverse memory access patterns found in real applications. However, coordinating multiple prefetchers requires a policy selection algorithm that maps observed system feedback to appropriate prefetching policies. Existing approaches suffer from two key limitations. First, relying on only a small set of features can lead to misleading prefetcher policies due to incomplete visibility into the system state. Second, limited on-chip hardware resources force these designs to use simple mapping mechanisms that cannot effectively navigate the large prefetching policy space. To address these challenges, we propose GPS, a data-driven framework for prefetcher selection that leverages comprehensive profiling and offline learning. GPS collects a rich set of features that capture both system behaviors and hardware resource states, and uses an offline machine learning model to learn the mapping between these features and the IPC-best policy. By offloading complex policy generation to software, GPS eliminates the need for costly online exploration and enables lightweight runtime execution through pre-generated policy hints. GPS reduces the performance gap to only 2.6%, compared to 13.6% and 14.2% in prior state-of-the-art methods. We evaluate GPS on SPEC CPU2006, SPEC CPU2017, and GAP benchmark suites. GPS outperforms the state-of-the-art prefetcher selection method I-POP by 12.14%, 8.34%, and 14.17% in geometric-mean IPC, respectively. GPS achieves these gains with only 778 bits of additional on-chip storage for runtime policy control.

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

License
arXiv nonexclusive license
Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Pick where to look, or just type