Lune

NSDI2022顶会

Gearbox: A Hierarchical Packet Scheduler for Approximate Weighted Fair Queuing

Peixuan Gao, Anthony Dalleggio, Yang Xu, H. Jonathan Chao

摘要

Bandwidth allocation and performance isolation are crucial to achieving network virtualization and guaranteeing service quality in data centers as well as other network systems. Weighted Fair Queuing (WFQ) can achieve customized bandwidth allocation and flow isolation; however, its implementation in large-scale high-speed network systems is very challenging due to the high complexity of the scheduling and the large number of queues required.

This paper proposes Gearbox, a scheduler primitive for next-generation programmable switches and smart NICs that practically approximates WFQ. Gearbox consists of a logical hierarchy of queuing levels, which accommodate a wide range of packet departure times using a relatively small number of FIFOs. Gearbox's enqueue and dequeue operations have O(1) time complexity, which makes it suitable to cope with high-speed line rates. Gearbox provides its simplicity and performance advantages by allowing slight discrepancies in packet departure time from strict WFQ. We show that Gearbox's normalized departure time discrepancy is bounded and has a negligible impact on bandwidth allocation and flow completion time (FCT).

We implement Gearbox in NS2 and in VHDL, targeted to a Xilinx Alveo U250 card with an XCVU13P FPGA. The NS2 evaluation results show that Gearbox closely approximates WFQ and achieves weighted max-min fairness in bandwidth allocation as well as flow isolation. Gearbox provides FCT performance comparable to ideal WFQ. The Gearbox FPGA prototype runs at 350MHz and achieves full line rate for 100GbE with packets larger than 123 bytes. Gearbox consumes less than 1% of the FPGA's logic resources and less than 4% of its internal block memory.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Scalable Real-Time Bandwidth Fairness in Switches 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • Sifter: An Inversion-Free and Large-Capacity Programmable Packet Scheduler 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • Sifter: An Inversion-Free and Large-Capacity Programmable Packet Scheduler 引用了 Programmable Calendar Queues for High-speed Packet Scheduling
  • QCluster: Clustering Packets for Flow Scheduling 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet Scheduling 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet Scheduling 引用了 Programmable Calendar Queues for High-speed Packet Scheduling
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Scalable Real-Time Bandwidth Fairness in SwitchesRobert MacDavid, Xiaoqi Chen, Jennifer RexfordINFOCOM 2023 · 15 次引用
  2. OSMOSIS: Enabling Multi-Tenancy in Datacenter SmartNICsMikhail Khalilov, Marcin Chrapek, Siyuan Shen, Alessandro Vezzu 等USENIX ATC 2024 · 14 次引用
  3. BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet SchedulingNirav Atre, Hugo Sadok, Justine SherryNSDI 2024 · 12 次引用
  4. QCluster: Clustering Packets for Flow SchedulingTong Yang, Jizhou Li, Yikai Zhao, Kaicheng Yang 等WWW 2022 · 11 次引用
  5. Sifter: An Inversion-Free and Large-Capacity Programmable Packet SchedulerPeixuan Gao, Anthony Dalleggio, Jiajin Liu, Chen Peng 等NSDI 2024 · 8 次引用

它引用的 Paper2

  1. SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority QueuesAlbert Gran Alcoz, Alexander Dietmüller, Laurent VanbeverNSDI 2020 · 140 次引用
  2. Programmable Calendar Queues for High-speed Packet SchedulingNaveen Kr. Sharma, Chenxingyu Zhao, Ming Liu, Pravein G. Kannan 等NSDI 2020 · 119 次引用

相关 Paper

  1. Twenty Years After: Hierarchical Core-Stateless Fair QueueingZhuolong Yu, Jingfeng Wu, Vladimir Braverman, Ion Stoica 等NSDI 2021 · 45 次引用
  2. Söze: One Network Telemetry Is All You Need for Per-flow Weighted Bandwidth Allocation at ScaleWeitao Wang, T. S. Eugene NgOSDI 2025 · 1 次引用
  3. Everything Matters in Programmable Packet SchedulingAlbert Gran Alcoz, Balázs Vass, Pooria Namyar, Behnaz Arzani 等NSDI 2025
  4. D2FQ: Device-Direct Fair Queueing for NVMe SSDsJiwon Woo, Minwoo Ahn, Gyusun Lee, Jinkyu JeongFAST 2021 · 45 次引用
  5. Site-to-site internet traffic controlFrank Cangialosi, Akshay Narayan, Prateesh Goyal, Radhika Mittal 等EuroSys 2021 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖