首页> 外文会议>International Conference on Computer Communications and Networks >A Packet-classification Algorithm for Arbitrary Bitmask Rules, with Automatic Time-space Tradeoffs
【24h】

A Packet-classification Algorithm for Arbitrary Bitmask Rules, with Automatic Time-space Tradeoffs

机译:任意位掩码规则的分组分类算法,具有自动时间空间权衡

获取原文

摘要

We present an algorithm for classifying packets according to arbitrary (including noncontiguous) bitmask rules. As its principal novelty, the algorithm is parameterized by the amount of memory available and can customize its data structures to optimize classification time without exceeding a given memory bound. The algorithm thus automatically trades time for space efficiency as needed. The two extremes of this time-space tradeoff (linear search through the rules versus a single table that maps every possible packet to its class number) are special cases of the general algorithm we present. Additional features of the algorithm include its simplicity, its open-source prototype implementation, its good performance even with worst-case rule sets, and its extendability to handle range rules and dynamic updates to rule sets.
机译:我们提出了一种根据任意(包括非连续)位掩码规则对分组进行分类的算法。作为其主要新颖性,算法通过可用的内存量参数化,可以自定义其数据结构以优化分类时间而不超过给定的内存绑定。因此,该算法根据需要自动交易空间效率。这种时空折衷的两个极端(通过规则的线性搜索与单个表格映射到其类号的每个可能数据包)是我们所呈现的一般算法的特殊情况。算法的其他功能包括其简单性,其开源原型实现,即使具有最坏情况的规则集,其良好性能也是良好的性能,以及对规则集的延伸性和动态更新的可扩展性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号