A Top-Down Parallel Semisort

被引:26
|
作者
Gu, Yan [1 ]
Shun, Julian [1 ]
Sun, Yihan [1 ]
Blelloch, Guy E. [1 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
基金
美国国家科学基金会;
关键词
Parallel Algorithms; Semisorting; Integer Sorting;
D O I
10.1145/2755573.2755597
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Semisorting is the problem of reordering an input array of keys such that equal keys are contiguous but different keys are not necessarily in sorted order. Semisorting is important for collecting equal values and is widely used in practice. For example, it is the core of the MapReduce paradigm, is a key component of the database join operation, and has many other applications. We describe a (randomized) parallel algorithm for the problem that is theoretically efficient (linear work and logarithmic depth), but is designed to be more practically efficient than previous algorithms. We use ideas from the parallel integer sorting algorithm of Rajasekaran and Reif, but instead of processing bits of a integers in a reduced range in a bottom-up fashion, we process the hashed values of keys directly top-down. We implement the algorithm and experimentally show on a variety of input distributions that it outperforms a similarly-optimized radix sort on a modern 40-core machine with hyper-threading by about a factor of 1.7-1.9, and achieves a parallel speedup of up to 38x. We discuss the various optimizations used in our implementation and present an extensive experimental analysis of its performance.
引用
收藏
页码:24 / 34
页数:11
相关论文
共 50 条
  • [21] TOP-DOWN FORMAL SPECIFICATION AND VERIFICATION OF PARALLEL CONTROL-SYSTEMS
    VALETTE, R
    DIAZ, M
    DIGITAL PROCESSES, 1978, 4 (3-4): : 181 - 199
  • [22] TOP-DOWN TREE-TRANSDUCERS WITH DETERMINISTIC TOP-DOWN LOOK-AHEAD
    FULOP, Z
    VAGVOLGYI, S
    INFORMATION PROCESSING LETTERS, 1989, 33 (01) : 3 - 5
  • [23] BRAINS TOP DOWN: IS TOP-DOWN CAUSATION CHALLENGING NEUROSCIENCE?
    Wiest, Michael C.
    QUARTERLY REVIEW OF BIOLOGY, 2014, 89 (01): : 65 - 66
  • [24] Geophysics - Top-down tectonics?
    Anderson, DL
    SCIENCE, 2001, 293 (5537) : 2016 - 2018
  • [25] DEPRESSING TRAFFIC TOP-DOWN
    BURROUGHS, D
    JIANG, SS
    HENSON, H
    CIVIL ENGINEERING, 1994, 64 (01): : 62 - 64
  • [26] TOOLS FOR TOP-DOWN TESTING
    BARBUTO, PF
    GELLER, J
    DATAMATION, 1978, 24 (10): : 178 - &
  • [27] Top-down regulation in olfaction
    Moss, Elizabeth L. Hanson
    Zak, Joseph D.
    CHEMICAL SENSES, 2022, 47
  • [28] Top-down characterization of biopharmaceuticals
    Macht, Marcus
    TRAC-TRENDS IN ANALYTICAL CHEMISTRY, 2013, 48 : 62 - 71
  • [29] Top-down design of MEMS
    Fedder, GK
    2000 INTERNATIONAL CONFERENCE ON MODELING AND SIMULATION OF MICROSYSTEMS, TECHNICAL PROCEEDINGS, 2000, : 7 - 10
  • [30] NGN: A top-down vision
    Zhong, Yi-Xin
    Beijing Youdian Daxue Xuebao/Journal of Beijing University of Posts and Telecommunications, 2004, 27 (02): : 8 - 13