Lune

ISCA2020顶会

Bonsai: High-Performance Adaptive Merge Tree Sorting

Nikola Samardzic, Weikang Qiao, Vaibhav Aggarwal, Mau-Chung Frank Chang, Jason Cong

摘要

Sorting is a key computational kernel in many big data applications. Most sorting implementations focus on a specific input size, record width, and hardware configuration. This has created a wide array of sorters that are optimized only to a narrow application domain.

In this work we show that merge trees can be implemented on FPGAs to offer state-of-the-art performance over many problem sizes. We introduce a novel merge tree architecture and develop Bonsai, an adaptive sorting solution that takes into consideration the off-chip memory bandwidth and the amount of on-chip resources to optimize sorting time. FPGA programmability allows us to leverage Bonsai to quickly implement the optimal merge tree configuration for any problem size and memory hierarchy.

Using Bonsai, we develop a state-of-the-art sorter which specifically targets DRAM-scale sorting on AWS EC2 F1 instances. For 4-32 GB array size, our implementation has a minimum of 2.3x, 1.3x, 1.2x and up to 2.5x, 3.7x, 1.3x speedup over the best designs on CPUs, FPGAs, and GPUs, respectively. Our design exhibits 3.3x better bandwidth-efficiency compared to the best previous sorting implementations. Finally, we demonstrate that Bonsai can tune our design over a wide range of problem sizes (megabyte to terabyte) and memory hierarchies including DDR DRAMs, highbandwidth memories (HBMs) and solid-state disks (SSDs).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. OverGen: Improving FPGA Usability through Domain-specific Overlay GenerationSihao Liu, Jian Weng, Dylan Kupsh, Atefeh Sohrabizadeh 等MICRO 2022 · 32 次引用
  2. Memristive Data RankingAnanth Krishna Prasad, Morteza Rezaalipour, Masoud Dehyadegari, Mahdi Nazm BojnordiHPCA 2021 · 20 次引用
  3. MegIS: High-Performance, Energy-Efficient, and Low-Cost Metagenomic Analysis with In-Storage ProcessingNika Mansouri-Ghiasi, Mohammad Sadrosadati, Harun Mustafa, Arvid Gollwitzer 等ISCA 2024 · 15 次引用
  4. BOSS - An Architecture for Database Kernel CompositionHubert Mohr-Daurat, Xuan Sun, Holger PirkVLDB 2024 · 12 次引用
  5. Mckeycutter: A High-throughput Key Generator of Classic McEliece on HardwareYihong Zhu, Wenping Zhu, Chen Chen, Min Zhu 等DAC 2023 · 9 次引用

相关 Paper

  1. Origami: A High-Performance Mergesort FrameworkArif Arman, Dmitri LoguinovVLDB 2022 · 3 次引用
  2. Bonsai: Efficient and Optimal Automatic Tensor Rematerialization for Memory-Constrained DNN TrainingDat Nguyen, Vasudha Devarakonda, Anxiao Jiang, Khanh NguyenOOPSLA 2026
  3. Sorting on Byte-Addressable Storage: The Resurgence of Tree StructureYing Zheng, Kian-Lee TanVLDB 2024 · 2 次引用
  4. MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflowsSiying Feng, Xin He, Kuan-Yu Chen, Liu Ke 等ISCA 2022 · 28 次引用
  5. CrocSort: Resource-Efficient, Skew-Resilient Parallel External Merge SortRiki Otaki, Charles Benello, Fuheng Zhao, Aaron J. Elmore 等VLDB 2026
黄昏的海面,两侧是细线勾勒的悬崖