Sherman:一种基于非聚集存储器的写优化分布式B+树索引
Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory
摘要:
内存解聚体系结构将CPU和内存物理分离为独立的组件,通过高速RDMA网络连接,大大提高了数据库的资源利用率。然而,这样的体系结构对数据库中的数据索引提出了独特的挑战,这是由于有限的RDMA语义和存储器侧接近零的计算能力。现有的索引支持分散的内存,要么遭受低写性能,或需要硬件修改。本文介绍了谢尔曼,写优化的分布式B+树索引的分散内存,提供高性能的商品RDMA存储器。Sherman结合了RDMA硬件功能和对RDMA友好的软件技术,从三个角度提高了索引写入性能。首先,为了减少往返,Sherman通过利用RDMA的按顺序传递属性来合并依赖的RDMA命令。第二,为了加速并发访问,Sherman引入了一种分层锁,利用了RDMA的片上存储器。最后,为了减轻写入放大,Sherman使用两级版本机制来定制B + Tree的数据结构布局。我们的评估表明,谢尔曼是一个数量级更快的吞吐量和第99百分位延迟典型的写密集型工作负载,与最先进的设计相比。
英文摘要:
Memory disaggregation architecture physically separates CPU and memory into independent components, which are connected via high-speed RDMA networks, greatly improving resource utilization of databases. However, such an architecture poses unique challenges to data indexing in databases due to limited RDMA semantics and near-zero computation power at memory-side. Existing indexes supporting disaggregated memory either suffer from low write performance, or require hardware modification. This paper presents Sherman, a write-optimized distributed B+Tree index on disaggregated memory that delivers high performance with commodity RDMA NICs. Sherman combines RDMA hardware features and RDMA-friendly software techniques to boost index write performance from three angles. First, to reduce round trips, Sherman coalesces dependent RDMA commands by leveraging in-order delivery property of RDMA. Second, to accelerate concurrent accesses, Sherman introduces a hierarchical lock that exploits on-chip memory of RDMA NICs. Finally, to mitigate write amplification, Sherman tailors the data structure layout of B+Tree with a two-level version mechanism. Our evaluation shows that, Sherman is one order of magnitude faster in terms of both throughput and 99th percentile latency on typical write-intensive workloads, compared with state-of-the-art designs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。