DSPatch:双空间模式预取器
DSPatch: Dual Spatial Pattern Prefetcher
摘要:
高主存储器延迟继续限制现代高性能无序内核的性能。虽然DRAM延迟在许多代中几乎保持不变,但由于更高的频率,更新的架构(DDR4,LPDDR4,GDDR5)和3D堆叠存储器封装(HBM),DRAM带宽显着增长。当前最先进的预取器在较高DRAM带宽可用时不能很好地提取较高性能。预取器需要能够动态地适应可用带宽,在存在净空时提高预取计数和预取覆盖率,并在带宽利用率接近峰值时降低速度以实现高精度。为此,我们提出了双空间模式预取器(DSPatch),它可以用作一个独立的预取器或作为一个轻量级的辅助空间预取器的最先进的三角洲为基础的签名模式预取器(SPP)。DSPatch基于调制空间位模式的新颖而直观的使用。关键的想法是:(1)将物理页面上的程序访问表示为锚定到第一“触发”访问的位模式,(2)学习两个空间访问位模式:一个偏向覆盖,另一个偏向准确,以及(3)基于DRAM带宽利用率在运行时选择一个位模式以生成预取。在各种工作负载中,仅使用3.6KB的存储,DSPatch通过在L1缓存中使用基于PC的步幅预取器和在L2缓存中使用SPP预取器,将性能提高了6%(在内存密集型工作负载中为9%,最高可达26%)。此外,DSPatch+SPP的性能随着DRAM带宽的增加而扩展,从SPP的6%增长到DRAM带宽增加一倍时的10%。
英文摘要:
High main memory latency continues to limit performance of modern high-performance out-of-order cores. While DRAM latency has remained nearly the same over many generations, DRAM bandwidth has grown significantly due to higher frequencies, newer architectures (DDR4, LPDDR4, GDDR5) and 3D-stacked memory packaging (HBM). Current state-of-the-art prefetchers do not do well in extracting higher performance when higher DRAM bandwidth is available. Prefetchers need the ability to dynamically adapt to available bandwidth, boosting prefetch count and prefetch coverage when headroom exists and throttling down to achieve high accuracy when the bandwidth utilization is close to peak. To this end, we present the Dual Spatial Pattern Prefetcher (DSPatch) that can be used as a standalone prefetcher or as a lightweight adjunct spatial prefetcher to the state-of-the-art delta-based Signature Pattern Prefetcher (SPP). DSPatch builds on a novel and intuitive use of modulated spatial bit-patterns. The key idea is to: (1) represent program accesses on a physical page as a bit-pattern anchored to the first "trigger" access, (2) learn two spatial access bit-patterns: one biased towards coverage and another biased towards accuracy, and (3) select one bit-pattern at run-time based on the DRAM bandwidth utilization to generate prefetches. Across a diverse set of workloads, using only 3.6KB of storage, DSPatch improves performance over an aggressive baseline with a PC-based stride prefetcher at the L1 cache and the SPP prefetcher at the L2 cache by 6% (9% in memory-intensive workloads and up to 26%). Moreover, the performance of DSPatch+SPP scales with increasing DRAM bandwidth, growing from 6% over SPP to 10% when DRAM bandwidth is doubled.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。