Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

A Novel Hybrid Quicksort Algorithm Vectorized using AVX-512 on Intel Skylake

Author 1: Berenger Bramas
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 8, No. 10 · Published 2017 · Cited by 48

DOI: https://doi.org/10.14569/IJACSA.2017.081044

Abstract

The modern CPU’s design, which is composed of hierarchical memory and SIMD/vectorization capability, governs the potential for algorithms to be transformed into efficient implementations. The release of the AVX-512 changed things radically, and motivated us to search for an efficient sorting algorithm that can take advantage of it. In this paper, we describe the best strategy we have found, which is a novel two parts hybrid sort, based on the well-known Quicksort algorithm. The central partitioning operation is performed by a new algorithm, and small partitions/arrays are sorted using a branch-free Bitonicbased sort. This study is also an illustration of how classical algorithms can be adapted and enhanced by the AVX-512 extension. We evaluate the performance of our approach on a modern Intel Xeon Skylake and assess the different layers of our implementation by sorting/partitioning integers, double floatingpoint numbers, and key/value pairs of integers. Our results demonstrate that our approach is faster than two libraries of reference: the GNU C++ sort algorithm by a speedup factor of 4, and the Intel IPP library by a speedup factor of 1.4.

Keywords

How to Cite this Article

Bramas, B. (2017). A Novel Hybrid Quicksort Algorithm Vectorized using AVX-512 on Intel Skylake. International Journal of Advanced Computer Science and Applications, 8(10). https://doi.org/10.14569/IJACSA.2017.081044

Bramas, Berenger. "A Novel Hybrid Quicksort Algorithm Vectorized using AVX-512 on Intel Skylake." International Journal of Advanced Computer Science and Applications, vol. 8, no. 10, 2017, https://doi.org/10.14569/IJACSA.2017.081044.

@article{Bramas2017,
  title     = {A Novel Hybrid Quicksort Algorithm Vectorized using AVX-512 on Intel Skylake},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {8},
  number    = {10},
  year      = {2017},
  publisher = {The Science and Information Organization},
  author    = {Berenger Bramas},
  doi       = {10.14569/IJACSA.2017.081044},
  url       = {https://doi.org/10.14569/IJACSA.2017.081044}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.