Author:
Velentzas Polychronis,Vassilakopoulos Michael,Corral Antonio,Antonopoulos Christos
Abstract
AbstractAlgorithms 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.
Funder
MINECO research project
Junta de Andalucia research project
University of Thessaly Central Library
Publisher
Springer Science and Business Media LLC
Subject
Information Systems,Theoretical Computer Science,Software
Reference48 articles.
1. Barlas, G.: Multicore and GPU Programming: An Integrated Approach, 1st edn. Morgan Kaufmann, Los Altos (2014)
2. Velentzas, P., Vassilakopoulos, M., Corral, A.: GPU-based algorithms for processing the $$k$$ nearest-neighbor query on disk-resident data. In: MEDI Conference, pp. 264–278 (2021). https://doi.org/10.1007/978-3-030-78428-7_21
3. Singh, D.P., Joshi, I., Choudhary, J.: Survey of GPU based sorting algorithms. Int. J. Parallel Prog. 46(6), 1017–1034 (2018). https://doi.org/10.1007/s10766-017-0502-5
4. Garcia, V., Debreuve, E., Barlaud, M.: Fast k nearest neighbor search using GPU. In: CVPR Workshops, pp. 1–6 (2008). https://doi.org/10.1109/CVPRW.2008.4563100
5. Kuang, Q., Zhao, L.: A practical GPU based kNN algorithm. In: SCSCT Conference, pp. 151–155 (2009)