Abstract
Modern data center networks rely on multi-rooted topologies to provide high bisection bandwidth. To utilize these paths effectively, Random Packet Spraying (RPS) is often employed. However, RPS introduces significant packet reordering due to path asymmetry and congestion, which negatively impacts TCP performance. This paper discusses HTPC (Heterogeneous Traffic-aware Partition Coding), a novel transmission mechanism that addresses reordering by applying flow-specific redundancy. By distinguishing between short, latency-sensitive "mice" flows and long, throughput-sensitive "elephant" flows, HTPC reduces average flow completion times by up to 60% and tail latency by up to 83% compared to standard RPS.
Introduction: The Challenge of Packet Spraying
Data center architectures have evolved toward "multi-rooted tree" topologies, such as the Leaf-Spine model, to ensure massive scalability and bandwidth.
To exploit the multiple available paths between any two nodes, networks use Random Packet Spraying (RPS). While RPS maximizes link utilization, it suffers from a critical flaw: packet reordering. Because different paths through the spine switches may experience varying levels of congestion, packets from the same flow often arrive out of order. TCP interprets these gaps as packet loss, leading to unnecessary retransmissions, reduced congestion windows, and timeouts. This is particularly damaging for short flows (sensitive to tail latency) and long flows (sensitive to throughput collapse).
The HTPC Mechanism
HTPC introduces a coding layer between the TCP and IP layers at the end hosts. This implementation allows for "plug-and-play" compatibility without requiring modifications to existing network protocols or hardware.
Flow Discrimination and Partition Coding
The core innovation of HTPC is its "partition" strategy. It monitors the byte count of active flows to distinguish between short and long traffic. Instead of a uniform coding scheme, HTPC calculates optimal redundancy levels based on real-time congestion and flow type. Short flows receive higher redundancy to ensure immediate reconstruction at the receiver, bypassing the need for retransmissions. Long flows receive enough redundancy to prevent TCP timeouts, maintaining high throughput.
System Coding Efficiency
HTPC utilizes "System Coding," where source packets are sent directly. Redundant packets are only used by the receiver to "fill the gaps" caused by blocked or delayed paths using Gaussian elimination. This approach minimizes the computational overhead on the host CPU, as decoding is only necessary when reordering occurs.
Evaluation and Key Results
The authors evaluated HTPC using NS2 simulations across realistic web search and data mining workloads. The results demonstrate that HTPC significantly outperforms standard RPS and other state-of-the-art coding schemes like CAPS.
- Tail Latency: For short flows, HTPC reduced the 99th percentile Flow Completion Time (FCT) by 65% to 83% compared to RPS.
- Average Performance: The Average Flow Completion Time (AFCT) across all flow sizes improved by up to 60%.
- Throughput: Long flows saw a throughput increase of 25% to 62% over competing coding-based mechanisms.
- Resilience: HTPC maintained high performance even in asymmetric network conditions where specific paths were significantly slower than others.
Conclusion and Future Directions
HTPC provides a robust solution to the packet reordering problem in data centers. By making the coding layer aware of traffic heterogeneity, it bridges the gap between bandwidth utilization and transport layer stability. Future work may involve exploring the impact of HTPC on ultra-high-speed networks (100Gbps+) and further optimizing the interaction between the coding layer and various Linux Retransmission Timeout ($RTO_{min}$) settings.
Summary updated