计算机科学 > 数据结构与算法
[提交于 2014年3月11日]
标题:Engineering Parallel String Sorting
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We discuss how string sorting algorithms can be parallelized on modern multi-core shared memory machines. As a synthesis of the best sequential string sorting algorithms and successful parallel sorting algorithms for atomic objects, we first propose string sample sort. The algorithm makes effective use of the memory hierarchy, uses additional word level parallelism, and largely avoids branch mispredictions. Then we focus on NUMA architectures, and develop parallel multiway LCP-merge and -mergesort to reduce the number of random memory accesses to remote nodes. Additionally, we parallelize variants of multikey quicksort and radix sort that are also useful in certain situations. Comprehensive experiments on five current multi-core platforms are then reported and discussed. The experiments show that our implementations scale very well on real-world inputs and modern machines.
提交历史
来自:Timo Bingmann[v1] 2014年3月11日 星期二 00:00:00 UTC