RMG Sort: Radix-Partitioning-Based Multi-GPU Sorting
Zusammenfassung
In recent years, graphics processing units (GPUs) emerged as database accelerators due to their massive parallelism and high-bandwidth memory. Sorting is a core database operation with many applications, such as output ordering, index creation, grouping, and sort-merge joins. Many single-GPU sorting algorithms have been shown to outperform highly parallel CPU algorithms. Today's systems include multiple GPUs with direct high-bandwidth peer-to-peer (P2P) interconnects. However, previous multi-GPU sorting algorithms do not efficiently harness the P2P transfer capability of modern interconnects, such as NVLink and NVSwitch.In this paper, we propose RMG sort, a novel radix partitioning-based multi-GPU sorting algorithm. We present a most-significant-bit partitioning strategy that efficiently utilizes high-speed P2P interconnects while reducing inter-GPU communication. Independent of the number of GPUs, we exchange radix partitions between the GPUs in one all-to-all P2P swap. We evaluate RMG sort on two modern multi-GPU systems. Our experiments show that RMG sort scales well with the number of GPUs and outperforms a parallel CPU-based sort by up to 20x. Compared to two state-of-the-art merge-based multi-GPU sorting algorithms, we achieve speedups of up to 1.3x and 1.8x across both systems.
- Vollständige Referenz
- BibTeX
Ilic, I., Tolovski, I. & Rabl, T.,
(2023).
RMG Sort: Radix-Partitioning-Based Multi-GPU Sorting.
In:
König-Ries, B., Scherzinger, S., Lehner, W. & Vossen, G.
(Hrsg.),
BTW 2023.
Gesellschaft für Informatik e.V..
DOI: 10.18420/BTW2023-15
@inproceedings{mci/Ilic2023,
author = {Ilic, Ivan AND Tolovski, Ilin AND Rabl, Tilmann},
title = {RMG Sort: Radix-Partitioning-Based Multi-GPU Sorting},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-15 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
author = {Ilic, Ivan AND Tolovski, Ilin AND Rabl, Tilmann},
title = {RMG Sort: Radix-Partitioning-Based Multi-GPU Sorting},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-15 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/BTW2023-15
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
DOI: 10.18420/BTW2023-15
ISBN: 978-3-88579-725-8
Datum: 2023
Sprache:
(en)
(en)
Typ: Text/Conference Paper

