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

AXI-Pack:用于带宽高效的不规则工作负载的近存储器总线封装

AXI-Pack: Near-Memory Bus Packing for Bandwidth-Efficient Irregular Workloads

Chi Zhang, Paul Scheffler, Thomas Benz, Matteo Perotti, Luca Benini

摘要:

现代处理器和内存系统对涉及不规则内存流的数据密集型应用程序的处理效率很低,这些处理器和内存系统针对规则的连续数据进行了高度优化。最近的工作通过核心侧流扩展或存储器侧预取器和加速器解决了硬件中的这些低效率,但未能提供端到端解决方案,该解决方案也实现了片上互连的高效率。我们提出了AXI-Pack,ARM的AXI 4协议的扩展,引入带宽效率的跨越和间接突发,使端到端的不规则流。AXI-Pack为内存请求添加了不规则的流语义,并通过将多个窄数据元素打包到宽总线上来避免低效的窄总线传输。它保留了与AXI 4的完全兼容性,并且不需要修改非突发整形互连IP。为了演示我们的方法端到端,我们扩展了一个开源RISC-V向量处理器,以在其内存接口上利用AXI-Pack进行跨步和索引访问。在内存方面,我们设计了一个银行的内存控制器有效地处理AXI-Pack请求。在一个具有256位宽互连的系统上运行FP 32工作负载,AXI-Pack实现了接近理想的87%和39%的峰值片上总线利用率,5.4倍和2.4倍的加速比,以及5.3倍和2.1倍的能效改进,分别超过使用AXI 4总线的基准。

英文摘要:

Data-intensive applications involving irregular memory streams are inefficiently handled by modern processors and memory systems highly optimized for regular, contiguous data. Recent work tackles these inefficiencies in hardware through core-side stream extensions or memory-side prefetchers and accelerators, but fails to provide end-to-end solutions which also achieve high efficiency in on-chip interconnects. We propose AXI-Pack, an extension to ARM's AXI4 protocol introducing bandwidth-efficient strided and indirect bursts to enable end-to-end irregular streams. AXI-Pack adds irregular stream semantics to memory requests and avoids inefficient narrow-bus transfers by packing multiple narrow data elements onto a wide bus. It retains full compatibility with AXI4 and does not require modifications to non-burst-reshaping interconnect IPs. To demonstrate our approach end-to-end, we extend an open-source RISC-V vector processor to leverage AXI-Pack at its memory interface for strided and indexed accesses. On the memory side, we design a banked memory controller efficiently handling AXI-Pack requests. On a system with a 256-bit-wide interconnect running FP32 workloads, AXI-Pack achieves near-ideal peak on-chip bus utilizations of 87% and 39%, speedups of 5.4x and 2.4x, and energy efficiency improvements of 5.3x and 2.1x over a baseline using an AXI4 bus on strided and indirect benchmarks, respectively.

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

↑