arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.06938cs.AR
收藏

TCAM-SSD:固态硬盘中基于搜索的计算框架

TCAM-SSD: A Framework for Search-Based Computing in Solid-State Drives

Ryan Wong, Nikita Kim, Kevin Higgs, Sapan Agarwal, Engin Ipek, Saugata Ghose, Ben Feinberg

AI总结:

针对数据移动带来的性能能耗问题,提出仅需轻量修改SSD外围与固件的TCAM-SSD存储内计算框架,通过搜索管理器与链接表实现搜索与存储分区,兼容NVMe接口,在事务数据库、数据库分析、图分析场景均取得显著加速效果。

摘要:

随着社会产生的数据量持续呈指数级增长,现代应用因CPU与内存/存储之间大量的数据移动,正面临显著的性能损耗与能耗代价。尽管主存内处理能够缓解这些损耗,但将大型数据集完全保存在主存中正变得愈发困难,这推动了近期存储内计算的研究热潮,即直接在存储设备内部执行处理操作。\n我们提出TCAM-SSD,这是一种在传统固态硬盘(SSD)的NAND闪存阵列内部实现基于搜索的计算的全新框架,仅需对阵列外围电路和固件进行轻量级修改。TCAM-SSD引入了搜索管理器与链接表,可将NAND闪存中的内容在逻辑上划分为支持搜索的区域与标准存储区域。这些轻量的固件改动相结合,使TCAM-SSD除了支持新增的搜索操作外,还能无缝处理块I/O操作,从而缩短端到端执行时间、减少总数据移动量。我们提供了兼容NVMe的接口,让程序员能够动态分配数据并使用TCAM-SSD,使该系统可被广泛的各类应用所利用。我们评估了TCAM-SSD的三个示例用例以验证其优势:在事务型数据库场景中,TCAM-SSD可缓解大型数据集应用的性能损耗,相较于从SSD读取数据再由CPU计算的传统系统,实现了60.9%的速度提升;在数据库分析场景中,针对一组分析查询,TCAM-SSD的平均速度是传统系统的17.7倍;在图分析场景中,我们将TCAM-SSD的关联搜索与稀疏数据结构相结合,将超内存数据集的图计算速度提升了14.5%。

英文摘要:

As the amount of data produced in society continues to grow at an exponential rate, modern applications are incurring significant performance and energy penalties due to high data movement between the CPU and memory/storage. While processing in main memory can alleviate these penalties, it is becoming increasingly difficult to keep large datasets entirely in main memory. This has led to a recent push for in-storage computation, where processing is performed inside the storage device. We propose TCAM-SSD, a new framework for search-based computation inside the NAND flash memory arrays of a conventional solid-state drive (SSD), which requires lightweight modifications to only the array periphery and firmware. TCAM-SSD introduces a search manager and link table, which can logically partition the NAND flash memory's contents into search-enabled regions and standard storage regions. Together, these light firmware changes enable TCAM-SSD to seamlessly handle block I/O operations, in addition to new search operations, thereby reducing end-to-end execution time and total data movement. We provide an NVMe-compatible interface that provides programmers with the ability to dynamically allocate data on and make use of TCAM-SSD, allowing the system to be leveraged by a wide variety of applications. We evaluate three example use cases of TCAM-SSD to demonstrate its benefits. For transactional databases, TCAM-SSD can mitigate the performance penalties for applications with large datasets, achieving a 60.9% speedup over a conventional system that retrieves data from the SSD and computes using the CPU. For database analytics, TCAM-SSD provides an average speedup of 17.7x over a conventional system for a collection of analytical queries. For graph analytics, we combine TCAM-SSD's associative search with a sparse data structure, speeding up graph computing for larger-than-memory datasets by 14.5%.

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

↑