Everything Matters in Programmable Packet Scheduling
Albert Gran Alcoz, Balázs Vass, Pooria Namyar, Behnaz Arzani, Gábor Rétvári, Laurent Vanbever
摘要
Programmable packet scheduling allows the deployment of scheduling algorithms into existing switches without need for hardware redesign. Scheduling algorithms are programmed by tagging packets with ranks, indicating their desired priority. Programmable schedulers then execute these algorithms by serving packets in the order described in their ranks.
The ideal programmable scheduler is a Push-In First-Out (PIFO) queue, which achieves perfect packet sorting by pushing packets into arbitrary positions in the queue, while only draining packets from the head. Unfortunately, implementing PIFO queues in hardware is challenging due to the need to arbitrarily sort packets at line rate based on their ranks.
In the last years, various techniques have been proposed, approximating PIFO behaviors using the resources of existing data planes. While promising, approaches to date only approximate one of the two characteristic behaviors of a PIFO queue: either its scheduling behavior, or its admission control.
We introduce PACKS, the first programmable scheduler that fully approximates PIFO queues on all their behaviors. PACKS does so by smartly using a set of strict-priority queues. It uses packet-rank information and queue-occupancy levels at enqueue to decide whether to admit packets to the scheduler, and how to map admitted packets to the different queues.
We fully implement PACKS in P4 and evaluate it on real workloads. We show that PACKS better-approximates PIFO than state-of-the-art approaches and scales. We also show that PACKS runs at line rate on existing hardware (Intel Tofino).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 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
- Twenty Years After: Hierarchical Core-Stateless Fair Queueing 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
- Heuristic Analysis from Source Code via Symbolic-Guided Optimization 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
- Heuristic Analysis from Source Code via Symbolic-Guided Optimization 引用了 Programmable packet scheduling with a single queue
- 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 引用了 Twenty Years After: Hierarchical Core-Stateless Fair Queueing
- ClubHeap: A High-Speed and Scalable Priority Queue for Programmable Packet Scheduling 引用了 BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet Scheduling
- 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 packet scheduling with a single queue
- BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet Scheduling 引用了 Programmable Calendar Queues for High-speed Packet Scheduling
- Aggregate-based congestion control for pulse-wave DDoS defense 引用了 SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority Queues
- Aggregate-based congestion control for pulse-wave DDoS defense 引用了 Programmable packet scheduling with a single queue
引用它的顶会 Paper3
- BBQ: A Fast and Scalable Integer Priority Queue for Hardware Packet SchedulingNirav Atre, Hugo Sadok, Justine SherryNSDI 2024 · 12 次引用
- ClubHeap: A High-Speed and Scalable Priority Queue for Programmable Packet SchedulingZhikang Chen, Haoyu Song, Zhiyu Zhang, Yang Xu 等NSDI 2025 · 2 次引用
- Heuristic Analysis from Source Code via Symbolic-Guided OptimizationPantea Karimi, Siva Kesava Reddy Kakarla, Ryan Beckett, Santiago Segarra 等NSDI 2026
它引用的 Paper7
- SP-PIFO: Approximating Push-In First-Out Behaviors using Strict-Priority QueuesAlbert Gran Alcoz, Alexander Dietmüller, Laurent VanbeverNSDI 2020 · 140 次引用
- Programmable Calendar Queues for High-speed Packet SchedulingNaveen Kr. Sharma, Chenxingyu Zhao, Ming Liu, Pravein G. Kannan 等NSDI 2020 · 119 次引用
- Programmable packet scheduling with a single queueZhuolong Yu, Chuheng Hu, Jingfeng Wu, Xiao Sun 等SIGCOMM 2021 · 100 次引用
- Aggregate-based congestion control for pulse-wave DDoS defenseAlbert Gran Alcoz, Martin Strohmeier, Vincent Lenders, Laurent VanbeverSIGCOMM 2022 · 63 次引用
- Twenty Years After: Hierarchical Core-Stateless Fair QueueingZhuolong Yu, Jingfeng Wu, Vladimir Braverman, Ion Stoica 等NSDI 2021 · 45 次引用
相关 Paper
- vPIFO: Virtualized Packet Scheduler for Programmable Hierarchical Scheduling in High-Speed NetworksZhiyu Zhang, Shili Chen, Ruyi Yao, Ruoshi Sun 等SIGCOMM 2024 · 11 次引用
- 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 次引用
- Sifter: An Inversion-Free and Large-Capacity Programmable Packet SchedulerPeixuan Gao, Anthony Dalleggio, Jiajin Liu, Chen Peng 等NSDI 2024 · 8 次引用
- Lark: A Buffer-aware Building Block for Programmable Packet Scheduling in DatacentersSong Zhang, Wenxin Li, Yulong Li, Yuan Liu 等INFOCOM 2025
- Formal Abstractions for Packet SchedulingAnshuman Mohan, Yunhe Liu, Nate Foster, Tobias Kappé 等OOPSLA 2023 · 7 次引用
