arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2112.14216cs.AR
收藏

Casper:利用近缓存处理加速模板计算

Casper: Accelerating Stencil Computation using Near-cache Processing

Alain Denzler, Rahul Bera, Nastaran Hajinazar, Gagandeep Singh, Geraldo F. Oliveira, Juan Gómez-Luna, Onur Mutlu

AI总结:

Casper是一种近缓存加速器,通过将专用模板计算单元连接到CPU最后一级缓存,避免数据移动并利用并行性,平均性能提升1.65倍,能耗降低35%,性能面积比优于GPU37倍。

摘要:

模板计算是广泛应用于各种科学应用中的核心内核之一,从大规模天气预报到求解偏微分方程。模板计算具有三个独特性质:(1)低算术强度,(2)有限的时间数据重用,以及(3)规则且可预测的数据访问模式。因此,模板计算通常是带宽受限的工作负载,从现代CPU的深层缓存层次结构中获益有限。在这项工作中,我们提出了Casper,一种由连接到传统CPU最后一级缓存(LLC)的专用模板计算单元组成的近缓存加速器。Casper基于两个关键思想:(1)避免将很少重用的数据移动通过缓存层次结构的成本,以及(2)利用数据访问的规律性和模板计算固有的并行性来提高整体性能。通过对LLC地址解码逻辑和数据放置进行最小改动,Casper以LLC的峰值带宽执行模板计算。我们表明,通过将轻量级模板计算单元紧密耦合到LLC附近,Casper平均将模板内核的性能提高了1.65倍,同时与商业高性能多核处理器相比,能耗降低了35%。此外,与最先进的GPU相比,Casper在性能面积比上提供了37倍的改进。

英文摘要:

Stencil computation is one of the most used kernels in a wide variety of scientific applications, ranging from large-scale weather prediction to solving partial differential equations. Stencil computations are characterized by three unique properties: (1) low arithmetic intensity, (2) limited temporal data reuse, and (3) regular and predictable data access pattern. As a result, stencil computations are typically bandwidth-bound workloads, which only experience limited benefits from the deep cache hierarchy of modern CPUs. In this work, we propose Casper, a near-cache accelerator consisting of specialized stencil compute units connected to the last-level cache (LLC) of a traditional CPU. Casper is based on two key ideas: (1) avoiding the cost of moving rarely reused data through the cache hierarchy, and (2) exploiting the regularity of the data accesses and the inherent parallelism of the stencil computation to increase the overall performance. With minimal changes in LLC address decoding logic and data placement, Casper performs stencil computations at the peak bandwidth of the LLC. We show that, by tightly coupling lightweight stencil compute units near to LLC, Casper improves the performance of stencil kernels by 1.65x on average, while reducing the energy consumption by 35% compared to a commercial high-performance multi-core processor. Moreover, Casper provides a 37x improvement in performance-per-area compared to a state-of-the-art GPU.

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

↑