Skip to main content

PacketScope: Monitoring the Packet Lifecycle Inside a Switch

Author(s): Teixeira, Ross; Harrison, Rob; Gupta, Arpit; Rexford, Jennifer

To refer to this page use:
Abstract: As modern switches become increasingly more powerful, flexible, and programmable, network operators have an ever greater need to monitor their behavior. Many existing systems provide the ability to observe and analyze traffic that arrives at switches, but do not provide visibility into the experience of packets within the switch. To fill this gap, we present PacketScope, a network telemetry system that lets us peek inside network switches to ask a suite of useful queries about how switches modify, drop, delay, and forward packets. PacketScope gives network operators an intuitive and powerful Spark-like dataflow language to express these queries. To minimize the overhead of PacketScope on switch metadata, our compiler uses a "tag little, compute early" strategy that tags packets with metadata as they move through the switch pipeline, and computes query results as early as possible to free up pipeline resources for later processing. PacketScope also combines information from the ingress and egress pipelines to answer aggregate queries about packets dropped due to a full queue.
Publication Date: Mar-2020
Citation: Teixeira, Ross, Rob Harrison, Arpit Gupta, and Jennifer Rexford. "PacketScope: Monitoring the Packet Lifecycle Inside a Switch." In Proceedings of the Symposium on SDN Research (2020): pp. 76-82. doi:10.1145/3373360.3380838
DOI: 10.1145/3373360.3380838
Pages: 76 - 82
Type of Material: Conference Article
Journal/Proceeding Title: Proceedings of the Symposium on SDN Research
Version: Author's manuscript

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