Apache Hadoop调度算法的性能分析

Yang Li
{"title":"Apache Hadoop调度算法的性能分析","authors":"Yang Li","doi":"10.1109/CIS52066.2020.00040","DOIUrl":null,"url":null,"abstract":"Hadoop bundles the two computing resources of memory and CPU in the management resources, and then divides it into two resource models: MapSlot and ReduceSlot according to task types. MapReduce applications will have a large number of sorting operations in operation. Most of these sorts are executed iteratively, which consumes a lot of performance. Chapter 5 of this article takes this as an entry point and reorganizes the execution process of the Shuffle stage. Researched to replace quick sort with more efficient counting sorting. At the same time, the Shuffle execution is branched according to the definition of Combiner. One branch deletes the quick sort in the partition in the spill phase and the merge sort in the combine phase to reduce performance consumption. The other branch executes Combiner in advance to improve data processing efficiency. The two branches processed 21GB of log data on a 7-node PC cluster, and both achieved an efficiency improvement of about half an hour.","PeriodicalId":106959,"journal":{"name":"2020 16th International Conference on Computational Intelligence and Security (CIS)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2020-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Performance Analysis of Scheduling Algorithms in Apache Hadoop\",\"authors\":\"Yang Li\",\"doi\":\"10.1109/CIS52066.2020.00040\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Hadoop bundles the two computing resources of memory and CPU in the management resources, and then divides it into two resource models: MapSlot and ReduceSlot according to task types. MapReduce applications will have a large number of sorting operations in operation. Most of these sorts are executed iteratively, which consumes a lot of performance. Chapter 5 of this article takes this as an entry point and reorganizes the execution process of the Shuffle stage. Researched to replace quick sort with more efficient counting sorting. At the same time, the Shuffle execution is branched according to the definition of Combiner. One branch deletes the quick sort in the partition in the spill phase and the merge sort in the combine phase to reduce performance consumption. The other branch executes Combiner in advance to improve data processing efficiency. The two branches processed 21GB of log data on a 7-node PC cluster, and both achieved an efficiency improvement of about half an hour.\",\"PeriodicalId\":106959,\"journal\":{\"name\":\"2020 16th International Conference on Computational Intelligence and Security (CIS)\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 16th International Conference on Computational Intelligence and Security (CIS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CIS52066.2020.00040\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 16th International Conference on Computational Intelligence and Security (CIS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CIS52066.2020.00040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

Hadoop将内存和CPU这两种计算资源捆绑在管理资源中,根据任务类型划分为MapSlot和ReduceSlot两种资源模型。MapReduce应用会有大量的排序操作在运行。这些类型中的大多数都是迭代执行的,这会消耗很多性能。本文第5章以此为切入点,重新组织Shuffle阶段的执行过程。研究用更有效的计数排序取代快速排序。同时,Shuffle的执行根据Combiner的定义进行了分支。一个分支在溢出阶段删除分区中的快速排序,在合并阶段删除合并排序,以减少性能消耗。另一个分支提前执行Combiner,提高数据处理效率。两个分支在一个7节点的PC集群上处理了21GB的日志数据,都实现了大约半小时的效率提升。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Performance Analysis of Scheduling Algorithms in Apache Hadoop
Hadoop bundles the two computing resources of memory and CPU in the management resources, and then divides it into two resource models: MapSlot and ReduceSlot according to task types. MapReduce applications will have a large number of sorting operations in operation. Most of these sorts are executed iteratively, which consumes a lot of performance. Chapter 5 of this article takes this as an entry point and reorganizes the execution process of the Shuffle stage. Researched to replace quick sort with more efficient counting sorting. At the same time, the Shuffle execution is branched according to the definition of Combiner. One branch deletes the quick sort in the partition in the spill phase and the merge sort in the combine phase to reduce performance consumption. The other branch executes Combiner in advance to improve data processing efficiency. The two branches processed 21GB of log data on a 7-node PC cluster, and both achieved an efficiency improvement of about half an hour.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信