测量作为一流的人工制品
Measurements As First-class Artifacts
摘要:
可编程交换机的出现引发了大量的新技术工作,以执行更强大的测量任务,例如,获得细粒度的流量和性能统计。以前的工作只关注这些度量的效率,而忽略了灵活性,导致解决方案难以重用或重新使用,并且通常在功能或目标上重叠。在本文中,我们提出了使用一组可重用的原始构建块,可以组成一个简洁和简单的方式来表达测量任务。我们描述了我们的原语的设计原理,我们命名为MAFIA(测量作为第一类文物),并使用几个例子,我们说明了它们如何可以结合起来,实现全面的网络测量任务。编写MAFIA代码并不需要了解底层交换机架构细节的专业知识。使用MAFIA的原型实现,我们证明了我们的方法的适用性,并表明,使用我们的原语编译的代码,是可比的大小和资源使用与手动编写的专用P4代码,可以在当前的硬件运行。
英文摘要:
The emergence of programmable switches has sparked a significant amount of work on new techniques to perform more powerful measurement tasks, for instance, to obtain fine-grained traffic and performance statistics. Previous work has focused on the efficiency of these measurements alone and has neglected flexibility, resulting in solutions that are hard to reuse or repurpose and that often overlap in functionality or goals. In this paper, we propose the use of a set of reusable primitive building blocks that can be composed to express measurement tasks in a concise and simple way. We describe the rationale for the design of our primitives, that we have named MAFIA (Measurements As FIrst-class Artifacts), and using several examples we illustrate how they can be combined to realize a comprehensive range of network measurement tasks. Writing MAFIA code does not require expert knowledge of low-level switch architecture details. Using a prototype implementation of MAFIA, we demonstrate the applicability of our approach and show that the use of our primitives results in compiled code that is comparable in size and resource usage with manually written specialized P4 code and can be run in current hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。