PacketScope: Monitoring the Packet Lifecycle Inside a Switch

PacketScope: Monitoring the Packet Lifecycle Inside a Switch
复制标题

DOI:
10.1145/3373360.3380838
复制
发表时间:
2020-03
期刊:
Proceedings of the Symposium on SDN Research
影响因子:
--
通讯作者:
Ross Teixeira;R. Harrison;Arpit Gupta;J. Rexford
Ross Teixeira;R. Harrison;Arpit Gupta;J. Rexford
中科院分区:
其他
文献类型:
--
作者:
Ross Teixeira;R. Harrison;Arpit Gupta;J. Rexford

文献摘要

被引文献

相似文献

随着现代交换机变得越来越强大、灵活和可编程,网络运营商越来越需要监控交换机的行为。许多现有系统提供了观察和分析到达交换机的流量的能力,但不提供对交换机内数据包体验的可见性。为了填补这一空白,我们提出了PacketScope,这是一个网络遥测系统,可以让我们窥视网络交换机内部,询问一系列关于交换机如何修改、丢弃、延迟和转发数据包的有用查询。PacketScope为网络运营商提供了一种直观而强大的spark类数据流语言来表达这些查询。为了最小化PacketScope在交换机元数据上的开销,我们的编译器使用“标记少,计算早”的策略,在数据包通过交换机管道时用元数据标记数据包,并尽可能早地计算查询结果,以释放管道资源供以后处理。PacketScope还结合了来自入口和出口管道的信息,以回答由于队列满而丢失的数据包的聚合查询。
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.