arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1401.0355cs.DC
收藏

基于密钥对分配的MapReduce操作负载均衡改进

Improving the Load Balance of MapReduce Operations based on the Key Distribution of Pairs

Liya Fan, Bo Gao, Xi Sun, Fa Zhang, Zhiyong Liu

摘要:

负载平衡对于MapReduce减少作业持续时间,提高并行效率等非常重要。以前的工作主要集中在粗粒度调度上。本研究关注MapReduce操作的细粒度调度。每个操作代表Map或Reduce函数的一次调用。调度MapReduce操作是困难的,因为高度螺旋操作负载,不支持收集工作负载统计信息,以及调度问题的高度复杂性。因此,目前的实现采用简单的策略,导致负载平衡差。为了解决这些困难,我们设计了一个算法来调度操作的基础上的中间对的密钥分布。该算法涉及一个子程序,用于选择操作的任务槽,我们称之为平衡子集和(BSS)问题。本文讨论了BSS的特性,设计了BSS的精确算法和近似算法,并设计了一个通信机制来收集统计信息,设计了一个流水线来提高资源利用率,从而将这些算法透明地集成到MapReduce中。据我们所知,这是在这种细粒度级别上调度MapReduce工作负载的第一项工作。在PUMA [T+12]基准测试上的实验显示出一致的性能改进。与标准MapReduce相比,作业持续时间最多可减少37%。

英文摘要:

Load balance is important for MapReduce to reduce job duration, increase parallel efficiency, etc. Previous work focuses on coarse-grained scheduling. This study concerns fine-grained scheduling on MapReduce operations. Each operation represents one invocation of the Map or Reduce function. Scheduling MapReduce operations is difficult due to highly screwed operation loads, no support to collect workload statistics, and high complexity of the scheduling problem. So current implementations adopt simple strategies, leading to poor load balance. To address these difficulties, we design an algorithm to schedule operations based on the key distribution of intermediate pairs. The algorithm involves a sub-program for selecting operations for task slots, and we name it the Balanced Subset Sum (BSS) problem. We discuss properties of BSS and design exact and approximation algorithms for it. To transparently incorporate these algorithms into MapReduce, we design a communication mechanism to collect statistics, and a pipeline within Reduce tasks to increase resource utilization. To the best of our knowledge, this is the first work on scheduling MapReduce workload at this fine-grained level. Experiments on PUMA [T+12] benchmarks show consistent performance improvement. The job duration can be reduced by up to 37%, compared with standard MapReduce.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑