arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.06951cs.DScs.NI
收藏

基于精益算法的可编程交换机高效存储性能监控

Memory-Efficient Performance Monitoring on Programmable Switches with Lean Algorithms

Zaoxing Liu, Samson Zhou, Ori Rottenstreich, Vladimir Braverman, Jennifer Rexford

摘要:

众所周知,网络性能问题很难诊断。先前的剖析系统通过保持关于每个网络流的信息来收集性能统计,但是维护每个流的状态在资源受限的NIC和交换机硬件上是不可缩放的。相反,我们提出了基于草图的性能监控使用的内存是次线性的流量。现有的草图基于流大小来估计流监视度量。相比之下,性能监控通常需要组合分组对之间的信息,例如将数据分组与其确认进行匹配以计算往返时间。我们定义了一类新的\emph{lean}算法,使用内存次线性的输入数据的大小和流的数量。然后,我们引入精益算法的一组重要的统计数据,如识别流的高延迟,丢失,无序,或重传的数据包。我们实现我们的精益算法的原型商品可编程开关使用P4语言。我们的实验表明,精益算法检测$\sim$ 82%的前100个有问题的流在现实世界中的数据包跟踪使用只有40 KB的内存。

英文摘要:

Network performance problems are notoriously difficult to diagnose. Prior profiling systems collect performance statistics by keeping information about each network flow, but maintaining per-flow state is not scalable on resource-constrained NIC and switch hardware. Instead, we propose sketch-based performance monitoring using memory that is sublinear in the number of flows. Existing sketches estimate flow monitoring metrics based on flow sizes. In contrast, performance monitoring typically requires combining information across pairs of packets, such as matching a data packet with its acknowledgment to compute a round-trip time. We define a new class of \emph{lean} algorithms that use memory sublinear in both the size of input data and the number of flows. We then introduce lean algorithms for a set of important statistics, such as identifying flows with high latency, loss, out-of-order, or retransmitted packets. We implement prototypes of our lean algorithms on a commodity programmable switch using the P4 language. Our experiments show that lean algorithms detect $\sim$82\% of top 100 problematic flows among real-world packet traces using just 40KB memory.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑