Skip to main content
QUICK REVIEW

[Paper Review] OS4M: Achieving Global Load Balance of MapReduce Workload by Scheduling at the Operation Level

Liya Fan, Bo Gao|arXiv (Cornell University)|Jun 16, 2014
Cloud Computing and Resource ManagementComputer Science25 references4 citations
TL;DR

OS4M proposes fine-grained, operation-level scheduling in MapReduce to achieve global load balancing by analyzing Map operation statistics and dynamically optimizing Reduce operation distribution. By decoupling Reduce copy phases from Map tasks and pipelining Reduce phases based on load, OS4M reduces job completion time by up to 42% compared to baseline Hadoop.

ABSTRACT

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.

Motivation & Objective

  • Address poor load balancing in MapReduce due to coarse-grained scheduling and hash-based Reduce assignment.
  • Mitigate I/O contention caused by overlapping Map and Reduce copy phases.
  • Improve resource utilization by pipelining the three sequential phases of Reduce tasks based on operation-level load.
  • Achieve global load balance through centralized, statistics-driven scheduling of individual Map and Reduce operations.
  • Enable transparent integration into Hadoop without modifying the underlying framework.

Proposed method

  • Collect runtime statistics of all Map operations to estimate their execution load and data volume.
  • Compute a globally optimal schedule for Reduce operations using load-aware heuristics to balance work across nodes.
  • Decouple the Reduce copy phase from Map task execution to eliminate I/O contention and allow concurrent progress.
  • Re-architect the Reduce phase pipeline to run map, shuffle, and reduce phases in overlapping stages based on operation-level load.
  • Integrate OS4M as a transparent layer within Hadoop, requiring no changes to the application or core framework.
  • Use operation-level scheduling to dynamically assign Reduce tasks to nodes based on real-time load and data locality.

Experimental results

Research questions

  • RQ1Can operation-level scheduling significantly improve global load balance in MapReduce workloads?
  • RQ2To what extent can decoupling Reduce copy from Map execution reduce I/O contention and improve overall throughput?
  • RQ3How effective is pipelining the three phases of Reduce tasks when based on operation-level load metrics?
  • RQ4What performance gains can be achieved by replacing hash-based scheduling with a statistics-driven, global optimization strategy?
  • RQ5Can OS4M be integrated transparently into existing Hadoop deployments without application-level changes?

Key findings

  • OS4M reduces job completion time by up to 42% on standard Hadoop benchmarks compared to the baseline Hadoop implementation.
  • The elimination of I/O contention between Map and Reduce copy phases results in significant performance gains, especially in I/O-intensive workloads.
  • Pipelining the three phases of Reduce tasks based on operation-level load leads to better resource utilization and reduced idle time.
  • The use of global statistics for scheduling improves load balance across nodes, reducing the variance in task completion times.
  • OS4M achieves its performance improvements without requiring changes to user applications or the Hadoop core framework.
  • The approach demonstrates consistent gains across diverse workloads, confirming the effectiveness of operation-level scheduling in large-scale data processing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.