Load balancing with heterogeneous schedulers

Urtzi Ayesta, Manu K. Gupta, Ina Maria VerlooparXiv 2018

TL;DR

This paper tackles the challenge of efficiently routing incoming jobs to a pool of servers, each with potentially different processing speeds and scheduling policies (like First-Come-First-Served or Processor-Sharing). They introduce a novel closed-form solution for a key performance metric called "Whittle's index" in this heterogeneous environment, enabling a more intelligent dispatching strategy that significantly outperforms traditional methods.

What Problem Does This Paper Address?

In modern distributed systems (like web servers or cloud platforms), efficiently distributing incoming tasks (jobs) across multiple servers is crucial for performance. A common assumption in load balancing research is that all servers are identical – they have the same speed and use the same scheduling policy. However, real-world systems often feature heterogeneous servers. This paper addresses the problem of designing an optimal load balancing strategy when servers have different scheduling disciplines, specifically those belonging to the "limited processor sharing" (LPS-d) family, which includes FCFS (d=1) and Processor Sharing (d=∞) as special cases. The challenge lies in how a central dispatcher can make informed decisions about where to send incoming jobs to optimize overall system performance, considering these server differences.

Methods

The authors frame the load balancing problem as a "restless bandit" problem, a powerful mathematical framework for sequential decision-making under uncertainty. To derive an optimal policy, they employ Whittle's relaxation technique, which allows them to relax a hard constraint (only one job can be dispatched at a time) into an average-time constraint. This relaxation enables them to decompose the problem into smaller, independent subproblems for each server.

The core methodological contribution is deriving a closed-form expression for Whittle's index for LPS-d servers. Whittle's index is a crucial metric that guides the optimal dispatching policy in restless bandit problems. Having a closed-form expression allows for efficient computation and analysis of the policy's behavior. They then use this index to propose a "Whittle's index policy" as a heuristic for the original, harder problem with the strict dispatching constraint.

Datasets

Not discussed in the paper. The paper focuses on theoretical modeling and numerical simulations rather than experiments on real-world datasets.

Key Insights and Ideas

  • Heterogeneity Matters: The scheduling discipline (the value of 'd' in LPS-d) of a server can significantly impact the optimal load balancing strategy, especially when considering performance metrics beyond just average throughput (like mean-variance trade-offs).
  • Whittle's Index as a Unified Metric: The derived closed-form Whittle's index provides a single, computable value for each server state that encapsulates its desirability for job dispatching, considering both its speed and its scheduling policy.
  • Beyond Simple Queue Length: Traditional policies like Join-the-Shortest-Queue (JSQ) are "blind" to server characteristics. Whittle's index policy, by contrast, intelligently incorporates server speed and scheduling discipline, leading to superior performance.
  • Impact of 'd' Varies: For simple linear cost functions, server speed ('q') is the dominant factor. However, for more complex objectives like balancing mean and variance, the scheduling discipline ('d') plays a much more critical role.
  • Near-Optimal Performance: The proposed Whittle's index policy is shown to be very close to optimal, significantly outperforming standard dispatching rules like JSQ and JSEW.

Key Results

  • Closed-form Whittle's Index: The paper provides a novel closed-form expression for Whittle's index for LPS-d servers, enabling practical application.
  • Performance Gains: Numerical experiments demonstrate that the Whittle's index policy significantly outperforms JSQ and JSEW, with relative performance differences of up to 75% in some scenarios.
  • Near-Optimal for Complex Objectives: For a mean-variance trade-off cost criterion, the Whittle's index policy's behavior is strongly influenced by the LPS-d parameter, highlighting its ability to adapt to nuanced performance goals.
  • Minimal Difference from Optimal: The Whittle's index policy achieves performance very close to the true optimal policy, with relative differences typically less than 3%.

Limitations and Future Work

  • Blocking Cost: The paper considers blocking as a possibility, but the impact of very high blocking costs is noted as a simplification.
  • Batch Arrivals: The model assumes at most one job arrival per time slot. The authors suggest extending the framework to handle batch arrivals.
  • Many-Server Regime: The current analysis focuses on a moderate number of servers. Future work could explore the "mean-field regime" for a large number of servers, which might yield simpler analytical results.
  • Multiple Dispatchers: Real-world data centers often have multiple dispatchers. Extending the model to capture the interactions between multiple dispatchers is a promising avenue.
  • Stability Analysis: While numerical results suggest stability, a formal proof of stability for the Whittle's index policy in all load balancing scenarios is an open question.

Summary updated

BibTeX
@misc{ayesta2018load,
  author = {Urtzi Ayesta and Manu K. Gupta and Ina Maria Verloop},
  title = {{Load balancing with heterogeneous schedulers}},
  year = {2018},
  eprint = {1810.07782},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1810.07782},
}
Figure