Back to Search Start Over

FLiMS: a Fast Lightweight 2-way Merger for Sorting

Authors :
Papaphilippou, Philippos
Luk, Wayne
Brooks, Chris
Publication Year :
2021

Abstract

In this paper, we present FLiMS, a highly-efficient and simple parallel algorithm for merging two sorted lists residing in banked and/or wide memory. On FPGAs, its implementation uses fewer hardware resources than the state-of-the-art alternatives, due to the reduced number of comparators and elimination of redundant logic found on prior attempts. In combination with the distributed nature of the selector stage, a higher performance is achieved for the same amount of parallelism or higher. This is useful in many applications such as in parallel merge trees to achieve high-throughput sorting, where the resource utilisation of the merger is critical for building large trees and internalising the workload for fast computation. Also presented are efficient variations of FLiMS for optimizing throughput for skewed datasets, achieving stable sorting or using fewer dequeue signals. Additionally, FLiMS is shown to perform well as conventional software on modern CPUs supporting single-instruction multiple-data (SIMD) instructions, surpassing the performance of some standard libraries for sorting.<br />Comment: Accepted for publication in the IEEE Transactions on Computers. Extension of the similarly-named FPT 2018 paper, with additional functionality variations, comparisons and experiments

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2112.05607
Document Type :
Working Paper
Full Text :
https://doi.org/10.1109/TC.2022.3146509