[Paper Review] Finishing Flows Quickly with Preemptive Scheduling
PDQ is a distributed, preemptive flow scheduling protocol for data centers that minimizes flow completion time and deadline misses by dynamically prioritizing flows using shortest job first (SJF) and earliest deadline first (EDF) scheduling. It achieves up to 30% lower average flow completion time than TCP, RCP, and D 3, and supports 3× more concurrent senders under deadline constraints.
Today's data centers face extreme challenges in providing low latency. However, fair sharing, a principle commonly adopted in current congestion control protocols, is far from optimal for satisfying latency requirements. We propose Preemptive Distributed Quick (PDQ) flow scheduling, a protocol designed to complete flows quickly and meet flow deadlines. PDQ enables flow preemption to approximate a range of scheduling disciplines. For example, PDQ can emulate a shortest job first algorithm to give priority to the short flows by pausing the contending flows. PDQ borrows ideas from centralized scheduling disciplines and implements them in a fully distributed manner, making it scalable to today's data centers. Further, we develop a multipath version of PDQ to exploit path diversity. Through extensive packet-level and flow-level simulation, we demonstrate that PDQ significantly outperforms TCP, RCP and D3 in data center environments. We further show that PDQ is stable, resilient to packet loss, and preserves nearly all its performance gains even given inaccurate flow information.
Motivation & Objective
- Address the poor flow completion time and high deadline miss rates in modern data centers due to fair-sharing transport protocols like TCP.
- Overcome the limitations of centralized scheduling by enabling distributed, scalable flow prioritization without global state knowledge.
- Design a lightweight, distributed protocol that supports preemption to dynamically reallocate bandwidth to higher-priority flows.
- Achieve low-latency performance comparable to centralized real-time schedulers while remaining compatible with existing network infrastructure.
- Demonstrate robustness to inaccurate flow size and deadline estimates, and evaluate performance under realistic datacenter workloads.
Proposed method
- Implement a distributed algorithm where switches collaboratively gather flow workload information and converge on allocation decisions without centralized control.
- Use a modified IP header with four fields (R_H, P_H, D_H, T_H) to carry scheduling metadata, enabling per-flow priority and preemption signaling.
- Introduce a shim layer that allows applications to specify flow deadlines and sizes, or estimate them implicitly, with minimal changes to end-hosts.
- Enable distributed preemption by allowing higher-priority flows to interrupt lower-priority ones, with fast switchover and deadlock prevention.
- Support multipath operation by splitting flows into subflows, improving reliability and performance through path diversity.
- Use a priority-based scheduling engine that dynamically reorders flows based on SJF or EDF criteria, with O(κ) per-packet processing for top-κ critical flows.
Experimental results
Research questions
- RQ1Can a fully distributed, preemptive scheduling protocol significantly reduce mean flow completion time in data center networks compared to fair-sharing protocols like TCP?
- RQ2Can preemptive scheduling reduce the number of deadline-missed flows in latency-sensitive workloads, especially when compared to non-preemptive approaches like D 3?
- RQ3How does PDQ perform under inaccurate or estimated flow size and deadline information, and does it maintain performance gains in such scenarios?
- RQ4To what extent can multipath flow splitting further improve performance and reliability in PDQ-based scheduling?
- RQ5Can PDQ be implemented efficiently with minimal hardware and software changes on existing data center switches?
Key findings
- PDQ reduces average flow completion time by approximately 30% compared to TCP, RCP, and D 3 across diverse datacenter workloads and topologies.
- PDQ supports up to three times more concurrent senders than D 3 while still meeting flow deadlines, demonstrating superior scalability under deadline constraints.
- PDQ maintains nearly all performance gains even with inaccurate flow size or deadline estimates, showing strong resilience to input uncertainty.
- The protocol is stable and resilient to packet loss, with minimal performance degradation under realistic network conditions.
- The multipath variant of PDQ (M-PDQ) achieves additional performance and reliability improvements by exploiting path diversity.
- PDQ’s distributed design enables efficient per-packet processing with O(κ) complexity for top-κ flows, making it scalable and practical for large data centers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.