Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated Memory
Authors:
Top Cited Papers
Open Access
- 10 June 2022
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGMOD Record
- Vol. 52 (1) , 1033-1048
Abstract
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 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.Keywords
Funding Information
- Huawei (YBN2019125112)
- The National Natural Science Foundation of China (61832011)
- The National Natural Science Foundation of China (62022051)
This publication has 48 references indexed in Scilit:
- Is Memory Disaggregation Feasible?2016
- The end of slow networksProceedings of the VLDB Endowment, 2016
- Fast in-memory transaction processing using RDMA and HTM2015
- The Machine2015
- Rack-Scale In-Memory Join Processing using RDMA2015
- Staring into the abyssProceedings of the VLDB Endowment, 2014
- Speedy transactions in multicore in-memory databases2013
- Cache craftiness for fast multicore key-value storage2012
- A survey of B-tree locking techniquesACM Transactions on Database Systems, 2010
- Efficient locking for concurrent operations on B-treesACM Transactions on Database Systems, 1981