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%.
Device-Level Optimization Techniques for Solid-State Drives: A Survey
Tsinghua University(清华大学);Wuhan University of Technology(武汉理工大学);Huazhong University of Science and Technology(华中科技大学);Xiamen University(厦门大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
RSSD: Defend against Ransomware with Hardware-Isolated Network-Storage Codesign and Post-Attack Analysis
加密勒索软件已经成为臭名昭著的恶意软件。它对固态硬盘(SSD)等存储设备上的用户数据进行加密,并要求赎金为用户恢复数据。为了绕过现有的防御,勒索软件将不断发展并执行新的攻击模式。例如,我们识别并验证了三种新的攻击,包括(1)垃圾收集(GC)攻击,利用存储容量并不断写入数据以触发GC并迫使SSD释放保留的数据;(2)定时攻击,故意减慢加密数据的速度并隐藏其I/O模式以逃避现有的防御;(3)利用SSD中可用的修剪命令来物理擦除数据的修剪攻击。为了增强SSD对这些攻击的鲁棒性,我们提出了RSSD,一种勒索软件感知的SSD。它重新设计了SSD的闪存管理,以实现硬件辅助日志记录,可以以较低的开销按时间顺序保守地保留旧版本的用户数据和接收的存储操作。它还采用硬件隔离的NVMe over Ethernet,通过以安全的方式将日志透明地卸载到远程云/服务器来扩展本地存储容量。RSSD通过构建存储操作的可信证据链来支持攻击后分析,以协助调查勒索软件攻击。我们用一个真实的SSD FPGA板开发RSSD。我们的评估表明,RSSD可以抵御新的和未来的勒索软件攻击,同时引入可忽略不计的性能开销。