Lune

SIGCOMM2021顶会

Lucid: a language for control in the data plane

John Sonchack, Devon Loehr, Jennifer Rexford, David Walker

摘要

Programmable switch hardware makes it possible to move fine-grained control logic inside the network data plane, improving performance for a wide range of applications. However, applications with integrated control are inherently hard to write in existing data-plane programming languages such as P4. This paper presents Lucid, a language that raises the level of abstraction for putting control functionality in the data plane. Lucid introduces abstractions that make it easy to write sophisticated data-plane applications with interleaved packet-handling and control logic, specialized type and syntax systems that prevent programmer bugs related to data-plane state, and an open-sourced compiler that translates Lucid programs into P4 optimized for the Intel Tofino. These features make Lucid general and easy to use, as we demonstrate by writing a suite of ten different data-plane applications in Lucid. Working prototypes take well under an hour to write, even for a programmer without prior Tofino experience, have around 10x fewer lines of code compared to P4, and compile efficiently to real hardware. In a stateful firewall written in Lucid, we find that moving control from a switch's CPU to its data-plane processor using Lucid reduces the latency of performance-sensitive operations by over 300X.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Homunculus: Auto-Generating Efficient Data-Plane ML Pipelines for Datacenter Networks 引用了 Jaqen: A High-Performance Switch-Native Approach for Detecting and Mitigating Volumetric DDoS Attacks with Programmable Switches
  • Homunculus: Auto-Generating Efficient Data-Plane ML Pipelines for Datacenter Networks 引用了 Taurus: a data plane architecture for per-packet ML
  • 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
  • Taurus: a data plane architecture for per-packet ML 引用了 Jaqen: A High-Performance Switch-Native Approach for Detecting and Mitigating Volumetric DDoS Attacks with Programmable Switches
  • Cetus: Releasing P4 Programmers from the Chore of Trial and Error Compiling 引用了 Switch Code Generation Using Program Synthesis
  • Cetus: Releasing P4 Programmers from the Chore of Trial and Error Compiling 引用了 Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICs
  • Unleashing SmartNIC Packet Processing Performance in P4 引用了 Switch Code Generation Using Program Synthesis
  • Unleashing SmartNIC Packet Processing Performance in P4 引用了 Cetus: Releasing P4 Programmers from the Chore of Trial and Error Compiling
  • Unleashing SmartNIC Packet Processing Performance in P4 引用了 Lyra: A Cross-Platform Language and Compiler for Data Plane Programming on Heterogeneous ASICs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper20

  1. Syrup: User-Defined Scheduling Across the StackKostis Kaffes, Jack Tigar Humphries, David Mazières, Christos KozyrakisSOSP 2021 · 35 次引用
  2. Unleashing SmartNIC Packet Processing Performance in P4Jiarong Xing, Yiming Qiu, Kuo-Feng Hsu, Songyuan Sui 等SIGCOMM 2023 · 29 次引用
  3. Homunculus: Auto-Generating Efficient Data-Plane ML Pipelines for Datacenter NetworksTushar Swamy, Annus Zulfiqar, Luigi Nardi, Muhammad Shahbaz 等ASPLOS 2023 · 26 次引用
  4. Cebinae: scalable in-network fairness augmentationLiangcheng Yu, John Sonchack, Vincent LiuSIGCOMM 2022 · 22 次引用
  5. Cetus: Releasing P4 Programmers from the Chore of Trial and Error CompilingYifan Li, Jiaqi Gao, Ennan Zhai, Mengqi Liu 等NSDI 2022 · 22 次引用

它引用的 Paper6

  1. Jaqen: A High-Performance Switch-Native Approach for Detecting and Mitigating Volumetric DDoS Attacks with Programmable SwitchesZaoxing Liu, Hun Namkung, Georgios Nikolaidis, Jeongkeun Lee 等USENIX Security 2021 · 221 次引用
  2. Contra: A Programmable System for Performance-aware RoutingKuo-Feng Hsu, Ryan Beckett, Ang Chen, Jennifer Rexford 等NSDI 2020 · 104 次引用
  3. Taurus: a data plane architecture for per-packet MLTushar Swamy, Alexander Rucker, Muhammad Shahbaz, Ishan Gaur 等ASPLOS 2022 · 94 次引用
  4. 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 次引用
  5. Switch Code Generation Using Program SynthesisXiangyu Gao, Taegyun Kim, Michael D. Wong, Divya Raghunathan 等SIGCOMM 2020 · 51 次引用

相关 Paper

  1. Safe, modular packet pipeline programmingDevon Loehr, David WalkerPOPL 2022 · 6 次引用
  2. P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi 等SIGCOMM 2024 · 12 次引用
  3. When P4 Meets Run-to-completion ArchitectureHao Zheng, Xin Yan, Wenbo Li, Jiaqi Zheng 等NSDI 2025 · 5 次引用
  4. Composing Dataplane Programs with μP4Hardik Soni, Myriana Rifai, Praveen Kumar, Ryan Doenges 等SIGCOMM 2020 · 54 次引用
  5. NetCL: A Unified Programming Framework for In-Network ComputingGeorge Karlos, Henri E. Bal, Lin WangSC 2024 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖