GPU-Based Algorithms for Processing the k Nearest-Neighbor Query on Spatial Data Using Partitioning and Concurrent Kernel Execution

被引:1
作者
Velentzas, Polychronis [1 ]
Vassilakopoulos, Michael [1 ]
Corral, Antonio [2 ]
Antonopoulos, Christos [1 ]
机构
[1] Univ Thessaly, Dept Elect & Comp Engn, Sekeri & Cheiden Str, Volos 38334, Greece
[2] Univ Almeria, Dept Informat, Carretera Sacramento, La Canada de San Urbano s-n, Almeria 04120, Spain
关键词
k Nearest-neighbor query; GPU; SSD; Spatial-queries algorithms; Plane-sweep; Parallel computing; KNN;
D O I
10.1007/s10766-023-00755-8
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Algorithms for answering the k nearest-neighbor (k-NN) query are widely used for queries in spatial databases and for distance classification of a group of query points against a reference dataset to derive the dominating feature class. GPU devices have significantly more processing cores than CPUs and faster device memory than the main memory accessed by CPUs, thus, providing higher computing power for processing demanding queries like the k-NN. However, since device and/or main memory may not be able to host an entire, rather big, reference and query datasets, storing these datasets in a fast secondary device, like a solid state disk (SSD), and partially retrieve the required, at each stage, partitions is, in many practical cases, a feasible solution. We propose and implement the first GPU-based algorithms for processing the k-NN query for big reference and query spatial data stored on SSDs. Based on 3d synthetic and real big spatial data, we experimentally compare these algorithms and highlight the most efficient algorithmic variation. This variation utilizes a CUDA feature known as Concurrent Kernel Execution, to further improve its performance.
引用
收藏
页码:275 / 308
页数:34
相关论文
共 48 条
  • [1] Aji A., 2015, ABS150900910 CORR, P1
  • [2] [Anonymous], 2015, Cuda 7 streams simplify concurrency
  • [3] GPU-FS-kNN: A Software Tool for Fast and Scalable kNN Computation Using GPUs
    Arefin, Ahmed Shamsul
    Riveros, Carlos
    Berretta, Regina
    Moscato, Pablo
    [J]. PLOS ONE, 2012, 7 (08):
  • [4] Barlas G., 2014, Multicore and GPU Programming: An Integrated Approach
  • [5] Fast kNN query processing over a multi-node GPU environment
    Barrientos, Ricardo J.
    Riquelme, Javier A.
    Hernandez-Garcia, Ruber
    Navarro, Cristobal A.
    Soto-Silva, Wladimir
    [J]. JOURNAL OF SUPERCOMPUTING, 2022, 78 (02) : 3045 - 3071
  • [6] GPU-based exhaustive algorithms processing kNN queries
    Barrientos, Ricardo J.
    Millaguir, Fabricio
    Sanchez, Jos L.
    Arias, Enrique
    [J]. JOURNAL OF SUPERCOMPUTING, 2017, 73 (10) : 4611 - 4634
  • [7] Barrientos RJ, 2011, LECT NOTES COMPUT SC, V6852, P380, DOI 10.1007/978-3-642-23400-2_35
  • [8] MULTIDIMENSIONAL BINARY SEARCH TREES USED FOR ASSOCIATIVE SEARCHING
    BENTLEY, JL
    [J]. COMMUNICATIONS OF THE ACM, 1975, 18 (09) : 509 - 517
  • [9] Corral A, 2000, SIGMOD REC, V29, P189, DOI 10.1145/335191.335414
  • [10] Accelerate GPU Concurrent Kernel Execution by Mitigating Memory Pipeline Stalls
    Dai, Hongwen
    Lin, Zhen
    Li, Chao
    Zhao, Chen
    Wang, Fei
    Zheng, Nanning
    Zhou, Huiyang
    [J]. 2018 24TH IEEE INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2018, : 208 - 220