arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.00327cs.AR
收藏

内存内搜索(SiM):在SSD的NAND闪存芯片中实现可靠、通用且高效的数据匹配以加速数据索引

Search-in-Memory (SiM): Reliable, Versatile, and Efficient Data Matching in SSD's NAND Flash Memory Chip for Data Indexing Acceleration

Yun-Chih Chen, Yuan-Hao Chang, Tei-Wei Kuo

AI总结:

本文提出Search-in-Memory(SiM)芯片,通过在NAND闪存芯片内直接执行数据过滤和按位并行匹配,利用灵活的SIMD命令接口卸载索引搜索,实现写密集型工作负载高达9倍加速和45%能耗节省。

摘要:

为了索引日益增长的数据量,现代数据索引通常存储在SSD上并缓存在DRAM中。然而,由于访问局部性有限和缓存利用率低下,搜索此类索引已导致显著的I/O流量。索引搜索的核心操作是过滤大量数据跨度以隔离出小的相关子集,这涉及基本的相等性测试,而非现代CPU提供的复杂算术运算。本文介绍了Search-in-Memory(SiM)芯片,该芯片证明了直接在NAND闪存芯片内执行数据过滤的可行性,仅传输相关搜索结果而非完整页面。我们不是添加复杂电路,而是提议重新利用现有电路进行高效且准确的按位并行匹配。我们展示了不同的数据结构如何使用我们灵活的SIMD命令接口来卸载索引搜索。该策略不仅将CPU释放出来用于计算要求更高的任务,而且还优化了DRAM用于写缓冲的使用,显著降低了与CPU和DRAM之间I/O传输相关的能耗。在广泛的工作负载上进行的广泛测试表明,在写密集型工作负载中实现了高达9倍的加速,并且由于减少了读写I/O,实现了高达45%的能耗节省。此外,我们在中位数和尾部读取延迟方面分别实现了高达89%和85%的显著降低。

英文摘要:

To index the increasing volume of data, modern data indexes are typically stored on SSDs and cached in DRAM. However, searching such an index has resulted in significant I/O traffic due to limited access locality and inefficient cache utilization. At the heart of index searching is the operation of filtering through vast data spans to isolate a small, relevant subset, which involves basic equality tests rather than the complex arithmetic provided by modern CPUs. This paper introduces the Search-in-Memory (SiM) chip, which demonstrates the feasibility of performing data filtering directly within a NAND flash memory chip, transmitting only relevant search results rather than complete pages. Instead of adding complex circuits, we propose repurposing existing circuitry for efficient and accurate bitwise parallel matching. We demonstrate how different data structures can use our flexible SIMD command interface to offload index searches. This strategy not only frees up the CPU for more computationally demanding tasks, but it also optimizes DRAM usage for write buffering, significantly lowering energy consumption associated with I/O transmission between the CPU and DRAM. Extensive testing across a wide range of workloads reveals up to a 9X speedup in write-heavy workloads and up to 45% energy savings due to reduced read and write I/O. Furthermore, we achieve significant reductions in median and tail read latencies of up to 89% and 85% respectively.

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

↑