跳到正文
arXiv (Robotics + Hardware + Signal)· Buqing Xu, Mengming Li, Qijun Zhang, Ziyan Guo, Zhiyao Xie·· 4 小时前AI 评分12

GPS:用数据驱动方法指导预取器相位级选择

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

AI 导读

GPS 是一个数据驱动的预取器选择框架,通过全面性能剖析与离线机器学习学习系统特征与 IPC 最优策略的映射,将性能差距缩小至 2.6%,此前最先进方法为 13.6% 和 14.2%。

正文 · 原文

arXiv:2611.33859v1 Announce Type: new 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.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org