Optimal Heavy-Traffic Queue Length Scaling in an Incompletely Saturated Switch

Siva Theja Maguluri, Sai Kiran Burle, R. Srikant

Introduction

In the architecture of modern internet routers and data center networks, the $n \times n$ input-queued switch serves as the fundamental model for data movement. To manage the flow of packets, scheduling algorithms must decide which inputs connect to which outputs at any given microsecond. Among these, the MaxWeight algorithm has long been considered the "gold standard" due to its throughput-optimality—its ability to handle any traffic load within the physical capacity of the system.

While throughput is a critical metric, the latency or delay experienced by packets is equally vital for network performance. Previous research established that MaxWeight achieves optimal queue length scaling when every port in a switch is pushed to its absolute limit (uniform saturation). However, real-world traffic patterns are rarely uniform; typically, some ports are heavily congested while others remain idle. This paper provides a rigorous mathematical proof that MaxWeight remains highly efficient even under these "incompletely saturated" conditions.

The Problem: Beyond Uniform Saturation

The primary challenge addressed in this research is whether MaxWeight scales optimally when traffic is asymmetric. In an incompletely saturated switch, only a subset of input and output ports operate at capacity. Does the total queue length—and by extension, the packet delay—remain manageable as the switch size $n$ increases?

Existing proofs relied heavily on the symmetry of full saturation. By breaking this symmetry, the authors had to develop new techniques to analyze the "messy" traffic conditions that characterize actual network environments. Their goal was to determine if the total queue length grows linearly ($O(n)$) or quadratically ($O(n^2)$) with the switch size.

Methodology: Heavy-Traffic Analysis and Geometry

The authors employ Heavy-Traffic Analysis, studying the system as the arrival rate approaches the boundary of the system's capacity (where the load parameter $\epsilon \to 0$). Their approach rests on three pillars:

  1. State-Space Collapse (SSC): In heavy-traffic regimes, the complex, $n^2$-dimensional vector representing all possible queues tends to "collapse" into a much lower-dimensional subspace. This simplification allows for a more tractable analysis of the system's behavior.
  2. Novel Lyapunov Test Function: Because the symmetry of the system is broken in the incompletely saturated case, the authors developed a new test function. This function is based on the projection of the queue length vector onto a specific subspace ($S_{n_1 n_2}$) defined by the $n_1$ saturated input ports and $n_2$ saturated output ports.
  3. Drift Technique: By analyzing the "drift" (the expected change) of this Lyapunov function and setting it to zero in a steady state, the authors derived tight upper and lower bounds for the queue lengths.

This methodology revealed a unique Geometry of Congestion. The authors identified that queue lengths concentrate near a "cone" ($K_{n_1 n_2}$) formed by the intersection of the hyperplanes of the saturated ports. This geometric insight confirms that MaxWeight's prioritization of longer queues naturally compensates for the lack of symmetry in the traffic pattern.

Key Results: Linear Scaling and Constant Delay

The paper's findings offer strong theoretical support for the robustness of MaxWeight:

  • Linear Scaling ($O(n)$): The total heavy-traffic-scaled queue length is shown to scale linearly with the switch size. This means that if the number of ports in a router doubles, the total number of buffered packets only doubles, rather than increasing by a factor of four.
  • Constant Delay ($O(1)$): By applying Little’s Law—which relates queue length, throughput, and delay—the authors show that because both total queue length and throughput scale as $O(n)$, the average delay experienced by a packet remains constant ($O(1)$) regardless of how large the switch becomes.
  • Theorem 1 and Corollary 4: Theorem 1 provides an exact characterization of the linear combination of queue lengths in the heavy-traffic limit. For the specific case of Bernoulli arrivals (Corollary 4), the authors demonstrate that for a switch with $n_1$ saturated inputs and $n_2$ saturated outputs, the total scaled queue length is exactly $\frac{n_1 + n_2}{2} (1 - \frac{1}{n})$.

Implications and Future Work

These results confirm that MaxWeight is not just throughput-optimal, but also delay-optimal in realistic, asymmetric scenarios. However, the study also highlights a "Factor of Two" gap between the derived results and the universal lower bound. It remains an open question whether this gap exists because the lower bound is loose or because MaxWeight is slightly sub-optimal.

Furthermore, while MaxWeight is theoretically optimal, its computational complexity—finding a Maximum Weight Matching in a large switch is $O(n^3)$—remains a hurdle for hardware implementation. Future research may focus on whether simpler, more practical algorithms can mimic this optimal $O(n)$ scaling with significantly less computational overhead.

Summary updated

BibTeX
@article{maguluri2016optimal,
  author = {Siva Theja Maguluri and Sai Kiran Burle and R. Srikant},
  title = {{Optimal Heavy-Traffic Queue Length Scaling in an Incompletely Saturated Switch}},
  journal = {ACM SIGMETRICS Performance Evaluation Review},
  year = {2016},
}
Figure