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

自调整分组分类

Self-Adjusting Packet Classification

Maciej Pacut, Juan Vanerio, Vamsi Addanki, Arash Pourdamghani, Gabor Retvari, Stefan Schmid

摘要:

本文的动机是更有效的数据包分类机制,自我优化的需求感知的方式的愿景。在我们的方法的核心在于一个自我调整的线性列表数据结构,其中不像在经典的数据结构,有依赖关系,一些项目必须在前面的其他;例如,为了按照链表中排列的规则正确地对分组进行分类,每个规则必须位于与之重叠的较低优先级规则的前面。在每次访问之后,我们可以重新排列列表,类似于移动到前面,但依赖性需要得到尊重。我们提出了一个4-竞争的在线重排算法,其成本最多是最佳离线算法的四倍,没有确定性算法可以优于3-竞争。该算法简单且有吸引力,特别是对于存储器有限的系统,因为它不需要任何额外的存储器(例如,既不是时间戳也不是频率统计)。我们的方法可以简单地部署为静态数据结构的直接替代品,可能会使许多现有网络受益。我们评估我们的自调整列表数据包分类现实的规则和交通实例。我们发现,我们的分类器的性能类似于静态列表的低本地流量,但显着优于Efficuts(7倍),CutSplit(3.6倍)和静态列表(14倍)的高本地性和小规则集。内存消耗平均比Efficuts和CutSplit低10倍。

英文摘要:

This paper is motivated by the vision of more efficient packet classification mechanisms that self-optimize in a demand-aware manner. At the heart of our approach lies a self-adjusting linear list data structure, where unlike in the classic data structure, there are dependencies, and some items must be in front of the others; for example, to correctly classify packets by rules arranged in a linked list, each rule must be in front of lower priority rules that overlap with it. After each access we can rearrange the list, similarly to Move-To-Front, but dependencies need to be respected. We present a 4-competitive online rearrangement algorithm, whose cost is at most four times worse than the optimal offline algorithm; no deterministic algorithm can be better than 3-competitive. The algorithm is simple and attractive, especially for memory-limited systems, as it does not require any additional memory (e.g., neither timestamps nor frequency statistics). Our approach can simply be deployed as a drop-in replacement for a static datastructure, potentially benefitting many existing networks. We evaluate our self-adjusting list packet classifier on realistic ruleset and traffic instances. We find that our classifier performs similarly to a static list for low-locality traffic, but significantly outperforms Efficuts (by a factor 7x), CutSplit (3.6x), and the static list (14x) for high locality and small rulesets. Memory consumption is 10x lower on average compared to Efficuts and CutSplit.

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

↑