近内存并行索引与合并:实现SpMV的高效间接访问
Near-Memory Parallel Indexing and Coalescing: Enabling Highly Efficient Indirect Access for SpMV
AI总结:
针对SpMV中间接访问导致的低效问题,提出结合低开销数据合并器与近内存间接流单元的AXI-Pack扩展方案,利用内存级并行与合并,实现有效间接访问8倍加速及SpMV端到端3倍加速,片上存储仅27kB。
摘要:
稀疏矩阵向量乘法(SpMV)是众多数据密集型应用的核心,但其需要流式间接内存访问,这严重降低了现有架构中的处理和内存吞吐量。近内存硬件单元将间接流与处理单元解耦,部分缓解了瓶颈,但依赖于较低的DRAM访问粒度,这对于HBM和LPDDR等现代DRAM标准而言效率极低。为全面解决端到端挑战,我们提出了一种低开销数据合并器,结合近内存间接流单元,用于AXI-Pack——这是对广泛使用的AXI4协议的一种扩展,将窄的不规则流元素打包到宽内存总线上。我们的组合解决方案利用了SpMV等不规则应用中流式间接访问的内存级并行性和合并性,以最大化在宽内存接口上实现的性能和带宽效率。我们的解决方案在有效间接访问方面平均加速8倍,通常能达到全内存带宽。因此,我们在SpMV上实现了平均3倍的端到端加速。此外,我们的方法展示了卓越的片上效率,仅需27kB的片上存储,在12nm节点上实现面积非常紧凑,为0.2-0.3mm^2。
英文摘要:
Sparse matrix vector multiplication (SpMV) is central to numerous data-intensive applications, but requires streaming indirect memory accesses that severely degrade both processing and memory throughput in state-of-the-art architectures. Near-memory hardware units, decoupling indirect streams from processing elements, partially alleviate the bottleneck, but rely on low DRAM access granularity, which is highly inefficient for modern DRAM standards like HBM and LPDDR. To fully address the end-to-end challenge, we propose a low-overhead data coalescer combined with a near-memory indirect streaming unit for AXI-Pack, an extension to the widespread AXI4 protocol packing narrow irregular stream elements onto wide memory buses. Our combined solution leverages the memory-level parallelism and coalescence of streaming indirect accesses in irregular applications like SpMV to maximize the performance and bandwidth efficiency attained on wide memory interfaces. Our solution delivers an average speedup of 8x in effective indirect access, often reaching the full memory bandwidth. As a result, we achieve an average end-to-end speedup on SpMV of 3x. Moreover, our approach demonstrates remarkable on-chip efficiency, requiring merely 27kB of on-chip storage and a very compact implementation area of 0.2-0.3mm^2 in a 12nm node.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。