arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2002.07584cs.DCcs.LGcs.NI
收藏

数据包分类的一种计算方法

A Computational Approach to Packet Classification

Technion(以色列理工学院)

Alon Rashelbach, Ori Rottenstreich, Mark Silberstein

摘要:

多字段数据包分类是现代软件定义数据中心网络的重要组成部分。为了实现高吞吐量和低延迟,最先进的算法努力将规则查找数据结构适配到管芯上高速缓存中;然而,它们不能随着规则的数量很好地扩展。我们提出了一种新的方法,NuevoMatch,它提高了现有方法的内存扩展。一个新的数据结构,范围查询递归模型索引(RQ-RMI),是关键组件,使NuevoMatch取代大部分的访问主内存与模型推理计算。我们描述了一个有效的训练算法,保证了基于RQ-RMI的分类的正确性。RQ-RMI的使用允许将规则压缩成适合硬件缓存的模型权重。此外,它还利用了现代CPU对快速神经网络处理的日益增长的支持,例如宽向量指令,实现了每次查找数十纳秒的速率。我们使用标准ClassBench基准测试中的500 K多字段规则进行的评估显示,与CutSplit,NeuroCuts和TupleMerge(所有最先进的算法)相比,几何平均压缩因子为4.9x,8x和82 x,吞吐量平均性能提高了2.4x,2.6x和1.6x。

英文摘要:

Multi-field packet classification is a crucial component in modern software-defined data center networks. To achieve high throughput and low latency, state-of-the-art algorithms strive to fit the rule lookup data structures into on-die caches; however, they do not scale well with the number of rules. We present a novel approach, NuevoMatch, which improves the memory scaling of existing methods. A new data structure, Range Query Recursive Model Index (RQ-RMI), is the key component that enables NuevoMatch to replace most of the accesses to main memory with model inference computations. We describe an efficient training algorithm that guarantees the correctness of the RQ-RMI-based classification. The use of RQ-RMI allows the rules to be compressed into model weights that fit into the hardware cache. Further, it takes advantage of the growing support for fast neural network processing in modern CPUs, such as wide vector instructions, achieving a rate of tens of nanoseconds per lookup. Our evaluation using 500K multi-field rules from the standard ClassBench benchmark shows a geometric mean compression factor of 4.9x, 8x, and 82x, and average performance improvement of 2.4x, 2.6x, and 1.6x in throughput compared to CutSplit, NeuroCuts, and TupleMerge, all state-of-the-art algorithms.

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

↑