Efficient Parallel Join Processing Exploiting SIMD in Multi-Thread Environments

Gilseok HONG, Seonghyeon KANG, Chang soo KIM, Jun-Ki MIN
2018 IEICE transactions on information and systems  
In this paper, we study parallel join processing to improve the performance of the merge phase of sort-merge join by integrating all parallelism provided by mainstream CPUs. Modern CPUs support SIMD instruction sets with wider SIMD registers which allows to process multiple data items per each instruction. Thus, we devise an efficient parallel join algorithm, called Parallel Merge Join with SIMD instructions (PMJS). In our proposed algorithm, we utilize data parallelism by exploiting SIMD
more » ... ctions. And we also accelerate the performance by avoiding the usage of conditional branch instructions. Furthermore, to take advantage of the multiple cores, our proposed algorithm is threaded in multi-thread environments. In our multi-thread algorithm, to distribute workload evenly to each thread, we devise an efficient workload balancing algorithm based on the kernel density estimator which allows to estimate the workload of each thread accurately.
doi:10.1587/transinf.2017edp7300 fatcat:s6acgmspsfg6tbcbeejjo3rdjy