Optimal Multiserver Scheduling with Unknown Job Sizes in Heavy Traffic

Ziv Scully, Isaac Grosof, Mor Harchol-Balter · DOI

Introduction

In modern computing infrastructure, from cloud-based web servers to large-scale databases, the efficiency of job scheduling is paramount. The primary objective is typically to minimize the mean response time—the average duration from a job's arrival to its completion. While the optimal strategy is well-understood when job sizes are known (the Shortest Remaining Processing Time or SRPT policy), real-world systems often operate with unknown job sizes.

For single-server systems ($k=1$), the Gittins policy has long been established as the optimal approach for unknown job sizes. However, extending this to multiserver environments ($k \geq 2$) has proven to be a significant mathematical challenge, often described as "intractable."

Comparison between single-server and k-server systems.

This paper resolves this long-standing open problem by analyzing the $M/G/k$ queue—characterized by Poisson arrivals and general job size distributions—specifically in the heavy traffic regime, where the system load $\rho$ approaches its maximum capacity of 1.

The Monotonic Gittins (M-Gittins) Policy

The authors' breakthrough lies in the introduction of the Monotonic Gittins (M-Gittins) policy. The standard Gittins policy assigns a priority "rank" based on a job's current age. A major hurdle in multiserver analysis is that this rank can oscillate; as a job ages, its priority might increase and decrease multiple times. This non-monotonicity makes it impossible to bound the delay caused by other "relevant work" in the system.

M-Gittins solves this by applying a "monotonicity fix." It defines the rank as the running maximum of the standard Gittins rank, ensuring that a job's priority only ever decreases (and its rank only increases) as it accumulates processing time.

The Monotonic Gittins rank function as a running maximum of the standard Gittins rank.

This modification makes the multiserver system analytically tractable. By using a "tagged job" method—tracking a single job and bounding the work that can delay it—the authors demonstrate that M-Gittins behaves similarly to an optimal single-server system in heavy traffic.

Key Results and Practical Implications

The research provides several critical theoretical and practical contributions:

  1. Heavy-Traffic Optimality: Theorem 3.1 establishes that M-Gittins is optimal for the $M/G/k$ queue as $\rho \to 1$ for a broad class of job size distributions with finite variance.
  2. M-SERPT as a Robust Alternative: The authors also analyze M-SERPT (Monotonic Shortest Expected Remaining Processing Time). While M-Gittins is optimal, M-SERPT is proven to be a "2-approximation," meaning its mean response time is at most twice that of the optimal policy in heavy traffic. This offers a simpler, more computationally efficient alternative for practitioners.
  3. The Impact of Information: A fascinating insight from the scaling laws (Theorem 3.3) is that for heavy-tailed distributions (like Pareto), the lack of information about job sizes does not asymptotically degrade performance; Gittins scales as well as SRPT. Conversely, for light-tailed distributions (like Exponential), knowing the job size provides a significant asymptotic advantage.

Conclusion and Future Directions

By forcing monotonicity, the authors have bridged the gap between single-server theory and multiserver reality. While the current proofs focus on the heavy traffic limit, M-Gittins is conjectured to be highly effective across all load levels, potentially serving as a 3-approximation even at low loads. Future research may apply these "hill-valley" integration techniques to other complex scheduling problems, such as First-Come-First-Served (FCFS) in multiserver settings or systems with preemption overhead.

Summary updated

BibTeX
@article{scully2021optimal,
  author = {Ziv Scully and Isaac Grosof and Mor Harchol-Balter},
  title = {{Optimal Multiserver Scheduling with Unknown Job Sizes in Heavy Traffic}},
  journal = {Perform. Evaluation},
  year = {2021},
  doi = {10.1016/j.peva.2020.102150},
}
Figure