[Paper Review] Near-Data Scheduling for Data Centers with Multiple Levels of Data Locality
This paper proposes Balanced-Pandas, a novel load balancing algorithm for data centers with three levels of data locality (local memory, local disk, and remote). It extends JSQ-MW and Pandas by achieving both throughput and heavy-traffic optimality, resolving a performance-throughput trade-off that existing algorithms fail to address in multi-level locality systems. To the best of our knowledge, it is the first theoretically rigorous solution for three-level data locality scheduling.
Data locality is a fundamental issue for data-parallel applications. Considering MapReduce in Hadoop, the map task scheduling part requires an efficient algorithm which takes data locality into consideration; otherwise, the system may become unstable under loads inside the system's capacity region and jobs may experience longer completion times which are not of interest. The data chunk needed for any map task can be in memory, on a local disk, in a local rack, in the same cluster or even in another data center. Hence, unless there has been much work on improving the speed of data center networks, different levels of service rates still exist for a task depending on where its data chunk is saved and from which server it receives service. Most of the theoretical work on load balancing is for systems with two levels of data locality including the Pandas algorithm by Xie et al. and the JSQ-MW algorithm by Wang et al., where the former is both throughput and heavy-traffic optimal, while the latter is only throughput optimal, but heavy-traffic optimal in only a special traffic load. We show that an extension of the JSQ-MW algorithm for a system with thee levels of data locality is throughput optimal, but not heavy-traffic optimal for all loads, only for a special traffic scenario. Furthermore, we show that the Pandas algorithm is not even throughput optimal for a system with three levels of data locality. We then propose a novel algorithm, Balanced-Pandas, which is both throughput and heavy-traffic optimal. To the best of our knowledge, this is the first theoretical work on load balancing for a system with more than two levels of data locality. This is more challenging than two levels of data locality as a dilemma between performance and throughput emerges.
Motivation & Objective
- To address the lack of theoretical load balancing solutions for data centers with more than two levels of data locality.
- To resolve the performance-throughput trade-off that emerges in systems with three data locality levels, where existing algorithms fail to achieve both optimality types.
- To design a scheduling algorithm that maintains low task completion times under high loads while ensuring system stability and throughput maximization.
- To formally prove that Balanced-Pandas achieves both throughput optimality and heavy-traffic optimality in a three-level locality model.
- To establish a theoretical foundation for near-data scheduling in modern data center architectures with hierarchical data access speeds.
Proposed method
- Extends the JSQ-MW and Pandas algorithms to model three distinct data locality levels: local memory, local disk, and remote storage.
- Introduces an ideal load decomposition mechanism that assigns workloads across four server types based on data proximity and service rates.
- Employs a queueing structure with four server types to model different data access delays and service rates, enabling precise load balancing.
- Uses fluid limit analysis and state space collapse techniques to prove stability and optimality under heavy traffic.
- Applies Lyapunov drift and martingale methods to bound queueing delays and establish convergence to optimal performance.
- Derives a novel scheduling rule that prioritizes tasks based on both queue length and data locality level, ensuring balanced load distribution.
Experimental results
Research questions
- RQ1Can a load balancing algorithm achieve both throughput optimality and heavy-traffic optimality in a system with three levels of data locality?
- RQ2Why do existing algorithms like JSQ-MW and Pandas fail to achieve heavy-traffic optimality in three-level systems?
- RQ3What structural and dynamic properties are necessary for a scheduling policy to balance performance and throughput in multi-level locality environments?
- RQ4How can workload be optimally decomposed across server types to reflect data locality and service rate differences?
- RQ5Is there a theoretical framework that can guarantee both stability and minimal task completion time in such hierarchical data center architectures?
Key findings
- Balanced-Pandas is proven to be both throughput optimal and heavy-traffic optimal in a system with three levels of data locality, resolving a key theoretical gap.
- The JSQ-MW algorithm, while throughput optimal, fails to achieve heavy-traffic optimality for general loads in three-level systems, only under special traffic conditions.
- The Pandas algorithm is not even throughput optimal in three-level systems, demonstrating a fundamental flaw in its design for multi-level locality.
- Simulation results show that Balanced-Pandas achieves significantly lower mean task completion times than JSQ-MW and Pandas, especially under high loads.
- The algorithm maintains stable queueing behavior across all server types, with workload ratios matching theoretical predictions in heavy-traffic regimes.
- The theoretical analysis confirms that Balanced-Pandas converges to optimal performance as system load approaches capacity, with bounds on delay that scale favorably with system size.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.