• DocumentCode
    1949089
  • Title

    VSR sort: A novel vectorised sorting algorithm & architecture extensions for future microprocessors

  • Author

    Hayes, Timothy ; Palomar, Oscar ; Unsal, Osman ; Cristal, Adrian ; Valero, Mateo

  • Author_Institution
    Barcelona Supercomput. Center, Barcelona, Spain
  • fYear
    2015
  • fDate
    7-11 Feb. 2015
  • Firstpage
    26
  • Lastpage
    38
  • Abstract
    Sorting is a widely studied problem in computer science and an elementary building block in many of its subfields. There are several known techniques to vectorise and accelerate a handful of sorting algorithms by using single instruction-multiple data (SIMD) instructions. It is expected that the widths and capabilities of SIMD support will improve dramatically in future microprocessor generations and it is not yet clear whether or not these sorting algorithms will be suitable or optimal when executed on them. This work extrapolates the level of SIMD support in future microprocessors and evaluates these algorithms using a simulation framework. The scalability, strengths and weaknesses of each algorithm are experimentally derived. We then propose VSR sort, our own novel vectorised non-comparative sorting algorithm based on radix sort. To facilitate the execution of this algorithm we define two new SIMD instructions and propose a complementary hardware structure for their execution. Our results show that VSR sort has maximum speedups between 14.9x and 20.6x over a scalar baseline and an average speedup of 3.4x over the next-best vectorised sorting algorithm.
  • Keywords
    digital arithmetic; microprocessor chips; parallel architectures; sorting; SIMD instructions; SIMD support; VSR sort; architecture extensions; future microprocessors; hardware structure; microprocessor generations; next-best vectorised sorting algorithm; radix sort; simulation framework; single instruction-multiple data instructions; vectorised noncomparative sorting algorithm; Acceleration; Hardware; Microarchitecture; Microprocessors; Registers; Sorting; Vectors;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computer Architecture (HPCA), 2015 IEEE 21st International Symposium on
  • Conference_Location
    Burlingame, CA
  • Type

    conf

  • DOI
    10.1109/HPCA.2015.7056019
  • Filename
    7056019