On the Persistent-Idle Load Distribution Policy Under Batch Arrivals and Random Service Capacity

Rami Atar, Isaac Keslassy, Gal Mendelson, Ariel Orda, Shay VargaftikarXiv 2021 · DOI

Abstract

The Persistent-Idle (PI) load distribution policy was recently introduced as an appealing alternative to current low-communication load balancing techniques. In PI, servers only update the dispatcher when they become idle, and the dispatcher always sends jobs to the last server that reported being idle. PI is unique in that it does not seek to push the server queue lengths towards equalization greedily. Rather, it aggressively pulls the servers away from starvation. As a result, PI's analysis requires different tools than other load balancing approaches. So far, PI was proven to achieve the stability region for Bernoulli arrivals and deterministic and constant service capacities. Our main contribution is proving that PI achieves the stability region in a model with batch arrivals and random service capacities. Proving this result requires developing tighter bounds on quantities of interest and proving the fulfillment of a generalized version of the state-dependent drift criteria previously considered. We also present PI-Split, which allows batches to be split among idle servers and prove its stability. Finally, we conduct simulations comparing PI and PI-Split to other load balancing policies. Simulation results indicate that both achieve excellent performance for the model under consideration for a wide range of parameters.

Introduction

In large-scale distributed computing systems, the efficiency of the load distribution policy is critical to overall performance. A central dispatcher must allocate incoming tasks to a set of parallel servers to minimize latency and maximize throughput. While the Join-the-Shortest-Queue (JSQ) policy is known to be optimal in many settings, its implementation is often impractical due to high communication overhead; the dispatcher must query the state of every server for every incoming job.

To mitigate this, "reduced-state" or "token-based" policies like Join-the-Idle-Queue (JIQ) have gained popularity. In JIQ, servers notify the dispatcher only when they become idle. However, JIQ can struggle with stability issues in heterogeneous environments where server capacities vary. The Persistent-Idle (PI) policy offers a more robust alternative. Unlike traditional methods that "push" work to equalize queue lengths, PI "pulls" servers away from starvation by routing all incoming jobs to the server that most recently reported being idle.

System Model and the PI Policy

The PI policy operates on a simple yet effective principle: the dispatcher maintains the identity of the "Last-Idle" server. When a server's queue becomes empty, it sends a single message to the dispatcher. The dispatcher then directs all subsequent arrivals to this server until another server reports being idle.

This paper extends the analysis of PI to more complex, realistic scenarios involving:

  1. Batch Arrivals: Jobs arrive in groups rather than individually.
  2. Random Service Capacity: Servers process jobs at varying rates, modeled as random variables.

The core philosophy of PI is its "aggressive" focus on keeping the most recently idled server busy. This approach naturally adapts to server heterogeneity without requiring the dispatcher to know specific service rates.

Theoretical Analysis

The primary contribution of this work is the formal proof that PI achieves the full stability region under these stochastic conditions. The stability region represents the maximum arrival rate the system can handle without queues growing indefinitely.

Markov Chain and Lyapunov Drift

The authors model the system as a discrete-time Markov chain. The state space includes the queue lengths of all servers and the index of the current Last-Idle server. To prove stability, the research employs Lyapunov Drift Analysis. By defining a Lyapunov function—a mathematical representation of the system's total "energy" or congestion—the authors demonstrate that the system exhibits a negative drift toward a stable state whenever the total queue length exceeds a certain threshold.

State-Dependent Sampling

A significant technical hurdle in this proof was the randomness of the sampling intervals. Unlike deterministic models, the time until the next server becomes idle is a random variable. The authors developed a generalized version of state-dependent drift criteria to accommodate these unpredictable intervals, providing tighter bounds on the system's behavior than previously possible.

PI-Split: Enhancing Batch Handling

Recognizing that large batches can overwhelm a single server while others remain idle, the authors introduce PI-Split. In this variant, if multiple servers are known to be idle, an incoming batch is distributed among them using a "water-filling" approach. This ensures that idle capacity is utilized immediately, further reducing job completion times (JCT). The paper provides a rigorous proof that PI-Split also maintains system stability.

Simulation Results

The theoretical findings were validated through extensive discrete-event simulations involving 100 heterogeneous servers. The simulations tested various ratios of slow to fast servers (e.g., 10:90, 50:50, and 90:10).

Key findings include:

  • Stability: PI remained stable across the entire theoretical capacity region, even in highly heterogeneous scenarios where JIQ failed or performed poorly.
  • Efficiency: PI achieved performance comparable to JSQ with significantly lower communication overhead (at most one message per job/batch).
  • Latency: PI-Split demonstrated superior job completion times, outperforming other reduced-state schemes like Power-of-Two-Choices (JSQ(2)) in splittable workload scenarios.

Conclusion

This research solidifies the Persistent-Idle policy as a mathematically sound and practically viable solution for load balancing in modern data centers. By proving stability under batch arrivals and random service capacities, the authors bridge the gap between theoretical models and real-world system dynamics.

Future work remains in exploring the impact of network latency on the "I'm idle" signaling process and extending the model to distributed dispatcher architectures. Additionally, the observed performance of JIQ under batch splitting—which currently lacks a formal mathematical explanation—presents an intriguing avenue for further study.

Summary updated

Abstract

The Persistent-Idle (PI) load distribution policy was recently introduced as an appealing alternative to current low-communication load balancing techniques. In PI, servers only update the dispatcher when they become idle, and the dispatcher always sends jobs to the last server that reported being idle. PI is unique in that it does not seek to push the server queue lengths towards equalization greedily. Rather, it aggressively pulls the servers away from starvation. As a result, PI's analysis requires different tools than other load balancing approaches. So far, PI was proven to achieve the stability region for Bernoulli arrivals and deterministic and constant service capacities. Our main contribution is proving that PI achieves the stability region in a model with batch arrivals and random service capacities. Proving this result requires developing tighter bounds on quantities of interest and proving the fulfillment of a generalized version of the state-dependent drift criteria previously considered. We also present PI-Split, which allows batches to be split among idle servers and prove its stability. Finally, we conduct simulations comparing PI and PI-Split to other load balancing policies. Simulation results indicate that both achieve excellent performance for the model under consideration for a wide range of parameters.
BibTeX
@misc{atar2021persistent,
  author = {Rami Atar and Isaac Keslassy and Gal Mendelson and Ariel Orda and Shay Vargaftik},
  title = {{On the Persistent-Idle Load Distribution Policy Under Batch Arrivals and Random Service Capacity}},
  year = {2021},
  eprint = {2103.12140},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.12140},
}

Loading related content...

Figure