vix.ing · top · new · best · stats · spec

FLiMS: a Fast Lightweight 2-way Merger for Sorting

2022/01/01 by Philippos Papaphilippou, Wayne Luk, Chris Brooks · 1 citation
Computer Science · #Advanced Data Storage Technologies #Parallel Computing and Optimization Techniques #Algorithms and Data Compression

paper · doi:10.1109/tc.2022.3146509

openalex publication_date 2022/01/01 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/04

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 larger trees and internalising the workload for faster computation. Also presented are efficient variations of FLiMS for optimizing throughput for skewed datasets, achieving stable sorting or using fewer dequeue signals. FLiMS is also 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.

Cited by