Performance evaluation of GPU- and cluster-computing for parallelization of compute-intensive tasks
Authors:
- 6 August 2021
- journal article
- research article
- Published by Emerald Publishing in International Journal of Web Information Systems
- Vol. 17 (4) , 377-402
Abstract
Purpose: This paper aims to evaluate different approaches for the parallelization of compute-intensive tasks. The study compares a Java multi-threaded algorithm, distributed computing solutions with MapReduce (Apache Hadoop) and resilient distributed data set (RDD) (Apache Spark) paradigms and a graphics processing unit (GPU) approach with Numba for compute unified device architecture (CUDA).Design/methodology/approach: The paper uses a simple but computationally intensive puzzle as a case study for experiments. To find all solutions using brute force search, 15! permutations had to be computed and tested against the solution rules. The experimental application comprises a Java multi-threaded algorithm, distributed computing solutions with MapReduce (Apache Hadoop) and RDD (Apache Spark) paradigms and a GPU approach with Numba for CUDA. The implementations were benchmarked on Amazon-EC2 instances for performance and scalability measurements.Findings: The comparison of the solutions with Apache Hadoop and Apache Spark under Amazon EMR showed that the processing time measured in CPU minutes with Spark was up to 30% lower, while the performance of Spark especially benefits from an increasing number of tasks. With the CUDA implementation, more than 16 times faster execution is achievable for the same price compared to the Spark solution. Apart from the multi-threaded implementation, the processing times of all solutions scale approximately linearly. Finally, several application suggestions for the different parallelization approaches are derived from the insights of this study.Originality/value: There are numerous studies that have examined the performance of parallelization approaches. Most of these studies deal with processing large amounts of data or mathematical problems. This work, in contrast, compares these technologies on their ability to implement computationally intensive distributed algorithms.Keywords
This publication has 15 references indexed in Scilit:
- Performance comparison between Hadoop and Spark frameworks using HiBench benchmarksConcurrency and Computation: Practice and Experience, 2017
- Streaming Distributed DNA Sequence Alignment Using Apache Spark2017
- Performance factors of a CUDA GPU parallel program: A case study on a PDF password cracking brute-force algorithm2017
- Benchmarking OpenCL, OpenACC, OpenMP, and CUDA2017
- Matrix Computations and Optimization in Apache Spark2016
- Detection DDoS attacks based on neural-network using Apache Spark2016
- Clotho2013
- Parallel Computing Experiences with CUDAIEEE Micro, 2008
- GPU ComputingProceedings of the IEEE, 2008
- Scalable Parallel Programming with CUDAQueue, 2008