arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1406.3901cs.DC
收藏

OS4M:通过操作级调度实现MapReduce调度器的全局负载平衡

OS4M: Achieving Global Load Balance of MapReduce Workload by Scheduling at the Operation Level

Liya Fan, Bo Gao, Fa Zhang, Zhiyong Liu

摘要:

MapReduce的效率与其负载平衡密切相关。现有的MapReduce负载平衡工作集中在粗粒度调度。本研究关注MapReduce操作的细粒度调度,每个操作代表Map或Reduce函数的一次调用。默认情况下,MapReduce采用基于哈希的方法来调度Reduce操作,这通常会导致负载平衡不佳。此外,Reduce任务的复制阶段与Map任务重叠,由于I/O争用,这严重阻碍了Map任务的进度。此外,Reduce任务的三个阶段按顺序运行,同时消耗不同的资源,从而未充分利用资源。为了克服这些问题,我们引入了一套名为OS 4 M(操作调度MapReduce)的机制,以提高MapReduce的性能。OS 4 M通过收集所有Map操作的统计数据来实现负载平衡,并计算全局最优调度来分配Reduce操作。在OS 4 M中,Reduce任务的复制阶段不再与Map任务重叠,Reduce任务的三个阶段根据其操作负载进行流水线处理。OS 4 M已经透明地集成到MapReduce中。对标准基准的评估表明,与Hadoop的基准相比,OS 4 M的作业持续时间可以缩短42%。

英文摘要:

The efficiency of MapReduce is closely related to its load balance. Existing works on MapReduce load balance focus on coarse-grained scheduling. This study concerns fine-grained scheduling on MapReduce operations, with each operation representing one invocation of the Map or Reduce function. By default, MapReduce adopts the hash-based method to schedule Reduce operations, which often leads to poor load balance. In addition, the copy phase of Reduce tasks overlaps with Map tasks, which significantly hinders the progress of Map tasks due to I/O contention. Moreover, the three phases of Reduce tasks run in sequence, while consuming different resources, thereby under-utilizing resources. To overcome these problems, we introduce a set of mechanisms named OS4M (Operation Scheduling for MapReduce) to improve MapReduce's performance. OS4M achieves load balance by collecting statistics of all Map operations, and calculates a globally optimal schedule to distribute Reduce operations. With OS4M, the copy phase of Reduce tasks no longer overlaps with Map tasks, and the three phases of Reduce tasks are pipelined based on their operation loads. OS4M has been transparently incorporated into MapReduce. Evaluations on standard benchmarks show that OS4M's job duration can be shortened by up to 42%, compared with a baseline of Hadoop.

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

↑