[Paper Review] PRINS: Resistive CAM Processing in Storage
PRINS introduces a novel in-storage processing architecture that leverages Resistive Content Addressable Memory (RCAM) to perform massively parallel associative computation directly within storage arrays, eliminating data movement to the host CPU. By enabling in-data processing instead of near-data processing, PRINS achieves up to four orders of magnitude higher performance than conventional architectures for Euclidean distance, dot product, and histogram operations, and over two orders of magnitude improvement for sparse matrix-vector multiplication (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.
Motivation & Objective
- To address the bandwidth wall in conventional processing-in-storage architectures by eliminating data movement to the host CPU.
- To overcome the limitations of von Neumann architecture within storage by integrating computation directly into storage arrays.
- To enable high-throughput, low-latency data processing for data-intensive workloads such as similarity search and sparse linear algebra.
- To demonstrate that in-data processing using RCAM can outperform external CPU-based systems under bandwidth-limited conditions.
Proposed method
- Designing a storage architecture where Resistive Content Addressable Memory (RCAM) arrays serve dual roles: persistent storage and massively parallel associative processing.
- Utilizing the inherent parallelism of RCAM to perform content-addressable operations such as pattern matching, dot product, and histogram computation directly on stored data.
- Implementing computation within the storage array by leveraging the analog behavior of resistive memory cells to perform vector operations in parallel.
- Mapping key workloads—Euclidean distance, dot product, histogram, and SpMV—onto the RCAM-based architecture to exploit its associative and parallel nature.
- Optimizing data layout and access patterns within the RCAM array to minimize latency and maximize throughput.
- Evaluating performance against a reference CPU-based system with external storage to isolate the benefits of in-data processing.
Experimental results
Research questions
- RQ1Can resistive CAM be effectively used to perform associative computation directly within storage arrays, eliminating data movement to the host processor?
- RQ2To what extent does in-data processing using RCAM outperform traditional near-data processing architectures under bandwidth-limited conditions?
- RQ3How does the PRINS architecture perform relative to a conventional CPU-based system for compute-intensive workloads like SpMV and similarity search?
- RQ4What are the performance gains of PRINS across different data sizes and workloads compared to a reference architecture?
- RQ5Can RCAM-based storage achieve both persistent storage and high-throughput processing simultaneously without compromising reliability or scalability?
Key findings
- PRINS achieves up to four orders of magnitude higher performance than a reference CPU-based architecture for Euclidean distance, dot product, and histogram computations, depending on dataset size.
- For sparse matrix-vector multiplication (SpMV), PRINS exceeds the attainable performance of the reference architecture by more than two orders of magnitude.
- The performance advantage of PRINS is most pronounced under bandwidth-limited conditions, where data movement becomes the primary bottleneck.
- The RCAM-based architecture enables true in-data processing, as computations are performed directly within the storage array, avoiding the von Neumann bottleneck.
- The proposed architecture demonstrates that resistive memory can serve dual roles as both storage and high-throughput associative processor.
- The results validate that integrating computation into storage arrays using RCAM can deliver substantial performance gains for data-parallel, associative workloads.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.