arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.01764cs.AR
收藏

MANA:指令预取器的微架构

MANA: Microarchitecting an Instruction Prefetcher

Ali Ansari, Fatemeh Golshan, Pejman Lotfi-Kamran, Hamid Sarbazi-Azad

摘要:

L1指令(L1-I)高速缓存未命中是性能瓶颈的来源。顺序预取器是缓解这个问题的简单解决方案;然而,先前的工作表明,这些预取器留下了相当大的潜力。这一观察促使许多研究人员提出更先进的指令预取器。2011年,主动指令获取(PIF)表明硬件预取器可以有效地消除所有的预取缓存未命中。然而,其巨大的存储成本使其成为不切实际的解决方案。因此,降低存储开销是近十年来指令预取技术的主要研究方向。提出了几种指令预取器,包括RDIP和Shotgun,以提供PIF级别的性能,并显著降低存储开销。然而,我们的研究结果表明,这些建议和PIF之间存在相当大的性能差距。虽然这些建议使用不同的指令预取机制,但性能差距在很大程度上并不是因为机制,而是因为没有足够的存储。先前的提议具有以下缺点中的一个或两个:(1)大量的元数据记录以覆盖潜在的,以及(2)每个记录的高存储成本。第一个问题导致元数据丢失,第二个问题禁止预取器在合理大小的存储中存储足够的记录。

英文摘要:

L1 instruction (L1-I) cache misses are a source of performance bottleneck. Sequential prefetchers are simple solutions to mitigate this problem; however, prior work has shown that these prefetchers leave considerable potentials uncovered. This observation has motivated many researchers to come up with more advanced instruction prefetchers. In 2011, Proactive Instruction Fetch (PIF) showed that a hardware prefetcher could effectively eliminate all of the instruction-cache misses. However, its enormous storage cost makes it an impractical solution. Consequently, reducing the storage cost was the main research focus in the instruction prefetching in the past decade. Several instruction prefetchers, including RDIP and Shotgun, were proposed to offer PIF-level performance with significantly lower storage overhead. However, our findings show that there is a considerable performance gap between these proposals and PIF. While these proposals use different mechanisms for instruction prefetching, the performance gap is largely not because of the mechanism, and instead, is due to not having sufficient storage. Prior proposals suffer from one or both of the following shortcomings: (1) a large number of metadata records to cover the potential, and (2) a high storage cost of each record. The first problem causes metadata miss, and the second problem prohibits the prefetcher from storing enough records within reasonably-sized storage.

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

↑