Efficient Policy-Rich Rate Enforcement with Phantom Queues
Ammar Tahir, Prateesh Goyal, Ilias Marinos, Mike Evans, Radhika Mittal
Abstract
Rate enforcement is routinely employed in modern networks (e.g. ISPs rate-limiting users traffic to the subscribed rates). In addition to correctly enforcing the desired rates, rate-limiting mechanisms must be able to support rich rate-sharing policies within each traffic aggregate (e.g. per-flow fairness, weighted fairness, and prioritization). And all of this must be done at scale to efficiently support the vast magnitude of users. There are two primary rate-limiting mechanisms -traffic shaping (that buffers packets in queues to enforce the desired rates and policies) and traffic policing (that filters packets as per the desired rates without buffering them). Policers are light-weight and scalable, but do not support rich policy enforcement and often provide poor rate enforcement (being notoriously hard to configure). Shapers, on the other hand, achieve desired rates and policies, but at the cost of high system resource (memory and CPU) utilization which impacts scalability. In this paper, we explore whether we can get the best of both worlds -the scalability of a policer with the rate and policy enforcement properties of a shaper. We answer this question in the affirmative with our system BC-PQP. BC-PQP augments a policer with (i) multiple phantom queues that simulate buffer occupancy using counters, and enable rich policy enforcement, and (ii) a novel burst control mechanism that enables auto-configuration of the queues for correct rate enforcement. We implement our rate-limiter as a middlebox over DPDK. Our evaluation shows how BC-PQP achieves the rate and policy enforcement properties close to that of a shaper while being up to 7 × more efficient.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6bd8e072-6c5e-4d68-a329-51fc085f88c7Builds on4
- Sammy: smoothing video traffic to be a friendly internet neighborBruce Spang, Shravya Kunamalla, Renata Teixeira, Te-Yuan Huang et al.SIGCOMM 2023 · 26 citations
- Site-to-site internet traffic controlFrank Cangialosi, Akshay Narayan, Prateesh Goyal, Radhika Mittal et al.EuroSys 2021 · 12 citations
- Towards the Fairness of Traffic PolicerDanfeng Shan, Peng Zhang, Wanchun Jiang, Hao Li et al.INFOCOM 2021 · 11 citations
- Enabling Users to Control their InternetAmmar Tahir, Radhika MittalNSDI 2023 · 10 citations
Related papers
- Queueless and Dropless Rate ControlAmmar Tahir, Prateesh Goyal, Yongzhou Chen, Radhika MittalSIGCOMM 2026
- weBurst can be Harmless: Achieving Line-rate Software Traffic Shaping by Inter-flow BatchingDanfeng Shan, Shihao Hu, Yuqi Liu, Wanchun Jiang et al.INFOCOM 2023 · 2 citations
- BCC: Re-architecting Congestion Control in DCNsQingkai Meng, Shan Zhang, Zhiyuan Wang, Tao Tong et al.INFOCOM 2024 · 11 citations
- Net-P4ct: Enhanced WAN Bandwidth Fair Sharing Using P4 Programmable SwitchesHaoran Chen, Mingwei Cui, Yihan Zou, Yihang Miao et al.NSDI 2026
- NetShaper: A Differentially Private Network Side-Channel Mitigation SystemAmir Sabzi, Rut Vora, Swati Goswami, Margo I. Seltzer et al.USENIX Security 2024 · 7 citations
