RVH:用于快速在线包分类的范围向量哈希算法
RVH: Range-Vector Hash for Fast Online Packet Classification
摘要:
根据多字段规则对数据包进行分类是许多网络应用的关键组成部分。新兴的软件定义网络和云计算需要频繁更新规则集以实现灵活的策略配置。它们的成功取决于新一代分类器的可用性,这些分类器可以支持快速规则更新和高速数据包分类。然而,现有的数据包分类方法集中在高速数据包分类或快速规则更新,但没有已知的方案满足这两个要求。在本文中,我们提出了范围向量哈希(RVH),有效地加快了基于哈希算法的数据包分类,同时确保快速的规则更新。RVH是建立在我们的关键观察,每个字段前缀长度的不同组合的数量是不均匀分布。为了减少快速分类所需的哈希表的数量,我们引入了一个新的概念范围向量,每个指定的长度范围的每个字段前缀的投影规则。RVH通过平衡哈希表的数量和哈希冲突的概率,克服了基于哈希的数据包分类的主要障碍。实验结果表明,RVH算法的分类速度平均可达15.7倍,更新速度平均可达2.3倍,而内存消耗仅减少44%。
英文摘要:
Packet classification according to multi-field ruleset is a key component for many network applications. Emerging software defined networking and cloud computing need to update the rulesets frequently for flexible policy configuration. Their success depends on the availability of the new generation of classifiers that can support both fast ruleset updating and high-speed packet classification. However, existing packet classification approaches focus either on high-speed packet classification or fast rule update, but no known scheme meets both requirements. In this paper, we propose Range-vector Hash (RVH) to effectively accelerate the packet classification with a hash-based algorithm while ensuring the fast rule update. RVH is built on our key observation that the number of distinct combinations of each field prefix lengths is not evenly distributed. To reduce the number of hash tables for fast classification, we introduce a novel concept range-vector with each specified the length range of each field prefix of the projected rules. RVH can overcome the major obstacle that hinders hash-based packet classification by balancing the number of hash tables and the probability of hash collision. Experimental results demonstrate that RVH can achieve the classification speed up to 15.7 times and the update speed up to 2.3 times that of the state-of-the-art algorithms on average, while only consuming 44% less memory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。