CrocSort: Resource-Efficient, Skew-Resilient Parallel External Merge Sort
Riki Otaki, Charles Benello, Fuheng Zhao, Aaron J. Elmore, Goetz Graefe
摘要
Sorting is a core operator in large-scale data systems. As data increasingly exceeds main memory, external merge sort is essential, yet many implementations over-allocate memory and over-parallelize, decreasing efficiency. We present CrocSort , a byte-balanced parallel external merge sort with configurable memory and per-phase thread settings. Using analysis and experiments, we derive practical resource-configuration rules for selecting these settings from input size, memory budget, and thread cap. To balance parallel merge under skew, CrocSort reuses run sparse indexes for range partitioning to create a virtual total order over records. CrocSort also uses offset-value codes and related optimizations to reduce comparison work and, for prefix-redundant workloads, intermediate I/O volume. Across TPC-H and synthetic workloads on modern NVMe systems, CrocSort completes sorting at memory budgets where production systems abort, and the planner reduces unnecessary resource allocation compared to the greedy maximal approach across both tight- and ample-memory regimes.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper7
- The Case for a Learned Sorting AlgorithmAni Kristo, Kapil Vaidya, Ugur Çetintemel, Sanchit Misra 等SIGMOD 2020 · 被引用 47 次
- KLL±: Approximate Quantile Sketches over Dynamic DatasetsFuheng Zhao, Sujaya Maiyya, Ryan Weiner, Divy Agrawal 等VLDB 2021 · 被引用 36 次
- Towards Cost-Optimal Query Processing in the CloudViktor Leis, Maximilian KuschewskiVLDB 2021 · 被引用 34 次
- SpaceSaving± An Optimal Algorithm for Frequency Estimation and Frequent items in the Bounded Deletion ModelFuheng Zhao, Divy Agrawal, Amr El Abbadi, Ahmed MetwallyVLDB 2022 · 被引用 22 次
- WiscSort: External Sorting For Byte-Addressable StorageVinay Banakar, Kan Wu, Yuvraj Patel, Kimberly Keeton 等VLDB 2023 · 被引用 11 次
相关 Paper
- Origami: A High-Performance Mergesort FrameworkArif Arman, Dmitri LoguinovVLDB 2022 · 被引用 3 次
- Bonsai: High-Performance Adaptive Merge Tree SortingNikola Samardzic, Weikang Qiao, Vaibhav Aggarwal, Mau-Chung Frank Chang 等ISCA 2020 · 被引用 51 次
- Budget-Conscious Fine-Grained Configuration Optimization for Spatio-Temporal ApplicationsKeven Richly, Rainer Schlosser, Martin BoissierVLDB 2022 · 被引用 3 次
- Saving Private Hash JoinLaurens Kuiper, Paul Gross, Peter Boncz, Hannes MühleisenVLDB 2025
- Robust and Budget-Constrained Encoding Configurations for In-Memory Database SystemsMartin BoissierVLDB 2022 · 被引用 17 次
