[论文解读] PRINS: Resistive CAM Processing in Storage
PRINS 提出了一种新颖的存储内处理架构,利用阻变内容可寻址内存(RCAM)在存储阵列内直接执行大规模并行关联计算,从而消除数据向主机 CPU 的移动。通过实现数据内处理而非近数据处理,PRINS 在欧几里得距离、点积和直方图操作上相比传统架构实现了高达四个数量级的性能提升,而在稀疏矩阵-向量乘法(SpMV)上也实现了两个多数量级的性能改进。
Near-data in-storage processing research has been gaining momentum in recent years. Typical processing-in-storage architecture places a single or several processing cores inside the storage and allows data processing without transferring it to the host CPU. Since this approach replicates von Neumann architecture inside storage, it is exposed to the problems faced by von Neumann architecture, especially the bandwidth wall. We present PRINS, a novel in-data processing-in-storage architecture based on Resistive Content Addressable Memory (RCAM). PRINS functions simultaneously as a storage and a massively parallel associative processor. PRINS alleviates the bandwidth wall faced by conventional processing-in-storage architectures by keeping the computing inside the storage arrays, thus implementing in-data, rather than near-data, processing. We show that PRINS may outperform a reference computer architecture with a bandwidth-limited external storage. The performance of PRINS Euclidean distance, dot product and histogram implementation exceeds the attainable performance of a reference architecture by up to four orders of magnitude, depending on the dataset size. The performance of PRINS SpMV may exceed the attainable performance of such reference architecture by more than two orders of magnitude.
研究动机与目标
- 通过消除数据向主机 CPU 的移动,解决传统处理内存储架构中的带宽瓶颈问题。
- 通过将计算直接集成到存储阵列中,克服冯·诺依曼架构在存储中的局限性。
- 为数据密集型工作负载(如相似性搜索和稀疏线性代数)提供高吞吐量、低延迟的数据处理能力。
- 证明在带宽受限条件下,使用 RCAM 的数据内处理可优于基于外部 CPU 的系统。
提出的方法
- 设计一种存储架构,其中阻变内容可寻址内存(RCAM)阵列同时承担持久存储和大规模并行关联处理的双重角色。
- 利用 RCAM 的固有并行性,直接在存储数据上执行内容寻址操作,如模式匹配、点积和直方图计算。
- 通过利用阻变存储单元的模拟行为,在存储阵列内实现向量操作的并行计算。
- 将关键工作负载(欧几里得距离、点积、直方图和 SpMV)映射到基于 RCAM 的架构上,以充分利用其关联性和并行性。
- 优化 RCAM 阵列内的数据布局和访问模式,以最小化延迟并最大化吞吐量。
- 与采用外部存储的参考 CPU 系统对比评估性能,以隔离数据内处理带来的优势。
实验结果
研究问题
- RQ1阻变 CAM 是否可有效用于在存储阵列内直接执行关联计算,从而消除数据向主机处理器的移动?
- RQ2在带宽受限条件下,使用 RCAM 的数据内处理相较于传统近数据处理架构,性能提升程度如何?
- RQ3PRINS 架构在计算密集型工作负载(如 SpMV 和相似性搜索)上相对于传统 CPU 系统的表现如何?
- RQ4与参考架构相比,PRINS 在不同数据大小和工作负载下的性能提升幅度如何?
- RQ5基于 RCAM 的存储能否同时实现持久存储和高吞吐量处理,而不会影响可靠性或可扩展性?
主要发现
- 对于欧几里得距离、点积和直方图计算,PRINS 的性能相比参考 CPU 架构最高提升四个数量级,具体取决于数据集大小。
- 在稀疏矩阵-向量乘法(SpMV)上,PRINS 的性能超过参考架构两个多数量级以上。
- PRINS 的性能优势在带宽受限条件下最为显著,此时数据移动成为主要瓶颈。
- 基于 RCAM 的架构实现了真正的数据内处理,因为计算直接在存储阵列内执行,避免了冯·诺依曼瓶颈。
- 所提出的架构证明了阻变存储可同时充当持久存储和高吞吐量关联处理器。
- 结果验证了通过 RCAM 将计算集成到存储阵列中,可为数据并行、关联性工作负载带来显著的性能提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。