arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.05566cs.ARcs.DC
收藏

Flash-Cosmos:使用NAND闪存固有计算能力的闪存内批量按位操作

Flash-Cosmos: In-Flash Bulk Bitwise Operations Using Inherent Computation Capability of NAND Flash Memory

Jisung Park, Roknoddin Azizi, Geraldo F. Oliveira, Mohammad Sadrosadati, Rakesh Nadig, David Novo, Juan Gómez-Luna, Myungsuk Kim, Onur Mutlu

摘要:

批量按位操作,即,在大比特向量上的按位运算在广泛的重要应用领域中是普遍的,包括数据库、图形处理、基因组分析、密码学和超维计算。在常规系统中,批量逐位操作的性能和能量效率由计算单元与存储层次结构之间的数据移动来检验。闪存内处理(即,在NAND闪存芯片内处理数据)具有通过从根本上减少通过整个存储层次结构的数据移动来加速批量逐位操作的高潜力。我们确定了两个关键的限制,国家的最先进的闪存处理技术的批量逐位操作;(i)它没有最大限度地利用批量逐位操作的位级并行;(ii)它是不可靠的,因为它没有考虑的高度容易出错的性质的NAND闪存。我们提出了闪存宇宙(闪存计算与单次多操作数传感),一种新的闪存处理技术,显着提高批量逐位操作的性能和能源效率,同时提供高可靠性。Flash-Cosmos引入了两种可以在现代NAND闪存芯片中轻松支持的关键机制:(i)多字线感测(MWS),它可以通过单个感测操作对大量操作数进行批量逐位操作,以及(ii)增强型SLC模式编程(ESP),它可以在NAND闪存内进行可靠的计算。我们通过测试160个真实的3D NAND闪存芯片,证明了在Flash-Cosmos中执行高可靠性批量按位操作的可行性。我们的评估表明,Flash-Cosmos在三个实际应用中将平均性能和能效分别提高了3.5倍/32倍和3.3倍/95倍,超过了最先进的闪存/外部存储处理技术。

英文摘要:

Bulk bitwise operations, i.e., bitwise operations on large bit vectors, are prevalent in a wide range of important application domains, including databases, graph processing, genome analysis, cryptography, and hyper-dimensional computing. In conventional systems, the performance and energy efficiency of bulk bitwise operations are bottlenecked by data movement between the compute units and the memory hierarchy. In-flash processing (i.e., processing data inside NAND flash chips) has a high potential to accelerate bulk bitwise operations by fundamentally reducing data movement through the entire memory hierarchy. We identify two key limitations of the state-of-the-art in-flash processing technique for bulk bitwise operations; (i) it falls short of maximally exploiting the bit-level parallelism of bulk bitwise operations; (ii) it is unreliable because it does not consider the highly error-prone nature of NAND flash memory. We propose Flash-Cosmos (Flash Computation with One-Shot Multi-Operand Sensing), a new in-flash processing technique that significantly increases the performance and energy efficiency of bulk bitwise operations while providing high reliability. Flash-Cosmos introduces two key mechanisms that can be easily supported in modern NAND flash chips: (i) Multi-Wordline Sensing (MWS), which enables bulk bitwise operations on a large number of operands with a single sensing operation, and (ii) Enhanced SLC-mode Programming (ESP), which enables reliable computation inside NAND flash memory. We demonstrate the feasibility of performing bulk bitwise operations with high reliability in Flash-Cosmos by testing 160 real 3D NAND flash chips. Our evaluation shows that Flash-Cosmos improves average performance and energy efficiency by 3.5x/32x and 3.3x/95x, respectively, over the state-of-the-art in-flash/outside-storage processing techniques across three real-world applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑