Abstract
This work addresses the long-standing challenge of determining the optimal queue-size scaling in input-queued switches under heavy traffic. By introducing a novel scheduling policy that utilizes a three-phase batching approach, the authors improve the upper bound for expected total queue size from $O(n^3)$ to $O(n^{2.5} \log n)$ in the critical regime where the load factor $\rho = 1 - 1/n$. This result significantly narrows the gap toward the conjectured optimal scaling of $\Theta(n^2)$.
Introduction
At the core of modern internet routers lies the input-queued switch, typically modeled as an $n \times n$ grid where packets arrive at $n$ input ports destined for $n$ output ports. The fundamental scheduling constraint is that in any single time slot, an input can send at most one packet and an output can receive at most one. Mathematically, this requires finding a matching in a bipartite graph for every time slot.
A primary metric for switch performance is the total queue size—the sum of all packets waiting to be served. Researchers seek to understand how this size scales as the switch size ($n$) increases and the traffic load factor ($\rho$) approaches 1. While it is conjectured that the optimal scaling should be $\Theta(n/(1-\rho))$, or $\Theta(n^2)$ when $\rho = 1 - 1/n$, proving this has remained elusive. Prior to this work, the best-known upper bound for the heavy traffic regime was $O(n^3)$.
The Proposed Multi-Phase Batching Policy
The authors propose a sophisticated variation of a batching policy to overcome the inefficiencies of traditional methods. In standard batching, time is divided into intervals; packets arriving in one interval are served only in the next. While stable, this often leads to high latency as packets must wait for an entire arrival interval to conclude before service begins.
The new policy employs a three-phase approach for each batch of length $b$:
- Round-Robin Phase: Instead of waiting for the full batch to arrive, the switch begins service early using a fixed sequence of schedules. Under uniform traffic, the authors demonstrate that stochastic fluctuations are small enough that a simple round-robin schedule is highly effective, ensuring almost no service capacity is wasted even before all packets have arrived.
- Normal Clearing Phase: After the arrival interval ends, the switch uses an optimal clearing policy to process any remaining packets from that specific batch.
- Backlog Clearing Phase: Rare "leftover" packets resulting from extreme statistical fluctuations are handled in a final phase to maintain long-term stability.
By offsetting the service period from the arrival period by a carefully chosen delay $d$, the policy balances the need for regularity (waiting for enough packets to arrive) against the need for low latency.
Key Results and Scaling Improvements
The primary contribution of this work is a tighter upper bound for the expected total queue size across various traffic regimes. The most significant improvement occurs in the critical regime where $1/(1-\rho) = n$.
As shown in the table above, for a load $\rho = 1 - 1/f_n$ (where $f_n \ge n$), the queue size scales as $O(n^{1.5} f_n \log f_n)$. Specifically, when $f_n = n$, the bound becomes $O(n^{2.5} \log n)$, a substantial improvement over the previous $O(n^3)$ state-of-the-art.
Discussion and Future Work
While this work represents a major step forward, several challenges remain. The current proofs rely on the assumption of uniform arrival rates across all input-output pairs. Adapting this policy for non-uniform traffic increases mathematical complexity significantly. Furthermore, a gap still exists between the $n^{2.5}$ result and the $n^2$ lower bound. Future research may explore adaptive policies that adjust to traffic patterns earlier in the batching process to potentially reach the conjectured $O(n^2)$ limit.
Summary updated