arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1008.2849cs.DScs.PF
收藏

基于虚拟内存和写合并的快速基排序

Faster Radix Sort via Virtual Memory and Write-Combining

Jan Wassenberg, Peter Sanders

摘要:

排序算法是常见操作(如删除重复项或数据库排序合并连接)性能的决定因素。这项工作的重点是32位整数键,可选地与32位值配对。我们提出了一个快速基数排序算法,建立在一个微架构感知计数排序的变体。利用虚拟内存并利用写组合产生对应于系统峰值内存带宽的至少88%的每遍吞吐量。我们的实现优于英特尔最近发布的基数排序的1.5倍。它也比较有利的费米GPU的算法时,数据传输开销的报告性能。这些结果表明,标量,带宽敏感的排序算法仍然具有竞争力的当前架构。各种其它存储器密集型应用可受益于本文中所描述的技术。

英文摘要:

Sorting algorithms are the deciding factor for the performance of common operations such as removal of duplicates or database sort-merge joins. This work focuses on 32-bit integer keys, optionally paired with a 32-bit value. We present a fast radix sorting algorithm that builds upon a microarchitecture-aware variant of counting sort. Taking advantage of virtual memory and making use of write-combining yields a per-pass throughput corresponding to at least 88 % of the system's peak memory bandwidth. Our implementation outperforms Intel's recently published radix sort by a factor of 1.5. It also compares favorably to the reported performance of an algorithm for Fermi GPUs when data-transfer overhead is included. These results indicate that scalar, bandwidth-sensitive sorting algorithms remain competitive on current architectures. Various other memory-intensive applications can benefit from the techniques described herein.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑