Sorting on Byte-Addressable Storage: The Resurgence of Tree Structure
Ying Zheng, Kian-Lee Tan
摘要
The tree structure is notably popular for storage and indexing; however, tree-based sorting such as tree sort is rarely used in practice. Nevertheless, with the advent of byte-addressable storage (BAS), the tree structure captures our attention with its write-once property. This property aligns well with BAS's asymmetric read-write characteristics. In this paper, we seek to answer the question: Can tree-based sorting algorithms outperform existing algorithms in the hybrid DRAM-BAS system? To address this, first, we conduct a comprehensive study to assess the compatibility of existing sorting algorithms with such hybrid memory systems and explore the challenges. We then delve into various design dimensions of tree-sort algorithms which leads to an optimized variant, TSort. Finally, a comparative analysis is conducted among three different sets of sorting algorithms, including in-place sorts, external sorts, and tree-based sorts. The results indicate that TSort not only challenges the traditional negative perceptions of the tree structure in sorting but also exhibits excellent performance. It outperforms all other counterparts across diverse datasets, whether uniformly distributed or skewed, in most cases.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Maximizing Persistent Memory Bandwidth Utilization for OLAP Workloads 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Characterizing and Modeling Non-Volatile Memory Systems 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM Systems 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM Systems 引用了 Characterizing and Modeling Non-Volatile Memory Systems
它引用的 Paper16
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
- SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid StorageHao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma 等FAST 2021 · 120 次引用
- Characterizing and Modeling Non-Volatile Memory SystemsZixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis 等MICRO 2020 · 88 次引用
- NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM SystemsBowen Zhang, Shengan Zheng, Zhenlin Qi, Linpeng HuangVLDB 2022 · 41 次引用
- Maximizing Persistent Memory Bandwidth Utilization for OLAP WorkloadsBjörn Daase, Lars Jonas Bollmeier, Lawrence Benson, Tilmann RablSIGMOD 2021 · 38 次引用
相关 Paper
- WiscSort: External Sorting For Byte-Addressable StorageVinay Banakar, Kan Wu, Yuvraj Patel, Kimberly Keeton 等VLDB 2023 · 11 次引用
- B-Trees Are Back: Engineering Fast and Pageable Node LayoutsMarcus Müller, Lawrence Benson, Viktor LeisSIGMOD 2025 · 5 次引用
- Boosting Write Performance of KV Stores: An NVM - Enabled Storage Collaboration ApproachYi Wang, Jiajian He, Kaoyi Sun, Yunhao Dong 等ICDE 2024 · 6 次引用
- Bonsai: High-Performance Adaptive Merge Tree SortingNikola Samardzic, Weikang Qiao, Vaibhav Aggarwal, Mau-Chung Frank Chang 等ISCA 2020 · 51 次引用
- BL-Tree: The Best of Both Worlds by Combining B+- Tree on Top and LSM - Tree on BottomSuzhen Wu, Zuocheng Wang, Shengzhe Wang, Jiahong Chen 等ICDE 2025 · 2 次引用
