Improving Spark performance with MPTE in heterogeneous environments

Hongbin Yang, Xianyang Liu, Shenbo Chen, Zhou Lei, Hongguang Du, C. Zhu
{"title":"Improving Spark performance with MPTE in heterogeneous environments","authors":"Hongbin Yang, Xianyang Liu, Shenbo Chen, Zhou Lei, Hongguang Du, C. Zhu","doi":"10.1109/ICALIP.2016.7846627","DOIUrl":null,"url":null,"abstract":"Spark has become the first choice of distributed computing framework for big data processing. The biggest highlight is the use of in-memory computations on large clusters, which is suitable for iterative computing and interactive computing. However, the straggler machines can seriously affect their performance. The current approach of Spark is speculative execution which selects the slow tasks and resubmit them, but there are two deficiencies: Firstly, it directly uses the median time to judge whether the task is abnormal, this may be misleading in reality; Secondly, the backup tasks are directly added to the task queue without taking into account the presence of straggler machines. These deficiencies will further extend the execution time of a job. Therefore, we design a improved speculative strategy, Multiple Phases Time Estimation (MPTE), which greatly reduces the impact of straggler machines. In MPTE, we use the remaining time estimated based on multiple phases to select slow tasks, and we improve the task scheduler for backup tasks scheduling. Experiment results show that MPTE can improve the accuracy of determining if should run a speculative copy for a task by about 20% compared to Spark native scheduler.","PeriodicalId":184170,"journal":{"name":"2016 International Conference on Audio, Language and Image Processing (ICALIP)","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-07-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 International Conference on Audio, Language and Image Processing (ICALIP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICALIP.2016.7846627","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13

Abstract

Spark has become the first choice of distributed computing framework for big data processing. The biggest highlight is the use of in-memory computations on large clusters, which is suitable for iterative computing and interactive computing. However, the straggler machines can seriously affect their performance. The current approach of Spark is speculative execution which selects the slow tasks and resubmit them, but there are two deficiencies: Firstly, it directly uses the median time to judge whether the task is abnormal, this may be misleading in reality; Secondly, the backup tasks are directly added to the task queue without taking into account the presence of straggler machines. These deficiencies will further extend the execution time of a job. Therefore, we design a improved speculative strategy, Multiple Phases Time Estimation (MPTE), which greatly reduces the impact of straggler machines. In MPTE, we use the remaining time estimated based on multiple phases to select slow tasks, and we improve the task scheduler for backup tasks scheduling. Experiment results show that MPTE can improve the accuracy of determining if should run a speculative copy for a task by about 20% compared to Spark native scheduler.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在异构环境中使用MPTE改进Spark性能
Spark已经成为大数据处理分布式计算框架的首选。最大的亮点是在大型集群上使用内存计算,适合迭代计算和交互计算。但是,掉队的机器会严重影响它们的性能。Spark目前的方法是推测执行,选择慢的任务重新提交,但存在两个不足:一是直接使用中值时间来判断任务是否异常,这在现实中可能会产生误导;其次,不考虑离散机的存在,直接将备份任务添加到任务队列中。这些缺陷将进一步延长作业的执行时间。因此,我们设计了一种改进的推测策略,多相时间估计(MPTE),大大减少了离散机的影响。在MPTE中,我们使用基于多阶段估计的剩余时间来选择慢任务,并改进任务调度程序用于备份任务调度。实验结果表明,与Spark本机调度器相比,MPTE可以将确定是否应该为任务运行推测副本的准确性提高约20%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Analysis of student activities trajectory and design of attendance management based on internet of things An RFID indoor positioning system by using Particle Swarm Optimization-based Artificial Neural Network Comparison of sparse-view CT image reconstruction algorithms Face recognition based on LBPH and regression of Local Binary features Research and application of dynamic and interactive data visualization based on D3
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1