Skip to main content

Tracking P4 Program Execution in the Data Plane

Author(s): Kodeswaran, Suriya; Arashloo, Mina T; Tammana, Praveen; Rexford, Jennifer

Download
To refer to this page use: http://arks.princeton.edu/ark:/88435/pr1fz84
Full metadata record
DC FieldValueLanguage
dc.contributor.authorKodeswaran, Suriya-
dc.contributor.authorArashloo, Mina T-
dc.contributor.authorTammana, Praveen-
dc.contributor.authorRexford, Jennifer-
dc.date.accessioned2021-10-08T19:51:26Z-
dc.date.available2021-10-08T19:51:26Z-
dc.date.issued2020en_US
dc.identifier.citationKodeswaran, Suriya, Mina Tahmasbi Arashloo, Praveen Tammana, and Jennifer Rexford. "Tracking P4 Program Execution in the Data Plane." In Proceedings of the Symposium on SDN Research (2020): pp. 117-122. doi:10.1145/3373360.3380843en_US
dc.identifier.urihttps://www.cs.princeton.edu/~jrex/thesis/suriya-kodeswaran-thesis.pdf-
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/pr1fz84-
dc.description.abstractWhile programmable switches provide operators with much-needed control over the network, they also increase the potential sources of packet-processing errors. Bugs can happen anywhere: in the P4 program, the controller installing rules into tables, or the compiler that maps the P4 program into the resource-constrained switch pipelines. Most of these bugs manifest themselves after certain sequences of packets with certain combinations of rules in the tables. Tracking each packet's execution path through the P4 program, i.e., the sequence of tables hit and the actions applied, directly in the data plane is useful in localizing such bugs as they occur in real time. The fact that programmable data planes require P4 programs to be loop-free and can perform simple integer arithmetic operations makes them amenable to Ball-Larus encoding, a well-known technique in profiling execution paths in software programs that can efficiently encode all N paths in a single [log(N)]-bit variable. However, for real-world P4 programs, the path variable can get quite large, making it inefficient for integer arithmetic at line rate. Moreover, the encoding could require a subset of tables, that would otherwise have no data dependency, to update the same variable. By carefully breaking up the P4 program into disjoint partitions and tracking each partition's execution path separately, we show how to minimally augment P4 programs to track the execution path of each packet.en_US
dc.format.extent117 - 122en_US
dc.language.isoen_USen_US
dc.relation.ispartofProceedings of the Symposium on SDN Researchen_US
dc.rightsAuthor's manuscripten_US
dc.titleTracking P4 Program Execution in the Data Planeen_US
dc.typeConference Articleen_US
dc.identifier.doi10.1145/3373360.3380843-
pu.type.symplectichttp://www.symplectic.co.uk/publications/atom-terms/1.0/conference-proceedingen_US

Files in This Item:
File Description SizeFormat 
TrackingP4.pdf1.55 MBAdobe PDFView/Download


Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.