NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Optimal Weighted-Delay Scheduling in $2\times 2$ Input-Queued Switches

Yingdong Lu, Siva Theja Maguluri, Mark S. Squillante, Tonghoon Suk, Xiaofan WuarXiv 2017 · DOI

Abstract

Motivated by few delay-optimal scheduling results, in comparison to results on throughput optimality, we investigate a canonical input-queued switch scheduling problem in which the objective is to minimize the discounted delay cost over an infinite time horizon. We derive an optimal scheduling policy and establish corresponding theoretical properties, which are expected to be of interest more broadly than input-queued switches. Computational experiments demonstrate and quantify the benefits of our optimal scheduling policy over alternative policies such as variants of MaxWeight scheduling, well-known to be throughput optimal and more recently shown to be delay optimal in the heavy-traffic regime limit.

Introduction

Input-queued (IQ) switches are the fundamental building blocks of modern internet routers and data center networks. For decades, the "MaxWeight" scheduling policy has been the gold standard because it is throughput-optimal—it keeps the system stable as long as the arrival rates are within the switch's capacity.

However, throughput isn't everything. In the era of cloud computing and high-frequency trading, delay (latency) is often the more critical metric. While MaxWeight is known to be delay-optimal in the extreme "heavy-traffic" limit (when the switch is nearly 100% loaded), its performance in general scenarios is less understood. This paper tackles the "hard" problem of finding a scheduling policy that minimizes the discounted delay cost over an infinite time horizon for a canonical $2 \times 2$ switch.

Methodology

The authors frame the scheduling problem as a Markov Decision Process (MDP). Their goal is to minimize the discounted sum of weighted queue lengths, which, by Little’s Law, is equivalent to minimizing delay. Key methodological steps include:

  • Reward Equivalence: Proving that minimizing delay is mathematically equivalent to maximizing the weighted service rate.
  • State Space Partitioning: Dividing the possible states of the four queues in a $2 \times 2$ switch into three regions:
  • Trivial Boundary: States where all non-empty queues can be served simultaneously.
  • Interior Region: States where all queues are non-empty. Here, the $c\mu$ policy (prioritizing queues with the highest cost-rate product) is proven optimal.
  • Critical Boundary: The most complex region, where some queues are empty and choices must be made between competing schedules.
  • Value Iteration: Establishing structural properties of the optimal value function to prove the existence of an optimal "switching curve" for the critical boundary.
  • Look-Ahead Policy: Proposing a "look-ahead" algorithm that uses a finite number of value iterations to approximate the optimal policy for general cases.

Key Insights and Results

The Switching Curve

In the critical boundary, the optimal decision depends on a "switching curve." This curve dictates when the system should switch from serving one set of queues to another, based on specific arrival rates and costs. The paper demonstrates that MaxWeight is not delay-optimal in general because it fails on these boundaries by not accounting for the statistics of future arrivals.

Performance Gains

In simulations featuring i.i.d. Bernoulli arrival processes and various traffic intensities ($\rho$), the proposed look-ahead policy outperformed the weighted MaxWeight (C-MWS) policy with an optimality gap of 7% to 16%.

Heavy Traffic and Symmetry

While all policies converge toward the same lower bound in the heavy-traffic limit, the authors' policy (MSMW) reaches a lower limiting constant (approx. 0.65) compared to MaxWeight (0.75) in the symmetric case. For symmetric arrivals and unit costs, the authors provide a simple, explicit optimal algorithm that prioritizes size-2 schedules and breaks ties by serving the longest queue.

Conclusion and Future Work

This research establishes that the "universal lower bound" often cited in literature for switch delay may not be tight, as the optimal policy still leaves a measurable gap above it. While the exact analysis is currently limited to a $2 \times 2$ switch due to the factorial growth of state space complexity in larger $N \times N$ switches, the insights regarding boundary regions motivate new heuristic policies for larger, more general input-queued switches. Future work may also address real-world network traffic that is bursty or correlated, potentially altering the shape of the optimal switching curves.

Summary updated

BibTeX
@misc{lu2017optimal,
  author = {Yingdong Lu and Siva Theja Maguluri and Mark S. Squillante and Tonghoon Suk and Xiaofan Wu},
  title = {{Optimal Weighted-Delay Scheduling in $2\textbackslash\{\}times 2$ Input-Queued Switches}},
  year = {2017},
  eprint = {1704.02302},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.02302},
}
Figure