首页> 外文期刊>Theory of computing systems >XOR-based schemes for fast parallel IP lookups
【24h】

XOR-based schemes for fast parallel IP lookups

机译:基于XOR的方案,用于快速并行IP查找

获取原文
获取原文并翻译 | 示例
           

摘要

An IP router must forward packets at gigabit speed in order to guarantee a good quality of service. Two important factors make this task a challenging problem: (i) for each packet, the longest matching prefix in the forwarding table must be quickly computed; (ii) the routing tables contain several thousands of entries and their size grows significantly every year. Because of this, parallel routers have been developed which use several processors to forward packets. In this work we present a novel algorithmic technique which, for the first time, exploits the parallelism of the router also to reduce the size of the routing table. Our method is scalable and requires only minimal additional hardware. Indeed, we prove that any IP routing table T can be split into two subtables T-1 and T-2 such that: ( a) | T-1| can be any positive integer k < | T | and | T-2| <= | T| - k + 1; ( b) the two routing tables can be used separately by two processors so that the IP lookup on T is obtained by simply XOR-ing the IP lookup on the two tables. Our method is independent of the data structure used to implement the lookup search and it allows for a better use of the processors L2 cache. For real routers routing tables, we also show how to achieve simultaneously: ( a) | T-1| is roughly 7% of the original table T; ( b) the lookup on table T-2 does not require the best matching prefix computation.
机译:IP路由器必须以千兆位速度转发数据包,以确保良好的服务质量。两个重要因素使该任务成为一个具有挑战性的问题:(i)对于每个数据包,必须快速计算转发表中最长的匹配前缀; (ii)路由表包含数千个条目,并且其大小每年都在显着增长。因此,已经开发了使用多个处理器转发数据包的并行路由器。在这项工作中,我们提出了一种新颖的算法技术,这是首次利用路由器的并行性来减小路由表的大小。我们的方法是可扩展的,只需要最少的附加硬件。实际上,我们证明了任何IP路由表T都可以分为两个子表T-1和T-2,从而: T-1 |可以是任何正整数k <| T |和T-2 | <= | T | -k + 1; (b)两个处理器可以分别使用两个路由表,因此只需对两个表的IP查找值进行XOR运算即可获得T上的IP查找值。我们的方法与用于执行查找搜索的数据结构无关,并且可以更好地使用处理器L2高速缓存。对于真实的路由器路由表,我们还展示了如何同时实现: T-1 |大约是原始表T的7%; (b)在表T-2上的查找不需要最佳匹配前缀计算。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号