Title :
Continuous k-Nearest Neighbor Queries on Multi-core CPUs
Author :
Ying, He Hui ; Wei, Liao ; Ping, Wu Xiao
Author_Institution :
Coll. of Electr. & Inf. Eng., Naval Univ. of Eng., Wuhan, China
Abstract :
Modern microprocessors employ multi cores to accelerate computations, and parallelizing multiple queries execution to exploit multi-core parallelism has become a challenge for moving objects database applications. To evaluate massive concurrent queries towards moving objects, parallel processing techniques and cache-conscious algorithms adapting to memory hierarchy and multi-core architecture should be developed to maximize the processor computation abilities and reduce the memory stalls. This paper first presents a distributed moving objects updating strategy to reduce the computing cost of server. Further, in-memory spatial network adjacent matrix, shortest path matrix and hash table structures are introduced to describe the road network topology and store the moving objects. A shortest path based network expansion (SPNE) algorithm is proposed to decrease the processing cost of k nearest neighbor (k-NN) queries by reducing the search network space. For massive k-NN queries evaluation, we use a multi-staged engine, which exploits pipeline strategy and departs the query processing into three simultaneous stages to improve the parallelism with multi-threaded technology. And we present a multi-threaded network expansion (MSPNE) algorithm for massive k-NN queries processing. MSPNE algorithm uses threaded workload parallelism and cache-conscious execution reorganization strategies to improve the spatial and temporal locality. Experimental evaluation on a dual-core platform and analysis show that SPNE and MSPNE algorithms achieve a performance improvement over the existing traditional optimization counterparts.
Keywords :
database management systems; matrix algebra; microprocessor chips; multi-threading; optimisation; parallel processing; pattern recognition; query processing; cache-conscious algorithms; concurrent queries; continuous k-nearest neighbor queries; hash table structures; in-memory spatial network adjacent matrix; microprocessors; moving objects database; multi-core CPU; multi-core architecture; multi-core parallelism; multi-threaded network expansion; optimization; parallel processing; query processing; shortest path based network expansion; shortest path matrix; Algorithm design and analysis; Indexes; Instruction sets; Partitioning algorithms; Query processing; Roads; MSPNE algorithm; SPNE algorithm; k-NN queries; multi-thread; pipeline strategy; shortest path matrix;
Conference_Titel :
Electrical and Control Engineering (ICECE), 2010 International Conference on
Conference_Location :
Wuhan
Print_ISBN :
978-1-4244-6880-5
DOI :
10.1109/iCECE.2010.659