Modular Switch Programming Under Resource Constraints
Mary Hogan, Shir Landau Feibish, Mina Tahmasbi Arashloo, Jennifer Rexford, David Walker
摘要
Programmable networks support a wide variety of applications, including access control, routing, monitoring, caching, and synchronization. As demand for applications grows, so does resource contention within the switch data plane. Cramming applications onto a switch is a challenging task that often results in non-modular programming, frustrating "trial and error" compile-debug cycles, and suboptimal use of resources. In this paper, we present P4All, an extension of P4 that allows programmers to define elastic data structures that stretch automatically to make optimal use of available switch resources. These data structures are defined using symbolic primitives (that parameterize the size and shape of the structure) and objective functions (that quantify the value gained or lost as that shape changes). A top-level optimization function specifies how to share resources amongst data structures or applications. We demonstrate the inherent modularity and effectiveness of our design by building a range of reusable elastic data structures including hash tables, Bloom filters, sketches, and key-value stores, and using those structures within larger applications. We show how to implement the P4All compiler using a combination of dependency analysis, loop unrolling, linear and non-linear constraint generation, and constraint solving. We evaluate the compiler's performance, showing that a range of elastic programs can be compiled to P4 in few minutes at most, but usually less.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Isolation Mechanisms for High-Speed Packet-Processing Pipelines 引用了 Switch Code Generation Using Program Synthesis
- Isolation Mechanisms for High-Speed Packet-Processing Pipelines 引用了 Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICs
- ClickINC: In-network Computing as a Service in Heterogeneous Programmable Data-center Networks 引用了 Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICs
- Sketchovsky: Enabling Ensembles of Sketches on Programmable Switches 引用了 Switch Code Generation Using Program Synthesis
- Switch Code Generation Using Program Synthesis 引用了 Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICs
- Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICs 引用了 Switch Code Generation Using Program Synthesis
- Unleashing SmartNIC Packet Processing Performance in P4 引用了 Switch Code Generation Using Program Synthesis
- Unleashing SmartNIC Packet Processing Performance in P4 引用了 Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICs
- ChameleMon: Shifting Measurement Attention as Network State Changes 引用了 PINT: Probabilistic In-band Network Telemetry
- ChameleMon: Shifting Measurement Attention as Network State Changes 引用了 Flow Event Telemetry on Programmable Data Plane
引用它的顶会 Paper15
- Isolation Mechanisms for High-Speed Packet-Processing PipelinesTao Wang, Xiangrui Yang, Gianni Antichi, Anirudh Sivaraman 等NSDI 2022 · 44 次引用
- Sketchovsky: Enabling Ensembles of Sketches on Programmable SwitchesHun Namkung, Zaoxing Liu, Daehyeok Kim, Vyas Sekar 等NSDI 2023 · 44 次引用
- ClickINC: In-network Computing as a Service in Heterogeneous Programmable Data-center NetworksWenquan Xu, Zijian Zhang, Yong Feng, Haoyu Song 等SIGCOMM 2023 · 34 次引用
- ChameleMon: Shifting Measurement Attention as Network State ChangesKaicheng Yang, Yuhan Wu, Ruijie Miao, Tong Yang 等SIGCOMM 2023 · 32 次引用
- Unleashing SmartNIC Packet Processing Performance in P4Jiarong Xing, Yiming Qiu, Kuo-Feng Hsu, Songyuan Sui 等SIGCOMM 2023 · 29 次引用
它引用的 Paper5
- PINT: Probabilistic In-band Network TelemetryRan Ben Basat, Sivaramakrishnan Ramanathan, Yuliang Li, Gianni Antichi 等SIGCOMM 2020 · 268 次引用
- Flow Event Telemetry on Programmable Data PlaneYu Zhou, Chen Sun, Hongqiang Harry Liu, Rui Miao 等SIGCOMM 2020 · 139 次引用
- Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICsJiaqi Gao, Ennan Zhai, Hongqiang Harry Liu, Rui Miao 等SIGCOMM 2020 · 82 次引用
- NetLock: Fast, Centralized Lock Management Using Programmable SwitchesZhuolong Yu, Yiwen Zhang, Vladimir Braverman, Mosharaf Chowdhury 等SIGCOMM 2020 · 60 次引用
- Switch Code Generation Using Program SynthesisXiangyu Gao, Taegyun Kim, Michael D. Wong, Divya Raghunathan 等SIGCOMM 2020 · 51 次引用
相关 Paper
- NetVRM: Virtual Register Memory for Programmable NetworksHang Zhu, Tao Wang, Yi Hong, Dan R. K. Ports 等NSDI 2022 · 21 次引用
- P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi 等SIGCOMM 2024 · 12 次引用
- Safe, modular packet pipeline programmingDevon Loehr, David WalkerPOPL 2022 · 6 次引用
- Sequence Abstractions for Flexible, Line-Rate Network MonitoringAndrew Johnson, Ryan Beckett, Xiaoqi Chen, Ratul Mahajan 等NSDI 2024 · 4 次引用
- OptimusPrime: Unleash Dataplane Programmability through a Transformable ArchitectureZhikang Chen, Yong Feng, Shuxin Liu, Haoyu Song 等SIGCOMM 2024 · 6 次引用
