Abstract
Co-flow scheduling is a critical task in modern data centers, where parallel data transfers must be coordinated to minimize job completion times. This paper presents a framework for a $(2 + \epsilon)$-approximation algorithm for minimizing total weighted completion time. The approach utilizes a Configuration Linear Program (LP) solved via a min-cost flow separation oracle, followed by a continuous rounding process that reduces the problem to deadline-constrained scheduling. While the authors later identified a flaw in the final rounding step, the framework provides a significant step toward achieving the theoretical lower bound of 2.
Introduction
In modern data center environments running frameworks like MapReduce or Spark, computation is frequently interleaved with massive communication phases. These communication patterns are modeled as co-flows: a collection of parallel flows (packets) between input and output ports that belong to the same job. A co-flow is considered complete only when its final packet arrives at its destination.
The objective is to minimize the Total Weighted Completion Time, a problem complicated by the "all-or-nothing" nature of co-flows and physical network constraints. Specifically, a port can only send or receive one unit of data at a time, requiring a valid schedule to be a bipartite matching at any given moment. Prior to this work, the best-known algorithms offered a 4-approximation. The authors aimed to close the gap to a factor of 2, which is the theoretical lower bound for this class of scheduling problems.
The Configuration LP Framework
To overcome the weaknesses of standard time-indexed Linear Programs, the authors employ a Configuration LP. In this model, variables represent complete, feasible schedules for individual jobs rather than per-packet decisions. This approach captures the internal structure of co-flows more effectively.
Although this formulation results in exponentially many variables, the authors demonstrate that it can be solved in polynomial time using a Separation Oracle. This oracle is constructed as a min-cost flow problem, allowing for efficient navigation of the configuration space.
Continuous Rounding and Deadlines
Once the fractional LP solution is obtained, the algorithm proceeds through a three-stage rounding process:
- Smearing and Stretching: The fractional matchings are "smeared" across time slots and then "stretched" horizontally by a random factor (which can be derandomized). This transformation defines a "tentative deadline" for each job based on its completion time in the continuous schedule.
- Deadline Discovery: These deadlines serve as a bridge, converting the global optimization problem (minimizing the sum of completion times) into a series of feasibility problems.
- Reduction to Deadline-Constrained Scheduling: The final step involves finding an integral schedule that meets these discovered deadlines. A key advantage of this framework is its ability to handle job release times naturally without degrading the approximation ratio.
Results and Identified Limitations
The paper initially claimed a $(2 + \epsilon)$-approximation for the general case and a deterministic 2-approximation for polynomially bounded parameters. If fully realized, this would effectively "close" the problem, as it is NP-hard to approximate better than a factor of 2.
However, the authors candidly included an "Authors' Note" in subsequent revisions acknowledging a flaw in Section 4.2. The final step—finding an integral schedule that meets the discovered deadlines—was reduced to a flow problem. In reality, determining if a bipartite graph can meet specific edge-deadlines via matchings is NP-hard. Consequently, the algorithm does not yet provide a complete 2-approximation.
Conclusion and Future Work
Despite the identified flaw in the final rounding step, the paper's primary contributions—the Configuration LP and the deadline-discovery framework—remain robust. The work shifts the focus of the co-flow scheduling community toward finding a correct rounding algorithm for the final deadline-constrained step. The authors published the manuscript to encourage further research into achieving a better-than-4-approximation using this sophisticated framework.
Summary updated