arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1910.10441cs.NI
收藏

一种用于全网大流量检测的快速紧凑的可逆草图

A Fast and Compact Invertible Sketch for Network-Wide Heavy Flow Detection

Lu Tang, Qun Huang, Patrick P. C. Lee

摘要:

快速检测大流量(例如,由于对快速分组处理和有限资源可用性的严格要求,在大规模网络业务中的重攻击者(heavyhitters)和重改变者(heavychangers)是具有挑战性的。可逆草图是摘要数据结构,其可以用小的存储器占用和有限的错误来恢复繁重的流,然而现有的可逆草图招致导致性能降级的高存储器访问开销。我们提出了MV-Sketch,一个快速,紧凑的可逆草图,支持大流量检测与小和静态内存分配。MV-Sketch通过多数表决的思想跟踪草图数据结构内的候选重流,使得它在更新和查询操作中引起小的存储器访问开销,同时实现高检测精度。我们提出了理论分析的内存使用,性能和准确性的MV-Sketch在本地和网络范围内的情况。我们进一步展示了如何MV-Sketch可以实现和部署在基于P4的可编程交换机的硬件部署约束。我们在软件和硬件环境中进行评估。软件中的跟踪驱动评估表明,MV-Sketch比现有的可逆草图实现了更高的准确性,吞吐量增益高达3.38倍。我们还展示了如何使用SIMD指令提高MV-Sketch的性能。此外,我们评估MV-Sketch的赤脚Tofino交换机,并显示MV-Sketch如何实现线速率测量有限的硬件资源开销。

英文摘要:

Fast detection of heavy flows (e.g., heavy hitters and heavy changers) in massive network traffic is challenging due to the stringent requirements of fast packet processing and limited resource availability. Invertible sketches are summary data structures that can recover heavy flows with small memory footprints and bounded errors, yet existing invertible sketches incur high memory access overhead that leads to performance degradation. We present MV-Sketch, a fast and compact invertible sketch that supports heavy flow detection with small and static memory allocation. MV-Sketch tracks candidate heavy flows inside the sketch data structure via the idea of majority voting, such that it incurs small memory access overhead in both update and query operations, while achieving high detection accuracy. We present theoretical analysis on the memory usage, performance, and accuracy of MV-Sketch in both local and network-wide scenarios. We further show how MV-Sketch can be implemented and deployed on P4-based programmable switches subject to hardware deployment constraints. We conduct evaluation in both software and hardware environments. Trace-driven evaluation in software shows that MV-Sketch achieves higher accuracy than existing invertible sketches, with up to 3.38x throughput gain. We also show how to boost the performance of MV-Sketch with SIMD instructions. Furthermore, we evaluate MV-Sketch on a Barefoot Tofino switch and show how MV-Sketch achieves line-rate measurement with limited hardware resource overhead.

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

↑