Flowcut Switching: High-Performance Adaptive Routing With In-Order Delivery Guarantees

Tommaso Bonato, Daniele De Sensi, Salvatore Di Girolamo, Abdulla Bataineh, David Hewson, Duncan Roweth, Torsten Hoefler

This paper, presented by researchers from ETH Zurich, Sapienza University of Rome, and HPE, introduces Flowcut switching, a novel adaptive routing algorithm designed to solve a classic trade-off in high-performance networking: maximizing network utilization without the performance-killing side effects of out-of-order packets.

TL;DR

Flowcut switching provides high-performance adaptive routing while guaranteeing in-order packet delivery by tracking in-flight data and only changing paths when a flow has "drained" from the network. It outperforms traditional ECMP and Flowlet switching, particularly for non-bursty RDMA traffic, and can be implemented entirely in NIC software or firmware.

What Problem Does This Paper Address?

Modern data center topologies (like Fat-trees and Dragonflies) offer multiple paths between any two nodes. To use this bandwidth effectively, networks use adaptive routing to move traffic away from congested links.

The "gold standard" for utilization is per-packet adaptive routing, but it has a fatal flaw: packets taking different paths arrive at different times, leading to out-of-order (OOO) delivery. For protocols like RoCE (RDMA over Converged Ethernet), TCP, and QUIC, OOO packets are disastrous. They force the CPU to spend massive cycles reordering data or, worse, trigger expensive retransmissions.

Existing solutions like Flowlet switching try to mitigate this by only changing paths during natural "gaps" in a bursty traffic stream. However, Flowlets don't guarantee in-order delivery (if the gap is too small, packets still overlap) and they fail miserably with the steady, non-bursty traffic common in high-performance RDMA workloads.

Methods

The core idea of Flowcut is simple but powerful: never change a flow's path while packets are still in flight.

  1. Flowcut Tracking: The ingress switch (or NIC) maintains a table of active flows. It tracks the number of "in-flight" bytes for each flow.
  2. ACK-based Draining: When the egress switch receives a packet, it sends a small acknowledgment (ACK) back to the ingress. The ingress decrements the in-flight counter.
  3. Path Selection: A flow is only eligible for a new (potentially less congested) path when its in-flight counter hits zero. This "cut" in the flow ensures that no packet from the new path can "overtake" a packet from the old path.
  4. Forced Draining: Unlike Flowlets, which wait for a natural pause, Flowcut can force a pause. If the ingress detects congestion (via RTT measurements), it can tell the source NIC to pause the flow. Once the in-flight packets clear, the flow resumes on a fresh, non-congested path.
This diagram illustrates the Flowcut mechanism, showing how a flow is paused and resumed on a different path (Switch B) once the previous packets have cleared.

The authors propose three deployment models: Full switch (state at every hop), Ingress-only, and NIC-only. The NIC-only version is particularly attractive as it requires no specialized switch hardware.

Datasets

The authors evaluated Flowcut using the SST (Structural Simulation Toolkit) on 1,024-node Fat-tree and Dragonfly topologies. They used several traffic patterns and real-world traces:

  • Real-world Traces: Web Search, Enterprise, and Alibaba (distribution shown in Figure 6).
  • Microbenchmarks: Permutation, All-to-all, and Random Uniform distributions.
  • Empirical Validation: Results from a real-world HPE Slingshot system with 2,048 endpoints.
The message size distributions for the various workloads used in the evaluation.

Key Insights and Ideas

  • Deterministic vs. Probabilistic: Flowlet switching is probabilistic; you hope the gap is big enough. Flowcut is deterministic; it knows the path is clear.
  • Creating Gaps: The "aha moment" is that we don't have to wait for the application to stop sending. By briefly pausing a flow (draining), we can safely move it to a better path. The small latency penalty of the pause is usually dwarfed by the throughput gains of escaping a congested link.
  • Parameter Robustness: Flowlet switching is notoriously hard to tune—the "optimal" timeout window changes wildly depending on the workload (see Figure 1). Flowcut is much more stable; as long as the RTT threshold is reasonable, it performs well across different traffic types.
Figure 1 shows how the optimal timeout for Flowlet switching varies significantly across different applications, highlighting the difficulty of tuning.

Key Results

  • Performance: Flowcut improves Flow Completion Time (FCT) by up to 50% compared to ECMP and up to 40% compared to Flowlet switching.
  • Resilience: In scenarios with link failures, Flowcut outperforms ECMP by 5x, as it can actively steer traffic away from the degraded paths.
  • Implementation Efficiency: The NIC-only version performs within 10% of the "Full Switch" version, proving that this can be deployed on commodity hardware with programmable NICs.
  • Real-world Success: On the HPE Slingshot system, Flowcut (running in "ordered mode") achieved throughput remarkably close to "unordered" (per-packet) routing while maintaining strict delivery guarantees.

Limitations and Future Work

  • Packet Loss: Flowcut relies on ACKs to decrement in-flight counters. If a packet or an ACK is lost, the counter might never reach zero, potentially "hanging" the flow. The authors suggest a safety timeout on the source host to resume transmission in such cases.
  • Memory Constraints: While the memory footprint is manageable for most data center scales (see Figure 4), extremely high-radix switches with millions of concurrent flows might face challenges with the "Full Switch" implementation.
  • Congestion Control Interaction: While Flowcut is orthogonal to congestion control (like DCQCN), the authors note that future work could explore tighter integration between path selection and rate control.
Memory occupancy analysis showing that Flowcut's state requirements are well within the limits of modern switch and NIC hardware.

Summary updated

BibTeX
@article{bonato2026flowcut,
  author = {Tommaso Bonato and Daniele De Sensi and Salvatore Di Girolamo and Abdulla Bataineh and David Hewson and Duncan Roweth and Torsten Hoefler},
  title = {{Flowcut Switching: High-Performance Adaptive Routing With In-Order Delivery Guarantees}},
  journal = {IEEE Trans. Netw.},
  year = {2026},
  doi = {10.1109/ton.2025.3636209},
}
Figure