arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.15181cs.ARcs.AI
收藏

结合片外预测与自适应预取过滤的两级神经方法

A Two Level Neural Approach Combining Off-Chip Prediction with Adaptive Prefetch Filtering

Barcelona Supercomputing Center (BSC)\ Politècnica de Catalunya (UPC);Huawei Zurich Research Center;Texas A\&M University

Alexandre Valentin Jamet, Georgios Vavouliotis, Daniel A. Jiménez, Lluc Alvarez, Marc Casas

AI总结:

提出两级感知机预测器TLP,结合片外预测与L1D自适应预取过滤,仅需7KB存储,在单核和多核工作负载上分别实现6.2%和11.8%的加速并显著减少DRAM事务。

摘要:

为了缓解具有大数据足迹的当代应用在性能和能耗方面的开销,我们提出了两级感知机(TLP)预测器,这是一种神经机制,能够有效地将预测访问是否将发生在片外与第一级数据缓存(L1D)处的自适应预取过滤相结合。TLP由两个相互连接的微体系结构感知机预测器组成,分别命名为第一级预测器(FLP)和第二级预测器(SLP)。FLP通过使用基于虚拟地址的若干程序特征和一种新颖的选择性延迟组件,执行准确的片外预测。SLP的新颖之处在于利用片外预测来驱动L1D预取过滤,其方式是使用物理地址以及FLP的预测结果作为特征。TLP构成了首个采用多级感知机硬件方法同时针对片外预测和预取过滤的硬件提案。TLP仅需7KB的存储空间。为了展示TLP的优势,我们将其性能与最先进的方法进行了比较,这些方法在广泛的单核和多核工作负载上使用了片外预测和预取过滤。我们的实验表明,与使用最先进缓存预取器但没有片外预测机制的基线相比,TLP在单核和多核工作负载上分别将平均DRAM事务减少了30.7%和17.7%,而最近的研究则显著增加了DRAM事务。因此,TLP在单核和多核工作负载上分别实现了6.2%和11.8%的几何平均性能加速。此外,我们的评估表明,TLP的有效性独立于L1D的预取逻辑。

英文摘要:

To alleviate the performance and energy overheads of contemporary applications with large data footprints, we propose the Two Level Perceptron (TLP) predictor, a neural mechanism that effectively combines predicting whether an access will be off-chip with adaptive prefetch filtering at the first-level data cache (L1D). TLP is composed of two connected microarchitectural perceptron predictors, named First Level Predictor (FLP) and Second Level Predictor (SLP). FLP performs accurate off-chip prediction by using several program features based on virtual addresses and a novel selective delay component. The novelty of SLP relies on leveraging off-chip prediction to drive L1D prefetch filtering by using physical addresses and the FLP prediction as features. TLP constitutes the first hardware proposal targeting both off-chip prediction and prefetch filtering using a multi-level perceptron hardware approach. TLP only requires 7KB of storage. To demonstrate the benefits of TLP we compare its performance with state-of-the-art approaches using off-chip prediction and prefetch filtering on a wide range of single-core and multi-core workloads. Our experiments show that TLP reduces the average DRAM transactions by 30.7% and 17.7%, as compared to a baseline using state-of-the-art cache prefetchers but no off-chip prediction mechanism, across the single-core and multi-core workloads, respectively, while recent work significantly increases DRAM transactions. As a result, TLP achieves geometric mean performance speedups of 6.2% and 11.8% across single-core and multi-core workloads, respectively. In addition, our evaluation demonstrates that TLP is effective independently of the L1D prefetching logic.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑