Incremental Specialization of Network Programs

Fabian Ruffy, Zhanghan Wang, Gianni Antichi, Aurojit Panda, Anirudh Sivaraman

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Programmable network devices process packets using limited time and space. Consequently, much effort has been spent making network programs run as efficiently as possible. One promising line of work focuses on specializing the implementation of a network program to a particular—presumed constant—control-plane configuration. However, while some parts of the control plane configurations are constant for long periods of time, others change frequently, and in bursts (e.g., due to routing table updates). Thus, any approach that specializes a network program with respect to control-plane configurations must be incremental: it should be able to tell quickly whether a new control-plane update will affect the program’s implementation and recompile the program only when its implementation must change. We describe several benefits of such an approach, including reducing resource use on line-rate pipelines and improving the memory footprint of packet classification. We explore our ideas with a prototype, Flay, an incremental partial evaluator that optimizes P4 programs by treating control-plane entries as constant. Flay can reduce resources in the implementations of Tofino programs. Flay can also determine in 100s of milliseconds whether a control-plane update will change a program’s implementation. We conclude by outlining several avenues for future work.

Original languageEnglish (US)
Title of host publicationHOTNETS 2024 - Proceedings of the 2024 3rd ACM Workshop on Hot Topics in Networks
PublisherAssociation for Computing Machinery, Inc
Pages264-272
Number of pages9
ISBN (Electronic)9798400712722
DOIs
StatePublished - Nov 18 2024
Event3rd ACM Workshop on Hot Topics in Networks, HOTNETS 2024 - Irvine, United States
Duration: Nov 18 2024Nov 19 2024

Publication series

NameHOTNETS 2024 - Proceedings of the 2024 3rd ACM Workshop on Hot Topics in Networks

Conference

Conference3rd ACM Workshop on Hot Topics in Networks, HOTNETS 2024
Country/TerritoryUnited States
CityIrvine
Period11/18/2411/19/24

Keywords

  • Incremental Computation
  • P4
  • Partial Evaluation
  • Programmable Networks
  • SDN
  • Specialization
  • eBPF/XDP

ASJC Scopus subject areas

  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Incremental Specialization of Network Programs'. Together they form a unique fingerprint.

Cite this