Sorting on Byte-Addressable Storage: The Resurgence of Tree Structure
Ying Zheng, Kian-Lee Tan
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6f66c9de-62db-48e1-8fb5-bc5adc60c519Builds on16
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz et al.FAST 2020 · 470 citations
- SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid StorageHao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma et al.FAST 2021 · 120 citations
- Characterizing and Modeling Non-Volatile Memory SystemsZixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis et al.MICRO 2020 · 88 citations
- NBTree: a Lock-free PM-friendly Persistent B+-Tree for eADR-enabled PM SystemsBowen Zhang, Shengan Zheng, Zhenlin Qi, Linpeng HuangVLDB 2022 · 41 citations
- Maximizing Persistent Memory Bandwidth Utilization for OLAP WorkloadsBjörn Daase, Lars Jonas Bollmeier, Lawrence Benson, Tilmann RablSIGMOD 2021 · 38 citations
Related papers
- WiscSort: External Sorting For Byte-Addressable StorageVinay Banakar, Kan Wu, Yuvraj Patel, Kimberly Keeton et al.VLDB 2023 · 11 citations
- B-Trees Are Back: Engineering Fast and Pageable Node LayoutsMarcus Müller, Lawrence Benson, Viktor LeisSIGMOD 2025 · 5 citations
- Boosting Write Performance of KV Stores: An NVM - Enabled Storage Collaboration ApproachYi Wang, Jiajian He, Kaoyi Sun, Yunhao Dong et al.ICDE 2024 · 6 citations
- Bonsai: High-Performance Adaptive Merge Tree SortingNikola Samardzic, Weikang Qiao, Vaibhav Aggarwal, Mau-Chung Frank Chang et al.ISCA 2020 · 51 citations
- 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 et al.ICDE 2025 · 2 citations
