Strategy and algorithms for the parallel solution of the nearest neighborhood problem in shared-memory processors

被引:0
|
作者
Tapia-Fernandez, Santiago [1 ]
Alonso-Miyazaki, Pablo Hiroshi [1 ]
Romero, Ignacio [2 ,3 ]
Garcia-Beltran, Angel [1 ]
机构
[1] Univ Politecn Madrid UPM, Dept Elect Engn ETSII, Jose Gutierrez Abascal 2, Madrid 28006, Spain
[2] Univ Politecn Madrid UPM, Dept Mech Engn ETSII, Jose Gutierrez Abascal 2, Madrid 28006, Spain
[3] IMDEA Mat Inst, C Eric Kandel 2, Madrid 28906, Spain
关键词
Neighborhood problem; Regular grid; Hash table; Mesh-free methods;
D O I
10.1007/s00366-021-01304-y
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The neighborhood problem appears in many applications of computational geometry, computational mechanics, etc. In all these situations, the main requirement for a competitive implementation is performance, which can only be attained in modern hardware by exploiting parallelism. However, whereas the performance of serial algorithms is fairly predictable, that of parallel methods depends on delicate issues that have a huge impact (cache memory, cache misses, memory alignment, etc.), but are not easy to control. Even if there is not a simple approach to deal with these factors in shared-memory architectures, it is quite convenient to program parallel algorithms where the data are segregated on a per-thread basis. With this objective in mind, we propose a strategy to develop parallel algorithms based on a two-level design, and apply it to efficiently solve the nearest neighborhood problem. At a higher level, the proposed methods orchestrate the parallel algorithm and split the space into cells stored in a hash table; at the lower level, our methods hold serial search algorithms that are completely agnostic to the high-level counterpart. Using this strategy, we have developed a library combining different serial and parallel algorithms, optimized them, and assessed their performance. The analysis carried out allows to better understand the main bottlenecks in the algorithmic solution of the nearest neighborhood problem and come out with very fast implementations that improve existing available software.
引用
收藏
页码:1669 / 1679
页数:11
相关论文
共 50 条
  • [1] Strategy and algorithms for the parallel solution of the nearest neighborhood problem in shared-memory processors
    Santiago Tapia-Fernández
    Pablo Hiroshi Alonso-Miyazaki
    Ignacio Romero
    Angel García-Beltrán
    [J]. Engineering with Computers, 2022, 38 : 1669 - 1679
  • [2] SHARED-MEMORY CONTROLLERS LINK PROCESSORS
    AOUIZERAT, R
    [J]. MINI-MICRO SYSTEMS, 1983, 16 (11): : 272 - 274
  • [3] Shared-Memory Parallel Algorithms for Community Detection in Dynamic Graphs
    Sahu, Subhajit
    Kothapalli, Kishore
    Banerjee, Dip Sankar
    [J]. 2024 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, IPDPSW 2024, 2024, : 250 - 259
  • [4] PARALLEL ALGORITHMS FOR STRESS-ANALYSIS ON SHARED-MEMORY MULTIPROCESSORS
    ADELI, H
    KAMAL, O
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 591 : 426 - 437
  • [5] Sequential and Shared-Memory Parallel Algorithms for Partitioned Local Depths
    Devarakonda, Aditya
    Ballard, Grey
    [J]. PROCEEDINGS OF THE 2024 SIAM CONFERENCE ON PARALLEL PROCESSING FOR SCIENTIFIC COMPUTING, PP, 2024, : 53 - 64
  • [6] Coupled cluster algorithms for networks of shared memory parallel processors
    Bentz, Jonathan L.
    Olson, Ryan M.
    Gordon, Mark S.
    Schmidt, Michael W.
    Kendall, Ricky A.
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 2007, 176 (9-10) : 589 - 600
  • [7] A pipelined shared-memory architecture for FFT processors
    Jia, LH
    Gao, YH
    Tenhunen, H
    [J]. 42ND MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS, PROCEEDINGS, VOLS 1 AND 2, 1999, : 804 - 807
  • [8] Parallel-vector algorithms for particle simulations on shared-memory multiprocessors
    Nishiura, Daisuke
    Sakaguchi, Hide
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2011, 230 (05) : 1923 - 1938
  • [9] Exploring Optimizations on Shared-memory Platforms for Parallel Triangle Counting Algorithms
    Tom, Ancy Sarah
    Sundaram, Narayanan
    Ahmed, Nesreen K.
    Smith, Shaden
    Eyerman, Stijn
    Kodiyath, Midhunchandra
    Hur, Ibrahim
    Petrini, Fabrizio
    Karypis, George
    [J]. 2017 IEEE HIGH PERFORMANCE EXTREME COMPUTING CONFERENCE (HPEC), 2017,
  • [10] MEMORY MANAGEMENT FOR PARALLEL TASKS IN SHARED-MEMORY
    LANGENDOEN, KG
    MULLER, HL
    VREE, WG
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 637 : 165 - 178