Skip to main content
QUICK REVIEW

[Paper Review] On Dynamic Job Ordering and Slot Configurations for Minimizing the Makespan Of Multiple MapReduce Jobs

Wenhong Tian, Guangchun Luo|arXiv (Cornell University)|Apr 15, 2016
Cloud Computing and Resource ManagementComputer Science8 references4 citations
TL;DR

This paper proposes the UAAS algorithm, an optimal offline scheduling approach for minimizing makespan in multiple MapReduce jobs by adapting to Johnson's classical two-machine flow shop model. By dynamically ordering jobs and configuring map/reduce slot ratios, UAAS achieves optimal makespan, outperforming heuristic methods like MK_JR and BalancedPools, which yield suboptimal results under slot changes.

ABSTRACT

MapReduce is a popular parallel computing paradigm for Big Data processing in clusters and data centers. It is observed that different job execution orders and MapReduce slot configurations for a MapReduce workload have significantly different performance with regarding to the makespan, total completion time, system utilization and other performance metrics. There are quite a few algorithms on minimizing makespan of multiple MapReduce jobs. However, these algorithms are heuristic or suboptimal. The best known algorithm for minimizing the makespan is 3-approximation by applying Johnson rule. In this paper, we propose an approach called UAAS algorithm to meet the conditions of classical Johnson model. Then we can still use Johnson model for an optimal solution. We explain how to adapt to Johnson model and provide a few key features of our proposed method.

Motivation & Objective

  • To address the gap in optimal offline scheduling for minimizing makespan in multiple MapReduce jobs.
  • To overcome the limitations of heuristic or suboptimal algorithms such as MK_JR and BalancedPools, which do not guarantee optimal makespan.
  • To develop a scheduling approach that dynamically adapts job ordering and slot configurations to meet the conditions of Johnson’s model for optimality.
  • To validate that the proposed method ensures stable and optimal job ordering under varying cluster resource availability.

Proposed method

  • The UAAS algorithm reformulates the MapReduce job scheduling problem to satisfy the constraints of Johnson’s classical two-machine flow shop model, enabling optimal scheduling.
  • It dynamically determines job execution order based on map and reduce stage durations, ensuring optimal sequence via Johnson’s rule.
  • The method adapts slot allocation ratios (ρ = |S^M|/|S^R|) to minimize makespan, maintaining proportionality between execution times and available slots.
  • It uses a transformation of job execution times based on slot availability: T’_i^M = T_i^M × (|S^M| / |S_x^M|) and T’_i^R = T_i^R × (|S^R| / |S_x^R|), preserving relative job duration order.
  • The algorithm ensures that job ordering remains stable even when the total number of slave nodes changes, due to proportional scaling of execution times.
  • It leverages theoretical analysis to prove that optimal slot configuration depends on workload, job order, and total slot counts.

Experimental results

Research questions

  • RQ1Can an optimal offline scheduling algorithm be designed for multiple MapReduce jobs by adapting to Johnson’s model?
  • RQ2How does dynamic job ordering and slot configuration affect makespan minimization in a MapReduce cluster?
  • RQ3Why do existing heuristic approaches like MK_JR and BalancedPools fail to achieve optimal makespan under resource changes?
  • RQ4What conditions must be met for a MapReduce scheduling algorithm to guarantee optimal makespan?
  • RQ5How does the ratio of map to reduce slots (ρ) influence the final makespan, and can it be optimized?

Key findings

  • The UAAS algorithm achieves optimal makespan by satisfying all conditions of Johnson’s model, enabling a 1-approximation solution.
  • Unlike MK_JR (a 3-approximation algorithm), UAAS guarantees optimal performance, reducing makespan by up to 86.17% in tested scenarios.
  • The job ordering of UAAS remains stable under changes in cluster size (e.g., node failures), while MK_JR and BalancedPools produce inconsistent and suboptimal orders.
  • The optimal slot ratio ρ depends on workload characteristics, job order, and total available slots, as formalized in the derived equation for C_max.
  • Extensive theoretical analysis confirms that UAAS outperforms heuristic alternatives like BalancedPools, which suffer from poor load balancing and fixed pool allocation.
  • The method ensures that all available map and reduce slots are fully utilized, minimizing idle time and maximizing system throughput.

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.