Scheduling Opportunistic Links in Two-Tiered Reconfigurable Datacenters

Janardhan Kulkarni, Stefan Schmid, Pawel Schmidt

Introduction

Modern datacenter networks are increasingly moving away from static topologies toward reconfigurable optical architectures. While traditional Fat-Tree networks provide reliable connectivity, they are often inefficient at handling "skewed" and "bursty" traffic patterns, where a few pairs of racks (elephant flows) dominate the bandwidth. Reconfigurable topologies allow the network to physically adapt by creating "opportunistic links" or shortcuts between busy racks on the fly.

However, managing these links requires sophisticated online scheduling. The challenge is to decide, in real-time and without knowledge of future traffic, which optical links to create to minimize the total Flow Completion Time (FCT). This paper addresses this problem specifically for two-tier models (such as Microsoft’s ProjecToR), where traffic must pass through intermediate transmitters and receivers, adding significant complexity over single-switch scheduling.

The Two-Tier Network Model

In the two-tier architecture, traffic moves from a source Top-of-Rack (ToR) switch to a transmitter (e.g., a laser), then to a receiver (e.g., a photodetector), and finally to the destination switch. This structure introduces unique blocking constraints that must be managed by the scheduler.

Figure 1: The two-tier network topology (left) and an example transmission schedule for five packets (right).

As illustrated in Figure 1, the network consists of sources $s_i$, transmitters $t_i$, receivers $r_i$, and destinations $d_i$. The accompanying table shows how packets $p_1$ through $p_5$ are assigned to specific edges and transmission times to navigate this hierarchy.

The ALG Scheduling Framework

The authors propose a new online algorithm, ALG, which decomposes the problem into two main tasks:

  1. The Dispatcher: When a packet arrives, the dispatcher must immediately decide whether to send it via a slow, fixed link or assign it to a specific transmitter-receiver pair. It uses a "greedy-dispatch" policy that estimates the "worst-case impact" (latency increase) on the system and chooses the path that minimizes this impact.
  2. The Scheduler: At every time step, the scheduler examines the queues of packets waiting for reconfigurable links. It treats the transmitters and receivers as two sides of a bipartite graph and computes a stable matching. Packets with higher weights—representing those that have been waiting longer or are part of larger flows—are prioritized.
Figure 4: Examples of packet paths and the corresponding "impact" calculations used by the Dispatcher to make routing decisions.

Figure 4 demonstrates how the algorithm evaluates different packet sets ($\Pi$ and $\Pi'$) to calculate the "impact" of a routing decision, ensuring that the dispatcher balances the load effectively across the available optical components.

Theoretical Analysis and Key Results

Because this is a theoretical study, the authors use Dual Fitting and Linear Programming (LP) to prove performance bounds. They demonstrate that their algorithm is robust against any possible traffic pattern, no matter how unpredictable.

  • Resource Augmentation: The authors highlight that competitive online scheduling is mathematically impossible without "speedup." By giving the online algorithm a $2 + \epsilon$ speedup (allowing it to process packets slightly faster than the offline baseline), they achieve provable stability.
  • Competitive Ratio: Under this speedup, the algorithm is proven to be $2 \cdot (2/\epsilon + 1)$-competitive. This means the total weighted latency of ALG is at most a small constant factor worse than the absolute best possible offline schedule that has full knowledge of future traffic.

Conclusion and Future Work

This research provides a rigorous mathematical framework for optimizing modern datacenter performance through reconfigurable links. By combining greedy dispatching with stable matching, the ALG algorithm offers a practical approach to managing two-tier optical architectures. Future research directions include exploring randomized scheduling algorithms for potentially better competitive ratios and explicitly accounting for physical reconfiguration delays in the mathematical model.

Summary updated

BibTeX
@inproceedings{kulkarni2021scheduling,
  author = {Janardhan Kulkarni and Stefan Schmid and Pawel Schmidt},
  title = {{Scheduling Opportunistic Links in Two-Tiered Reconfigurable Datacenters}},
  booktitle = {SPAA},
  year = {2021},
  doi = {10.1145/3409964.3461786},
}
Figure