Batchy: Batch-scheduling Data Flow Graphs with Service-level Objectives
Tamás Lévai, Felicián Németh, Barath Raghavan, Gábor Rétvári
摘要
Data flow graphs are a popular program representation in machine learning, big data analytics, signal processing, and, increasingly, networking, where graph nodes correspond to processing primitives and graph edges describe control flow. To improve CPU cache locality and exploit data-level parallelism, nodes usually process data in batches. Unfortunately, as batches are split across dozens or hundreds of parallel processing pathways through the graph they tend to fragment into many small chunks, leading to a loss of batch efficiency.
We present Batchy, a scheduler for run-to-completion packet processing engines, which uses controlled queuing to efficiently reconstruct fragmented batches in accordance with strict service-level objectives (SLOs). Batchy comprises a runtime profiler to quantify batch-processing gain on different processing functions, an analytical model to fine-tune queue backlogs, a new queuing abstraction to realize this model in run-to-completion execution, and a one-step receding horizon controller that adjusts backlogs across the pipeline. We present extensive experiments on five networking use cases taken from an official 5G benchmark suite to show that Batchy provides 2-3× the performance of prior work while accurately satisfying delay SLOs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Mitigating CPU Frontend for Complex Data Plane Applications 引用了 Packet Order Matters! Improving Application Performance by Deliberately Delaying Packets
- A High-Speed Stateful Packet Processing Approach for Tbps Programmable Switches 引用了 Packet Order Matters! Improving Application Performance by Deliberately Delaying Packets
引用它的顶会 Paper6
- HyperCalm Sketch: One-Pass Mining Periodic Batches in Data StreamsZirui Liu, Chaozhe Kong, Kaicheng Yang, Tong Yang 等ICDE 2023 · 16 次引用
- Packet Order Matters! Improving Application Performance by Deliberately Delaying PacketsHamid Ghasemirahni, Tom Barbette, Georgios P. Katsikas, Alireza Farshin 等NSDI 2022 · 5 次引用
- Mitigating CPU Frontend for Complex Data Plane ApplicationsYihan Dang, Hao Li, Ze Xia, Jiajun Luan 等NSDI 2026
- Aquila: A High-Concurrency System for Incremental Graph QueryZiqi Zou, Hao Zhang, Jiaxin Yao, Kangfei Zhao 等VLDB 2026
- A High-Speed Stateful Packet Processing Approach for Tbps Programmable SwitchesMariano Scazzariello, Tommaso Caiazzi, Hamid Ghasemirahni, Tom Barbette 等NSDI 2023
相关 Paper
- Banyan: A Scoped Dataflow Engine for Graph Query ServiceLi Su, Xiaoming Qin, Zichao Zhang, Rui Yang 等VLDB 2022 · 10 次引用
- Lazy Batching: An SLA-aware Batching System for Cloud Machine Learning InferenceYujeong Choi, Yunseong Kim, Minsoo RhuHPCA 2021 · 65 次引用
- weBurst can be Harmless: Achieving Line-rate Software Traffic Shaping by Inter-flow BatchingDanfeng Shan, Shihao Hu, Yuqi Liu, Wanchun Jiang 等INFOCOM 2023 · 2 次引用
- QUARTZ: Quantile-Aware Routing and Queueing for TTFT SLOs in LLM ServingZhipeng Liu, Yifan Zheng, Fanqi Kong, Ziming ZhaoACL Findings 2026
- Programmable Calendar Queues for High-speed Packet SchedulingNaveen Kr. Sharma, Chenxingyu Zhao, Ming Liu, Pravein G. Kannan 等NSDI 2020 · 119 次引用
