{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,7,1]],"date-time":"2025-07-01T10:33:00Z","timestamp":1751365980665},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"6","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2024,2]]},"abstract":"<jats:p>\n            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,\n            <jats:italic>TSort.<\/jats:italic>\n            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.\n          <\/jats:p>","DOI":"10.14778\/3648160.3648185","type":"journal-article","created":{"date-parts":[[2024,5,3]],"date-time":"2024-05-03T21:52:53Z","timestamp":1714773173000},"page":"1487-1500","update-policy":"http:\/\/dx.doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Sorting on Byte-Addressable Storage: The Resurgence of Tree Structure"],"prefix":"10.14778","volume":"17","author":[{"given":"Ying","family":"Zheng","sequence":"first","affiliation":[{"name":"National University of Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kian-Lee","family":"Tan","sequence":"additional","affiliation":[{"name":"National University of Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2024,5,3]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Samsung Shows Off CXL Server Memory Expander. https:\/\/www.nextplatform.com\/2022\/08\/23\/samsung-shows-off-cxl-server-memory-expander\/ [Last accessed on","year":"2023","unstructured":"2022. Samsung Shows Off CXL Server Memory Expander. https:\/\/www.nextplatform.com\/2022\/08\/23\/samsung-shows-off-cxl-server-memory-expander\/ [Last accessed on June 24, 2023]."},{"key":"e_1_2_1_2_1","volume-title":"http:\/\/sortbenchmark.org\/ [Last accessed on","author":"Benchmark Sort","year":"2023","unstructured":"2023. Sort Benchmark. http:\/\/sortbenchmark.org\/ [Last accessed on June 24, 2023]."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3448016.3457256"},{"key":"e_1_2_1_4_1","volume-title":"25th Annual European Symposium on Algorithms","volume":"87","author":"Axtmann Michael","year":"2017","unstructured":"Michael Axtmann, Sascha Witt, Daniel Ferizovic, and Peter Sanders. 2017. InPlace Parallel Super Scalar Samplesort (IPSSSSo). In 25th Annual European Symposium on Algorithms, Vol. 87. 9:1--9:14."},{"key":"e_1_2_1_5_1","article-title":"Engineering In-Place (Shared-Memory) Sorting Algorithms","volume":"9","author":"Axtmann Michael","year":"2022","unstructured":"Michael Axtmann, Sascha Witt, Daniel Ferizovic, and Peter Sanders. 2022. Engineering In-Place (Shared-Memory) Sorting Algorithms. ACM Trans. Parallel Comput. 9, 1, Article 2 (2022), 62 pages.","journal-title":"ACM Trans. Parallel Comput."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.14778\/3598581.3598585"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF00288683"},{"key":"e_1_2_1_8_1","volume-title":"68th Device Research Conference. 249--252","author":"Chen E.","unstructured":"E. Chen, D. Lottis, A. Driskill-Smith, D. Druist, V. Nikitin, S. Watts, X. Tang, and D. Apalkov. 2010. Non-volatile spin-transfer torque RAM (STT-RAM). In 68th Device Research Conference. 249--252."},{"key":"e_1_2_1_9_1","volume-title":"Cost-Effective LSM-tree Based KV Store on Hybrid Storage. In 19th USENIX Conference on File and Storage Technologies. 17--32","author":"Chen Hao","year":"2021","unstructured":"Hao Chen, Chaoyi Ruan, Cheng Li, Xiaosong Ma, and Yinlong Xu. 2021. SpanDB: A Fast, Cost-Effective LSM-tree Based KV Store on Hybrid Storage. In 19th USENIX Conference on File and Storage Technologies. 17--32."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1013764014000"},{"key":"e_1_2_1_11_1","volume-title":"NVMSorting: Efficient Sorting on Non-Volatile Memory. In The 33rd International Conference on Software Engineering & Knowledge Engineering.","author":"Chu Zhaole","year":"2021","unstructured":"Zhaole Chu, Yongping Luo, Peiquan Jin, and Shouhong Wan. 2021. NVMSorting: Efficient Sorting on Non-Volatile Memory. In The 33rd International Conference on Software Engineering & Knowledge Engineering."},{"key":"e_1_2_1_12_1","volume-title":"Proceedings of the 2021 International Conference on Management of Data. Virtual Event China, 339--351","author":"Daase Bj\u00f6rn","year":"2021","unstructured":"Bj\u00f6rn Daase, Lars Jonas Bollmeier, Lawrence Benson, and Tilmann Rabl. 2021. Maximizing Persistent Memory Bandwidth Utilization for OLAP Workloads. In Proceedings of the 2021 International Conference on Management of Data. Virtual Event China, 339--351."},{"key":"e_1_2_1_13_1","volume-title":"Proceedings of the First International Conference on Parallel and Distributed Information Systems. 280--291","author":"DeWitt David J.","unstructured":"David J. DeWitt, Jeffrey F. Naughton, and Donovan A. Schneider. 1991. Parallel Sorting on a Shared-Nothing Architecture using Probabilistic Splitting. In Proceedings of the First International Conference on Parallel and Distributed Information Systems. 280--291."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3292500.3330691"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/JPROC.2017.2731776"},{"key":"e_1_2_1_16_1","volume-title":"PMSort: An adaptive sorting engine for persistent memory. Journal of Systems Architecture 120","author":"Hua Yifan","year":"2021","unstructured":"Yifan Hua, Kaixin Huang, Shengan Zheng, and Linpeng Huang. 2021. PMSort: An adaptive sorting engine for persistent memory. Journal of Systems Architecture 120 (2021)."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.sysarc.2019.101658"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.14778\/3583140.3583144"},{"key":"e_1_2_1_19_1","volume-title":"Persistent memory development kit. (2023). https:\/\/pmem.io\/pmdk\/ [Last accessed on","year":"2023","unstructured":"Intel. 2023. Persistent memory development kit. (2023). https:\/\/pmem.io\/pmdk\/ [Last accessed on June 24, 2023]."},{"key":"e_1_2_1_20_1","volume-title":"Zixuan Wang, Yi Xu, Subramanya R Dulloor, et al.","author":"Izraelevitz Joseph","year":"2019","unstructured":"Joseph Izraelevitz, Jian Yang, Lu Zhang, Juno Kim, Xiao Liu, Amirsaman Memaripour, Yun Joon Soh, Zixuan Wang, Yi Xu, Subramanya R Dulloor, et al. 2019. Basic performance measurements of the intel optane DC persistent memory module. arXiv preprint arXiv:1903.05714 (2019)."},{"key":"e_1_2_1_21_1","volume-title":"The art of computer systems performance analysis: techniques for experimental design, measurement, simulation, and modeling","author":"Jain Raj","unstructured":"Raj Jain. 1991. The art of computer systems performance analysis: techniques for experimental design, measurement, simulation, and modeling. Vol. 1."},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of the 2023 international conference on Management of data 1, 2, Article 182","author":"Kargar Saeed","year":"2023","unstructured":"Saeed Kargar and Faisal Nawab. 2023. Hamming Tree: The Case for Energy-Aware Indexing for NVMs. Proceedings of the 2023 international conference on Management of data 1, 2, Article 182, 27 pages."},{"key":"e_1_2_1_23_1","volume-title":"Advances in Computers.","author":"Kavi Krishna M","unstructured":"Krishna M Kavi, Ben Lee, and Ali R Hirson. 1998. Multithreaded systems. In Advances in Computers. Vol. 46. 287--328."},{"key":"e_1_2_1_24_1","volume-title":"2018 IEEE 7th Non-Volatile Memory Systems and Applications Symposium (NVMSA). 49--54","author":"Ahmed Khernache Mohammed Bey","year":"2018","unstructured":"Mohammed Bey Ahmed Khernache, Arezki Laga, and Jalil Boukhobza. 2018. MONTRES-NVM: An external sorting algorithm for hybrid memory. In 2018 IEEE 7th Non-Volatile Memory Systems and Applications Symposium (NVMSA). 49--54."},{"key":"e_1_2_1_25_1","volume-title":"The art of computer programming, Volume 3: Sorting and Searching. Addison-Westley","author":"Knuth Donald E","year":"1998","unstructured":"Donald E Knuth. 1998. The art of computer programming, Volume 3: Sorting and Searching. Addison-Westley (1998)."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.14778\/3603581.3603586"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/TC.2017.2706678"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.14778\/3007328.3007331"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.sysarc.2022.102547"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/TCAD.2020.2979819"},{"key":"e_1_2_1_31_1","volume-title":"SMART: A High-Performance Adaptive Radix Tree for Disaggregated Memory. In 17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23)","author":"Luo Xuchuan","year":"2023","unstructured":"Xuchuan Luo, Pengfei Zuo, Jiacheng Shen, Jiazhen Gu, Xin Wang, Michael R. Lyu, and Yangfan Zhou. 2023. SMART: A High-Performance Adaptive Radix Tree for Disaggregated Memory. In 17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23). 553--571."},{"key":"e_1_2_1_32_1","volume-title":"International Conference on Algorithms and Architectures for Parallel Processing. 15--30","author":"Luo Yongping","year":"2020","unstructured":"Yongping Luo, Zhaole Chu, Peiquan Jin, and Shouhong Wan. 2020. Efficient sorting and join on NVM-based hybrid memory. In International Conference on Algorithms and Architectures for Parallel Processing. 15--30."},{"key":"e_1_2_1_33_1","volume-title":"TLBtree: A Read\/Write-Optimized Tree Index for Non-Volatile Memory. In 2021 IEEE 37th International Conference on Data Engineering (ICDE). 1889--1894","author":"Luo Yongping","year":"2021","unstructured":"Yongping Luo, Peiquan Jin, Qinglin Zhang, and Bin Cheng. 2021. TLBtree: A Read\/Write-Optimized Tree Index for Non-Volatile Memory. In 2021 IEEE 37th International Conference on Data Engineering (ICDE). 1889--1894."},{"key":"e_1_2_1_34_1","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-4419-8590-3","volume-title":"Parallel External Sorting. Advanced Database Indexing","author":"Manolopoulos Yannis","year":"2000","unstructured":"Yannis Manolopoulos, Yannis Theodoridis, and Vassilis J Tsotras. 2000. Parallel External Sorting. Advanced Database Indexing (2000), 209--218."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/361254.361259"},{"key":"e_1_2_1_36_1","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-349-08147-9","volume-title":"Binary Tree Sort. Sorting Routines for Microcomputers","author":"McLuckie Keith","year":"1986","unstructured":"Keith McLuckie and Angus Barber. 1986. Binary Tree Sort. Sorting Routines for Microcomputers (1986), 58--67."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3476886.3477517"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-021-00697-y"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1109\/69.553166"},{"key":"e_1_2_1_40_1","volume-title":"LSM-tree Write Amplification Gap on Modern Storage Hardware with Built-in Transparent Compression. In 20th USENIX Conference on File and Storage Technologies. 69--82","author":"Qiao Yifan","year":"2022","unstructured":"Yifan Qiao, Xubin Chen, Ning Zheng, Jiangpeng Li, Yang Liu, and Tong Zhang. 2022. Closing the B+-tree vs. LSM-tree Write Amplification Gap on Modern Storage Hardware with Built-in Transparent Compression. In 20th USENIX Conference on File and Storage Technologies. 69--82."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3320212"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732269.2732277"},{"key":"e_1_2_1_43_1","volume-title":"Proceedings of the 2023 international conference on Management of data 1, 1, Article 105","author":"Wang Ke","year":"2023","unstructured":"Ke Wang, Guanqun Yang, Yiwei Li, Huanchen Zhang, and Mingyu Gao. 2023. When Tree Meets Hash: Reducing Random Reads for Index Structures on Persistent Memories. Proceedings of the 2023 international conference on Management of data 1, 1, Article 105, 26 pages."},{"key":"e_1_2_1_44_1","volume-title":"2020 53rd Annual IEEE\/ACM International Symposium on Microarchitecture (MICRO). 496--508","author":"Wang Zixuan","year":"2020","unstructured":"Zixuan Wang, Xiao Liu, Jian Yang, Theodore Michailidis, Steven Swanson, and Jishen Zhao. 2020. Characterizing and modeling non-volatile memory systems. In 2020 53rd Annual IEEE\/ACM International Symposium on Microarchitecture (MICRO). 496--508."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453965"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/JPROC.2010.2070050"},{"key":"e_1_2_1_47_1","volume-title":"USENIX Annual Technical Conference. 349--362","author":"Xia Fei","year":"2017","unstructured":"Fei Xia, Dejun Jiang, Jin Xiong, and Ninghui Sun. 2017. HiKV: A Hybrid Index Key-Value Store for DRAM-NVM Memory Systems.. In USENIX Annual Technical Conference. 349--362."},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.14778\/3579075.3579077"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.5555\/3386691.3386708"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.14778\/3561261.3561270"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1186\/s11671-020-03299-9"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.14778\/3514061.3514066"},{"key":"e_1_2_1_53_1","volume-title":"Proceedings of the 2001 international conference on Management of data. 425--436","author":"Zhang Chun","year":"2001","unstructured":"Chun Zhang, Jeffrey Naughton, David DeWitt, Qiong Luo, and Guy Lohman. 2001. On supporting containment queries in relational database management systems. In Proceedings of the 2001 international conference on Management of data. 425--436."},{"key":"e_1_2_1_54_1","volume-title":"ODINFS: Scaling PM Performance with Opportunistic Delegation. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI). 179--193","author":"Zhou Diyu","year":"2022","unstructured":"Diyu Zhou, Yuchen Qian, Vishal Gupta, Zhifei Yang, Changwoo Min, and Sanidhya Kashyap. 2022. ODINFS: Scaling PM Performance with Opportunistic Delegation. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI). 179--193."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3648160.3648185","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,5,3]],"date-time":"2024-05-03T22:01:51Z","timestamp":1714773711000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3648160.3648185"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,2]]},"references-count":54,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2024,2]]}},"alternative-id":["10.14778\/3648160.3648185"],"URL":"https:\/\/doi.org\/10.14778\/3648160.3648185","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2024,2]]},"assertion":[{"value":"2024-05-03","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}