SASM: Improving spark performance with Adaptive Skew Mitigation

Jiadong Yu, Haopeng Chen, Fei Hu · 2015

Skew is a common phenomenon widely existing in parallel computing platforms, resulting in slowing down the entire complete time and many idle resources. We present Spark Adaptive Skew Mitigation (SASM) for automatic skew mitigation that is transparent to Spark users and existing Spark applications. The SASM system mitigates skew of shuffle read and computation misdistribution dynamically with metadata collected beforehand. When a new task is registered, unprocessed blocks of straggling tasks are repartitioned to other idle tasks to fully utilize the nodes. We evaluate its effectiveness by using several applications. The results show that SASM can reduce job runtime in presence of skew with insignificant overhead, and can handle over imbalance due to heterogeneous clusters or network congestion.

Read the paper · More papers on PaperTik