Parallel Integer Sort: Theory and Practice

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Dong, Xiaojun, Dhulipala, Laxman, Gu, Yan, Sun, Yihan
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911685984387072
author Dong, Xiaojun
Dhulipala, Laxman
Gu, Yan
Sun, Yihan
author_facet Dong, Xiaojun
Dhulipala, Laxman
Gu, Yan
Sun, Yihan
contents Integer sorting is a fundamental problem in computer science. This paper studies parallel integer sort both in theory and in practice. In theory, we show tighter bounds for a class of existing practical integer sort algorithms, which provides a solid theoretical foundation for their widespread usage in practice and strong performance. In practice, we design a new integer sorting algorithm, \textsf{DovetailSort}, that is theoretically-efficient and has good practical performance. In particular, \textsf{DovetailSort} overcomes a common challenge in existing parallel integer sorting algorithms, which is the difficulty of detecting and taking advantage of duplicate keys. The key insight in \textsf{DovetailSort} is to combine algorithmic ideas from both integer- and comparison-sorting algorithms. In our experiments, \textsf{DovetailSort} achieves competitive or better performance than existing state-of-the-art parallel integer and comparison sorting algorithms on various synthetic and real-world datasets.
format Preprint
id arxiv_https___arxiv_org_abs_2401_00710
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Parallel Integer Sort: Theory and Practice
Dong, Xiaojun
Dhulipala, Laxman
Gu, Yan
Sun, Yihan
Data Structures and Algorithms
Distributed, Parallel, and Cluster Computing
Integer sorting is a fundamental problem in computer science. This paper studies parallel integer sort both in theory and in practice. In theory, we show tighter bounds for a class of existing practical integer sort algorithms, which provides a solid theoretical foundation for their widespread usage in practice and strong performance. In practice, we design a new integer sorting algorithm, \textsf{DovetailSort}, that is theoretically-efficient and has good practical performance. In particular, \textsf{DovetailSort} overcomes a common challenge in existing parallel integer sorting algorithms, which is the difficulty of detecting and taking advantage of duplicate keys. The key insight in \textsf{DovetailSort} is to combine algorithmic ideas from both integer- and comparison-sorting algorithms. In our experiments, \textsf{DovetailSort} achieves competitive or better performance than existing state-of-the-art parallel integer and comparison sorting algorithms on various synthetic and real-world datasets.
title Parallel Integer Sort: Theory and Practice
topic Data Structures and Algorithms
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2401.00710