Repository logo
Communities & Collections
Research Outputs
Fundings & Projects
People
Statistics
New user? Click here to register.Have you forgotten your password?
  1. Home
  2. KMITL
  3. Publication
  4. A Parallel Triple-Pivot Sorting (PTPSort) Algorithm: Preliminary Results
Loading...
Thumbnail Image

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

Author(s)
Rattanatranurak, Apisit
Kittitornkun, Surin
Date Issued
June 1, 2020
Type
Conference Paper
DOI
10.1109/ECTI-CON49241.2020.9158215
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.
Citation
17th International Conference on Electrical Engineering Electronics Computer Telecommunications and Information Technology Ecti Con 2020, 59-62, 2020
Subjects

multithread

OpenMP

parallel

Sort

Triple Pivot

Metrics
Get Involved!
  • Source Code
  • Documentation
  • Slack Channel
Make it your own

DSpace-CRIS can be extensively configured to meet your needs. Decide which information need to be collected and available with fine-grained security. Start updating the theme to match your Institution's web identity.

Need professional help?

The original creators of DSpace-CRIS at 4Science can take your project to the next level, get in touch!

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science

  • Accessibility settings
  • Privacy policy
  • End User Agreement
  • Send Feedback