FLiMS:一个快速的轻量级双向归并排序算法
FLiMS: a Fast Lightweight 2-way Merger for Sorting
摘要:
在本文中,我们提出了FLiMS,一个高效和简单的并行算法合并两个排序表驻留在银行和/或宽内存。在FPGA上,由于减少了比较器的数量并消除了先前尝试中发现的冗余逻辑,因此其实现比最先进的替代方案使用更少的硬件资源。结合选择器级的分布式特性,对于相同数量的并行性或更高的并行性,可以实现更高的性能。这在许多应用中是有用的,例如在并行合并树中实现高吞吐量排序,其中合并的资源利用对于构建大型树和内部化工作负载以实现快速计算是至关重要的。还提出了FLiMS的有效变化,用于优化偏斜数据集的吞吐量,实现稳定的排序或使用更少的出队信号。此外,FLiMS在支持单指令多数据(SIMD)指令的现代CPU上表现得与传统软件一样好,超过了一些标准库的排序性能。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。