A parallelization model for performance characterization of Spark Big Data jobs on Hadoop clusters

被引:13
作者
Ahmed, N. [1 ]
Barczak, Andre L. C. [1 ]
Rashid, Mohammad A. [2 ]
Susnjak, Teo [1 ]
机构
[1] Massey Univ, Sch Nat & Computat Sci, Auckland 0745, New Zealand
[2] Massey Univ, Dept Mech & Elect Engn, Auckland 0745, New Zealand
关键词
Big Data; Performance prediction; System configuration; HiBench; Spark;
D O I
10.1186/s40537-021-00499-7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This article proposes a new parallel performance model for different workloads of Spark Big Data applications running on Hadoop clusters. The proposed model can predict the runtime for generic workloads as a function of the number of executors, without necessarily knowing how the algorithms were implemented. For a certain problem size, it is shown that a model based on serial boundaries for a 2D arrangement of executors can fit the empirical data for various workloads. The empirical data was obtained from a real Hadoop cluster, using Spark and HiBench. The workloads used in this work were included WordCount, SVM, Kmeans, PageRank and Graph (Nweight). A particular runtime pattern emerged when adding more executors to run a job. For some workloads, the runtime was longer with more executors added. This phenomenon is predicted with the new model of parallelisation. The resulting equation from the model explains certain performance patterns that do not fit Amdahl's law predictions, nor Gustafson's equation. The results show that the proposed model achieved the best fit with all workloads and most of the data sizes, using the R-squared metric for the accuracy of the fitting of empirical data. The proposed model has advantages over machine learning models due to its simplicity, requiring a smaller number of experiments to fit the data. This is very useful to practitioners in the area of Big Data because they can predict runtime of specific applications by analysing the logs. In this work, the model is limited to changes in the number of executors for a fixed problem size.
引用
收藏
页数:28
相关论文
共 36 条
[1]   A comprehensive performance analysis of Apache Hadoop and Apache Spark for large scale data sets using HiBench [J].
Ahmed, N. ;
Barczak, Andre L. C. ;
Susnjak, Teo ;
Rashid, Mohammed A. .
JOURNAL OF BIG DATA, 2020, 7 (01)
[2]   A gray-box modeling methodology for runtime prediction of Apache Spark jobs [J].
Al-Sayeh, Hani ;
Hagedorn, Stefan ;
Sattler, Kai-Uwe .
DISTRIBUTED AND PARALLEL DATABASES, 2020, 38 (04) :819-839
[3]   Fast and Lightweight Execution Time Predictions for Spark Applications [J].
Amannejad, Yasaman ;
Shah, Sarah ;
Krishnamurthy, Diwakar ;
Wang, Mea .
2019 IEEE 12TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (IEEE CLOUD 2019), 2019, :493-495
[4]  
Amdahl G. M., 1967, AFIPS CONF P, P483
[5]  
[Anonymous], P 4 ANN S CLOUD COMP, DOI 10.1145/2523616.2523633
[6]  
[Anonymous], 2010, HotCloud
[7]  
[Anonymous], 2012, P 9 USENIX C NETW SY
[8]  
[Anonymous], 2013, SPRINGER TEXTS STAT, DOI [DOI 10.1007/978-1-4614-7138-7, 10.1007/978-1-4614-7138-7]
[9]   Performance Prediction of Cloud-Based Big Data Applications [J].
Ardagna, Danilo ;
Barbierato, Enrico ;
Evangelinou, Athanasia ;
Gianniti, Eugenio ;
Gribaudo, Marco ;
Pinto, Tulio B. M. ;
Guimaraes, Anna ;
da Silva, Ana Paula Couto ;
Almeida, Jussara M. .
PROCEEDINGS OF THE 2018 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE '18), 2018, :192-199
[10]   Spark SQL: Relational Data Processing in Spark [J].
Armbrust, Michael ;
Xin, Reynold S. ;
Lian, Cheng ;
Huai, Yin ;
Liu, Davies ;
Bradley, Joseph K. ;
Meng, Xiangrui ;
Kaftan, Tomer ;
Franklint, Michael J. ;
Ghodsi, Ali ;
Zaharia, Matei .
SIGMOD'15: PROCEEDINGS OF THE 2015 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2015, :1383-1394