Scheduling Flows on a Switch to Optimize Response Times
Preprint
Abstract
We study the scheduling of flows on a switch with the goal of optimizing metrics related to the response time of the flows. The input to the problem is a sequence of flow requests on a switch, where the switch is represented by a bipartite graph with a capacity on each vertex (or port), and a flow request is an edge with associated demand. In each round, a subset of edges can be scheduled subject to the constraint that the total demand of the scheduled edges incident on any vertex is at most the capacity of the vertex. Previous work has essentially settled the complexity of metrics based on {\em completion time}. The objective of average or maximum {\em response time}, however, is much more challenging. We present approximation algorithms for flow scheduling over a switch to optimize response time based metrics. For the average response time metric, whose NP-hardness follows directly from past work, we present an offline $O(1 + O(\log(n))/c)$ approximation algorithm for unit flows, assuming that the port capacities of the switch can be increased by a factor of $1 + c$, for any given positive integer $c$. For the maximum response time metric, we first establish that it is NP-hard to achieve an approximation factor of better than 4/3 without augmenting capacity. We then present an offline algorithm that achieves {\em optimal maximum response time}, assuming the capacity of each port is increased by at most $2 d_{max} - 1$, where $d_{max}$ is the maximum demand of any flow. Both algorithms are based on linear programming relaxations. We also study the online version of flow scheduling using the lens of competitive analysis, and present preliminary results along with experiments that evaluate the performance of fast online heuristics.
Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- SRPT for multiserver systemsPerformance Evaluation, 2018
- An Improved Bound for Minimizing the Total Weighted Completion Time of Coflows in DatacentersIEEE/ACM Transactions on Networking, 2018
- Rapier: Integrating routing and scheduling for coflow-aware data center networks2015
- Software-Defined Networking: A Comprehensive SurveyProceedings of the IEEE, 2014
- Why flow-completion time is the right metric for congestion controlACM SIGCOMM Computer Communication Review, 2006
- Randomized scheduling algorithms for high-aggregate bandwidth switchesIEEE Journal on Selected Areas in Communications, 2003
- Scheduling to Minimize Max Flow Time: Offline and Online AlgorithmsLecture Notes in Computer Science, 2003
- Minimizing mean flow time with release time constraintTheoretical Computer Science, 1990
- An Approximation Algorithm for Diagnostic Test Scheduling in Multicomputer SystemsIEEE Transactions on Computers, 1985
- On the Complexity of Timetable and Multicommodity Flow ProblemsSIAM Journal on Computing, 1976