PacketScope: Monitoring the Packet Lifecycle Inside a Switch
PacketScope: Monitoring the Packet Lifecycle Inside a Switch
复制标题
DOI:
10.1145/3373360.3380838
复制
发表时间:
2020-03
期刊:
影响因子:
--
通讯作者:
Ross Teixeira;R. Harrison;Arpit Gupta;J. Rexford
中科院分区:
文献类型:
--
作者:
Ross Teixeira;R. Harrison;Arpit Gupta;J. Rexford
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.