arrow
返回

Intermediate data placement and cache replacement strategy under Spark platform

delete2022-05-01
delete23
PRE
AI
C
Chunlin Li *
Y
Yong Zhang
Y
Youlong Luo
DOI:10.1016/j.jpdc.2022.01.020delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Spark is widely used due to its high performance caching mechanism and high scalability, which still causes uneven workloads and produces useless intermediate caching results when faced with data intensive applications. A data placement strategy based on an improved reservoir sampling algorithm is proposed to solve the problem of intermediate data tilt in the shuffle stage of Spark. Compared with the traditional sampling algorithm, the amount of intermediate data is accumulated while sampling. The data skew measurement model is used to classify data into skewed data, and non-skewed and coarse grained, and fine-grained placement algorithms are designed. To further improve Spark's system memory utilization and cache hit rate, an adaptive cache replacement algorithm is proposed to maximize cache gain. We analyze the operational dependencies and propose a cache gain model. Compared with the traditional method, the two known and unknown job arrival rates are considered separately to obtain an online adaptive cache replacement strategy that maximizes cache gain. Experimental results show that our data placement strategy effectively reduces Spark applications' execution time and improves the load balance of reduce tasks. Meanwhile, the proposed adaptive cache replacement strategy effectively reduces Spark's average completion time and improves the memory utilization and cache hit rate. (c) 2022 Elsevier Inc. All rights reserved.
Keyword:
Data shuffling
Intermediate data placement
Cache gain
Adaptive cache replacement

期刊

Journal of Parallel and Distributed Computing 封面图
Journal of Parallel and Distributed Computing
IF:
4
论文数:
3.8K
被引数:
4.8K

机构

W
Wuhan University of Technology
学者数:
3.4W
论文数: 2.4W
被引数: 4.4W
引用论文

引用论文

State of forest research in 2010s – a bibliographic study with special reference to Finland, Sweden and Austria
err2023-04-11
err0
errOAAI
errRisto Päivinen; Gillian Petrokofsky; William J. Harvey; Leo Petrokofsky; Pasi Puttonen; Jyrki Kangas; Eero Mikkola; Leena Byholm; Liisa Käär
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容