Lune

NSDI2024顶会

BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet Scheduling

Nirav Atre, Hugo Sadok, Justine Sherry

摘要

The need for fairness, strong isolation, and fine-grained control over network traffic in multi-tenant cloud settings has engendered a rich literature on packet scheduling in switches and programmable hardware. Recent proposals for hardware scheduling primitives (e.g., PIFO, PIEO, BMW-Tree) have enabled run-time programmable packet schedulers, considerably expanding the suite of scheduling policies that can be applied to network traffic. However, no existing solution can be practically deployed on modern switches and NICs because they either do not scale to the number of elements required by these devices or fail to deliver good throughput, thus requiring an impractical number of replicas.

In this work, we ask: is it possible to achieve priority packet scheduling at line-rate while supporting a large number of flows? Our key insight is to leverage a scheduling primitive used previously in software -called Hierarchical Find First Set -and port this to a highly pipeline-parallel hardware design. We present the architecture and implementation of the Bitmapped Bucket Queue (BBQ), a hardware-based integer priority queue that supports a wide range of scheduling policies (via a PIFO-like abstraction). BBQ, for the first time, supports hundreds of thousands of concurrent flows while guaranteeing 100 Gbps line rate (148.8 Mpps) on FPGAs and 1 Tbps (1,488 Mpps) line rate on ASICs. We demonstrate this by implementing BBQ on a commodity FPGA where it is capable of supporting over 100K flows and 32K priorities at 300 MHz, 3× the packet rate of similar hardware priority queue designs. On ASIC, we can synthesize 100K elements at 3.1 GHz using a 7nm process.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Programmable packet scheduling with a single queue 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • Programmable packet scheduling with a single queue 引用了 Programmable Calendar Queues for High-speed Packet Scheduling
  • Fast, Scalable, and Accurate Rate Limiter for RDMA NICs 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • Fast, Scalable, and Accurate Rate Limiter for RDMA NICs 引用了 Programmable packet scheduling with a single queue
  • Fast, Scalable, and Accurate Rate Limiter for RDMA NICs 引用了 Programmable Calendar Queues for High-speed Packet Scheduling
  • Fast, Scalable, and Accurate Rate Limiter for RDMA NICs 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
  • Enabling Virtual Priority in Data Center Congestion Control 引用了 Programmable packet scheduling with a single queue
  • PANIC: A High-Performance Programmable NIC for Multi-tenant Networks 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
  • ClubHeap: A High-Speed and Scalable Priority Queue for Programmable Packet Scheduling 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
  • ClubHeap: A High-Speed and Scalable Priority Queue for Programmable Packet Scheduling 引用了 Programmable packet scheduling with a single queue
  • ClubHeap: A High-Speed and Scalable Priority Queue for Programmable Packet Scheduling 引用了 Programmable Calendar Queues for High-speed Packet Scheduling
  • ClubHeap: A High-Speed and Scalable Priority Queue for Programmable Packet Scheduling 引用了 PANIC: A High-Performance Programmable NIC for Multi-tenant Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Fast, Scalable, and Accurate Rate Limiter for RDMA NICsZilong Wang, Xinchen Wan, Luyang Li, Yijun Sun 等SIGCOMM 2024 · 17 次引用
  2. Enabling Virtual Priority in Data Center Congestion ControlZhaochen Zhang, Feiyang Xue, Keqiang He, Zhimeng Yin 等EuroSys 2025 · 6 次引用
  3. ClubHeap: A High-Speed and Scalable Priority Queue for Programmable Packet SchedulingZhikang Chen, Haoyu Song, Zhiyu Zhang, Yang Xu 等NSDI 2025 · 2 次引用
  4. Themis: Scheduling-Aware Buffer Management for HBM-Based Hybrid BuffersZhiyu Zhang, Minkun Xue, Kan Yu, Ruyi Yao 等NSDI 2026

它引用的 Paper12

  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 次引用
  3. PANIC: A High-Performance Programmable NIC for Multi-tenant NetworksJiaxin Lin, Kiran Patel, Brent E. Stephens, Anirudh Sivaraman 等OSDI 2020 · 104 次引用
  4. Programmable packet scheduling with a single queueZhuolong Yu, Chuheng Hu, Jingfeng Wu, Xiao Sun 等SIGCOMM 2021 · 100 次引用
  5. Enabling Programmable Transport Protocols in High-Speed NICsMina Tahmasbi Arashloo, Alexey Lavrov, Manya Ghobadi, Jennifer Rexford 等NSDI 2020 · 96 次引用

相关 Paper

  1. Everything Matters in Programmable Packet SchedulingAlbert Gran Alcoz, Balázs Vass, Pooria Namyar, Behnaz Arzani 等NSDI 2025
  2. vPIFO: Virtualized Packet Scheduler for Programmable Hierarchical Scheduling in High-Speed NetworksZhiyu Zhang, Shili Chen, Ruyi Yao, Ruoshi Sun 等SIGCOMM 2024 · 11 次引用
  3. BMW Tree: Large-scale, High-throughput and Modular PIFO Implementation using Balanced Multi-Way Sorting TreeRuyi Yao, Zhiyu Zhang, Gaojian Fang, Peixuan Gao 等SIGCOMM 2023 · 14 次引用
  4. Gearbox: A Hierarchical Packet Scheduler for Approximate Weighted Fair QueuingPeixuan Gao, Anthony Dalleggio, Yang Xu, H. Jonathan ChaoNSDI 2022
  5. Twenty Years After: Hierarchical Core-Stateless Fair QueueingZhuolong Yu, Jingfeng Wu, Vladimir Braverman, Ion Stoica 等NSDI 2021 · 45 次引用
黄昏的海面,两侧是细线勾勒的悬崖