Fixed-point Iteration Approach to Spark Scalable Performance Modeling and Evaluation

Soroush Karimian-Aliabadi,Mohammad-Mohsen Aseman-Manzar,Reza Entezari-Maleki,Danilo Ardagna,Bernhard Egger,Ali Movaghar
DOI: https://doi.org/10.1109/tcc.2021.3119943
IF: 5.697
2022-01-01
IEEE Transactions on Cloud Computing
Abstract:Companies depend on mining data to grow their business more than ever. To achieve optimal performance of Big Data analytics workloads, a careful configuration of the cluster and the employed software framework is required. The lack of flexible and accurate performance models, however, render this a challenging task. This article fills this gap by presenting accurate performance prediction models based on Stochastic Activity Networks (SANs). In contrast to existing work, the presented models consider multiple work queues, a critical feature to achieve high accuracy in realistic usage scenarios. We first introduce a monolithic analytical model for a multi-queue YARN cluster running DAG-based Big Data applications that models each queue individually. To overcome the limited scalability of the monolithic model, we then present a fixed-point model that iteratively computes the throughput of a single queue with respect to the rest of the system until a fixed-point is reached. The models are evaluated on a real-world cluster running the widely-used Apache Spark framework and the YARN scheduler. Experiments with the common transaction-based TPC-DS benchmark show that the proposed models achieve an average error of only $5.6\%$5.6% in predicting the execution time of the Spark jobs. The presented models enable businesses to optimize their cluster configuration for a given workload and thus to reduce their expenses and minimize service level agreement (SLA) violations. Makespan minimization and per-stage analysis are examined as representative efforts to further assess the applicability of our proposition.
computer science, information systems, theory & methods
What problem does this paper attempt to address?