使用在线机器学习的虚拟化网络设备中的基数估计
Cardinality Estimation in a Virtualized Network Device Using Online Machine Learning
摘要:
基数估计算法接收元素流,可能有重复,并返回流中不同元素的数量。这种算法寻求以输出不准确为代价来最小化所需的存储器和CPU资源消耗。在计算机网络中,基数估计算法主要用于统计不同流的数目,并分为两大类:草图算法和抽样算法。草绘算法需要处理所有数据包,因此它们通常由专用硬件实现。采样算法不需要处理所有数据包,但它们以其不准确性而闻名。在这项工作中,我们确定基于采样的基数估计算法的主要缺点之一:它们无法适应流量大小分布的变化。为了解决这个问题,我们提出了一个新的基于采样的自适应基数估计框架,它使用在线机器学习。我们评估我们的框架,使用真实的流量跟踪,并显示出显着更好的准确性相比,最知名的基于采样的算法,对于相同比例的处理数据包。
英文摘要:
Cardinality estimation algorithms receive a stream of elements, with possible repetitions, and return the number of distinct elements in the stream. Such algorithms seek to minimize the required memory and CPU resource consumption at the price of inaccuracy in their output. In computer networks, cardinality estimation algorithms are mainly used for counting the number of distinct flows, and they are divided into two categories: sketching algorithms and sampling algorithms. Sketching algorithms require the processing of all packets, and they are therefore usually implemented by dedicated hardware. Sampling algorithms do not require processing of all packets, but they are known for their inaccuracy. In this work we identify one of the major drawbacks of sampling-based cardinality estimation algorithms: their inability to adapt to changes in flow size distribution. To address this problem, we propose a new sampling-based adaptive cardinality estimation framework, which uses online machine learning. We evaluate our framework using real traffic traces, and show significantly better accuracy compared to the best known sampling-based algorithms, for the same fraction of processed packets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。