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

范围作为键是关键!基于RASK的快速且紧凑的云块存储索引

"Range as a Key" is the Key! Fast and Compact Cloud Block Store Index with RASK

Shanghai Jiao Tong University(上海交通大学);Alibaba Group(阿里巴巴集团)

Haoru Zhao, Mingkai Dong, Erci Xu, Zhongyu Wang, Haibo Chen

AI总结:

RASK通过直接索引块范围,显著降低内存占用并提升性能,适用于云存储环境。

摘要:

在云块存储中,索引是I/O操作的关键路径,通常位于内存中。随着用户规模的扩大和更密集的存储介质的出现,索引已成为主要的内存消费者,导致内存压力。我们对生产跟踪的深入分析表明,写请求倾向于针对云存储系统中的连续块范围。因此,与当前的按块索引相比,我们的洞察是应直接索引块范围(即范围作为键)以节省内存。在本文中,我们提出了RASK,一种内存高效且高性能的树状索引,能够原生索引范围。虽然范围作为键有潜力节省内存和提高性能,但实现这一想法具有挑战性,因为存在范围重叠和范围碎片化的问题。为高效处理范围重叠,RASK引入了日志结构化叶节点,结合范围定制的搜索和垃圾回收。为减少范围碎片化,RASK采用了范围感知的分裂和合并机制。我们的评估表明,在四个生产跟踪上,RASK将内存占用减少了高达98.9%,并相比十种最先进的索引提高了高达31.0倍的吞吐量。

英文摘要:

In cloud block store, indexing is on the critical path of I/O operations and typically resides in memory. With the scaling of users and the emergence of denser storage media, the index has become a primary memory consumer, causing memory strain. Our extensive analysis of production traces reveals that write requests exhibit a strong tendency to target continuous block ranges in cloud storage systems. Thus, compared to current per-block indexing, our insight is that we should directly index block ranges (i.e., range-as-a-key) to save memory. In this paper, we propose RASK, a memory-efficient and high-performance tree-structured index that natively indexes ranges. While range-as-a-key offers the potential to save memory and improve performance, realizing this idea is challenging due to the range overlap and range fragmentation issues. To handle range overlap efficiently, RASK introduces the log-structured leaf, combined with range-tailored search and garbage collection. To reduce range fragmentation, RASK employs range-aware split and merge mechanisms. Our evaluations on four production traces show that RASK reduces memory footprint by up to 98.9% and increases throughput by up to 31.0x compared to ten state-of-the-art indexes.

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

↑