A Parallel Triple-Pivot Sorting (PTPSort) Algorithm: Preliminary Results

Loading...
Thumbnail Image

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Parallel or multithreaded sorting algorithms can be useful for data science/analytics and other applications for manycore CPU systems. A Parallel Triple Pivot Sort (PTPSort) is devised based on the Hoare's partition algorithm. The input array is initially partitioned with two pivots, PLo and PHi in parallel with two threads. Subsequently, the middle pivot, PMi, is applied resulting in approximately two halves. Finally, four subarrays can be obtained from two independent threads partitioning each leftover half with PLo and PHi, respectively. The process is recursively forked as threads until the subarray is shorter than a cutoff threshold and then STLSorted in parallel. However, its preliminary execution time is a bit longer than that of our benchmark, a parallel original Hoare's algorithm, on a 24-thread AMD ThreadRipper 2920x Linux system.

Description

Keywords

multithread, OpenMP, parallel, Sort, Triple Pivot

Citation

17th International Conference on Electrical Engineering Electronics Computer Telecommunications and Information Technology Ecti Con 2020, 59-62, 2020

Collections

Endorsement

Review

Supplemented By

Referenced By