Normal Forms for Match-Action Programs
2019 (English)In: Proceedings CoNEXT 2019 - The 15th International Conference on emerging Networking EXperiments and Technologies / [ed] ACM, ACM Digital Library, 2019Conference paper, Published paper (Refereed)
Abstract [en]
Packet processing programs may have multiple semantically equivalent representations in terms of the match-action abstraction exposed by the underlying data plane. Some representations may encode the entire packet processing program into one large table allowing packets to be matched in a single lookup, while others may encode the same functionality decomposed into a pipeline of smaller match-action tables, maximizing modularity at the cost of increased lookup latency. In this paper, we provide the first systematic study of match-action program representations in order to assist network programmers in navigating this vast design space. Borrowing from relational database and formal language theory, we define a framework for the equivalent transformation of match-action programs to obtain certain irredundant representations that we call ``normal forms''. We find that normalization generally improves the capacity of the control plane to program the data-plane and to observe its state, at the same time having negligible, or positive, performance impact.
Place, publisher, year, edition, pages
ACM Digital Library, 2019.
Keywords [en]
programmable data plane, P4; OpenFlow, match-action tables, program transformation, formal languages, relational model
National Category
Communication Systems Computer Sciences
Research subject
Information and Communication Technology; Computer Science
Identifiers
URN: urn:nbn:se:kth:diva-264777DOI: 10.1145/3359989.3365417ISI: 000526082300004Scopus ID: 2-s2.0-85077234928OAI: oai:DiVA.org:kth-264777DiVA, id: diva2:1375005
Conference
CoNEXT 2019 - The 15th International Conference on emerging Networking EXperiments and Technologies, Orlando, Florida, U.S., December 9-12, 2019
Note
QC 20191216
Part of ISBN 978-1-4503-6998-5
2019-12-032019-12-032024-10-23Bibliographically approved