On Consistency for Bulk-Bitwise Processing-in-Memory

Ben Perach, Ronny Ronnen, Shahar Kvatinsky
11/14/2022
cs.AR
diffusion-flow

Official code: benperach/gem5_bulkbitwise_PIM_consistency (4 stars, C++, last commit 2022-11-28).

Abstract

Processing-in-memory (PIM) architectures allow software to explicitly initiate computation in the memory. This effectively makes PIM operations a new class of memory operations, alongside standard memory operations (e.g., load, store).

Show full abstract

For software correctness, it is crucial to have ordering rules for a PIM operation with other PIM operations and other memory operations, i.e., a consistency model that takes into account PIM operations is vital. To the best of our knowledge, little attention to PIM operation consistency has been given in existing works. In this paper, we focus on a specific PIM approach, named bulk-bitwise PIM. In bulk-bitwise PIM, large bitwise operations are performed directly and stored in the memory array. We show that previous solutions for the related topic of maintaining coherency of bulk-bitwise PIM have broken the host native consistency model and prevent any guaranteed correctness. As a solution, we propose and evaluate four consistency models for bulk-bitwise PIM, from strict to relaxed. Our designs also preserve coherency between PIM and the host processor. Evaluating the proposed designs' performance with a gem5 simulation, using the YCSB short-range scan benchmark and TPC-H queries, shows that the run time overhead of guaranteeing correctness is at most $6\%$, and in many cases the run time is even improved. The hardware overhead of our design is less than $0.22\%$.

View on arXivView PDF

Code Implementations(1)

40C++, PythonNov 28, 20224 years ago

Similar Papers

Cite this paper

@article{perach2022consistency,
  title  = {On Consistency for Bulk-Bitwise Processing-in-Memory},
  author = {Ben Perach and Ronny Ronnen and Shahar Kvatinsky},
  year   = {2022},
  eprint = {2211.07542},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.07542}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.07542.svg)](https://codeofpaper.com/paper/2211.07542)

Discussion