内存中按位批量处理的一致性研究
On Consistency for Bulk-Bitwise Processing-in-Memory
摘要:
内存中处理(PIM)架构允许软件显式启动内存中的计算。这有效地使PIM操作成为与标准存储器操作(例如,加载、存储)。对于软件正确性,具有用于PIM操作与其他PIM操作和其他存储器操作的排序规则是至关重要的,即,考虑PIM操作的一致性模型是至关重要的。据我们所知,很少注意PIM操作的一致性已在现有的作品。在本文中,我们专注于一个特定的PIM方法,命名为批量位PIM。在批量逐位PIM中,直接执行大的逐位操作并将其存储在存储器阵列中。我们表明,以前的解决方案的相关主题,保持一致性的批量位PIM已经打破了主机本地一致性模型,并防止任何保证的正确性。作为一个解决方案,我们提出并评估了四个一致性模型批量逐位PIM,从严格到放松。我们的设计还保持PIM和主机处理器之间的一致性。使用YCSB短距离扫描基准测试和TPC-H查询,通过gem 5仿真评估所提出的设计的性能,表明保证正确性的运行时间开销最多为$6\%$,并且在许多情况下运行时间甚至得到改善。本设计的硬件开销小于$0.22\%$。
英文摘要:
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). 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\%$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。