Efficient Headroom Allocation With Two-Level Flow Control for Lossless Datacenter Networks
In datacenters, lossless network is very attractive as it can achieve ultra-low latency. In commodity Ethernet, lossless forwarding is achieved by hop-by-hop Priority-based Flow Control (PFC). To avoid buffer overflow, PFC-enabled switches need to reserve some buffer as <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">headroom</i>, absorbing in-flight packets during the delay for backpressure messages to take effect. However, with the growing link speed in production networks, the buffer becomes increasingly insufficient, and the headroom can occupy a considerable fraction of buffer. As a result, the remaining buffer for absorbing normal traffic bursts is significantly squeezed, leading to frequent PFC messages that degrade the network performance. Worse yet, we find that the current static and queue-independent headroom allocation scheme is quite inefficient, resulting in significant buffer wastage. In light of this, we propose Dynamic and Shared Headroom allocation scheme (DSH), which dynamically allocates headroom to congested queues and enables sharing of allocated headroom among different queues. To achieve this, DSH first introduces port-level flow control, which performs flow control at the granularity of individual ports, guaranteeing lossless forwarding with a small fraction of per-port headroom. With this lossless guarantee, the switch is liberated for dynamic headroom adjustment. DSH dynamically allocates per-queue headroom based on the congestion status of each queue. Meanwhile, DSH preserves the queue-level flow control to protect the non-congested queues from being paused by congested queues, ensuring performance isolation on buffer sharing. Extensive experiments show that DSH can reduce the flow completion time by up to ~78.8%.
Authors
- Hao Li (ORCID: https://orcid.org/0000-0001-8776-6911)
- Danfeng Shan (ORCID: https://orcid.org/0000-0003-0852-5955)
- Yazhe Tang (ORCID: https://orcid.org/0000-0002-9443-8577)
- Jinchao Ma (ORCID: https://orcid.org/0009-0005-3754-2967)
- Tong Zhang (ORCID: https://orcid.org/0000-0003-2477-7140)
- Jinyu Wang (ORCID: https://orcid.org/0000-0002-9449-3453)
- Peng Zhang (ORCID: https://orcid.org/0000-0001-7721-2675)
- B. P. Hu (ORCID: https://orcid.org/0009-0003-7778-4069)
- Yunguang Li
Institutions
- Xi'an Jiaotong University (CN)
- Nanjing University of Aeronautics and Astronautics (CN)
Publication Details
- Journal
- IEEE Transactions on Networking
- Published
- 2025-08-20
- DOI
- https://doi.org/10.1109/ton.2025.3596437
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Natural Science Foundation of Jiangsu Province