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

多队列SSD I/O建模及其对数据结构设计的影响

Multi-Queue SSD I/O Modeling & Its Implications for Data Structure Design

Erin Ransom, Andrew Lim, Michael Mitzenmacher

AI总结:

本文提出多队列SSD(MQSSD)模型,更准确地抽象现代存储硬件性能,并应用于LSM树存储引擎优化,通过RocksDB实验验证了并发访问的重要性。

摘要:

由于寻道时间、缓存、调度、并发访问、闪存磨损和垃圾回收等因素,理解存储设备的性能特征以及如何最好地利用它们一直是一项具有挑战性的任务。然而,提供存储性能简化抽象的分析框架在评估外部内存算法和数据结构的设阶段仍然足够准确。例如,磁盘访问机器(DAM)模型假设存储设备以固定大小的块B传输数据,并且所有传输具有单位延迟。这种抽象已经足以解释B树和日志结构合并树(LSM树)等数据结构的一些优势;然而,存储技术的进步显著降低了当前模型的准确性和实用性。本文介绍了多队列固态硬盘(MQSSD)模型,一种新的存储抽象。该模型建立在先前模型的基础上,旨在更准确地表示现代存储硬件的性能特征。我们识别了现代多队列固态硬盘的关键性能关键方面,并基于此构建模型,并在实际硬件上演示这些特征。然后,我们展示了如何将我们的模型应用于基于LSM树的存储引擎,以针对现代存储硬件进行优化。我们强调利用并发访问对于充分利用多队列SSD的高吞吐量至关重要,从而能够实现传统范式下看似反直觉的设计。然后,我们通过使用Facebook基于LSM树的键值存储RocksDB进行的实验验证了这些见解。我们得出结论,MQSSD模型比以前的模型提供了对现代硬件更准确的抽象,从而允许更深入的洞察和优化。

英文摘要:

Understanding the performance profiles of storage devices and how best to utilize them has always been non-trivial due to factors such as seek times, caching, scheduling, concurrent access, flash wear-out, and garbage collection. However, analytical frameworks that provide simplified abstractions of storage performance can still be accurate enough to evaluate external memory algorithms and data structures at the design stage. For example, the Disk Access Machine (DAM) model assumes that a storage device transfers data in fixed-size blocks of size B and that all transfers have unit latency. This abstraction is already sufficient to explain some of the benefits of data structures such as B-trees and Log-Structured Merge trees (LSM trees); however, storage technology advances have significantly reduced current models' accuracy and utility. This paper introduces the Multi-Queue Solid State Drive (MQSSD) model, a new storage abstraction. This model builds upon previous models and aims to more accurately represent the performance characteristics of modern storage hardware. We identify key performance-critical aspects of modern multi-queue solid-state drives on which we base our model and demonstrate these characteristics on actual hardware. We then show how our model can be applied to LSM-tree-based storage engines to optimize them for modern storage hardware. We highlight that leveraging concurrent access is crucial for fully utilizing the high throughput of multi-queue SSDs, enabling designs that may appear counterintuitive under traditional paradigms We then validate these insights through experiments using Facebook's LSM-tree-based key-value store, RocksDB. We conclude that the MQSSD model offers a more accurate abstraction of modern hardware than previous models, allowing for greater insight and optimization.

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

↑