首页> 外文期刊>Journal of Parallel and Distributed Computing >Advanced hashing schemes for packet forwarding using set associative memory architectures
【24h】

Advanced hashing schemes for packet forwarding using set associative memory architectures

机译:使用集关联内存架构进行数据包转发的高级哈希方案

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

摘要

Building a high performance IP packet forwarding (PF) engine remains a challenge due to increasingly stringent throughput requirements and the growing size of IP forwarding tables. The router has to match the incoming packet's IP address against all entries in the forwarding table. The matching process has to be done at increasingly higher wire speed; hence, scalability and low power consumption are critical for PF engines. Various hash table based schemes have been considered for use in PF engines. Set associative memory can be used for hardware implementations of hash tables with the property that each bucket of a hash table can be searched in a single memory cycle. However, the classic hashing downsides, such as collisions and worst case memory access time have to be dealt with. While open addressing hash tables, in general, provide good average case search performance, their memory utilization and worst case performance can degrade quickly due to collisions (that lead to bucket overflows). The two standard solutions to the overflow problem are either to use predefined probing (e.g., linear or quadratic probing) or to use multiple hash functions. This work presents two new simple hash schemes that extend both aforementioned solutions to tackle the overflow problem efficiently. The first scheme is a hash probing scheme that is called Content-based HAsh Probing (CHAP). As the name suggests, CHAP, based on the content of the hash table, avoids the classical side effects of predefined hash probing methods (i.e., primary and secondary clustering phenomena) and at the same time reduces the overflow. The second scheme, called Progressive Hashing (PH), is a general multiple hash scheme that reduces the overflow as well. The basic idea of PH is to split the prefixes into groups where each group is assigned one hash function, then reuse some hash functions in a progressive fashion to reduce the overflow. Both schemes are amenable to high-performance hardware implementations with low overflow and constant worst-case memory access time. We show by experimenting with real IP lookup tables and synthetic traces that both schemes outperform other existing hashing schemes.
机译:由于吞吐量要求日益严格以及IP转发表的规模不断扩大,构建高性能IP数据包转发(PF)引擎仍然是一个挑战。路由器必须将传入数据包的IP地址与转发表中的所有条目进行匹配。匹配过程必须以越来越高的线速度完成;因此,可扩展性和低功耗对于PF引擎至关重要。已考虑将各种基于哈希表的方案用于PF引擎。集合关联内存可用于哈希表的硬件实现,其属性是可以在单个内存周期中搜索哈希表的每个存储桶。但是,必须解决经典的哈希算法缺点,例如冲突和最坏情况下的内存访问时间。通常,开放式地址哈希表提供良好的平均大小写搜索性能,但由于冲突(导致存储桶溢出),它们的内存利用率和最坏情况的性能会迅速下降。溢出问题的两种标准解决方案是使用预定义的探测(例如,线性或二次探测)或使用多个哈希函数。这项工作提出了两个新的简单哈希方案,这些方案扩展了上述两个解决方案,可以有效地解决溢出问题。第一种方案是哈希探测方案,称为基于内容的哈希探测(CHAP)。顾名思义,CHAP基于哈希表的内容,避免了预定义的哈希探测方法的经典副作用(即,主要和次要集群现象),同时减少了溢出。第二种方案称为渐进式哈希(PH),它是一种通用的多重哈希方案,它也可以减少溢出。 PH的基本思想是将前缀分成几组,每组分配一个哈希函数,然后以渐进方式重用某些哈希函数以减少溢出。两种方案均适用于具有低溢出和恒定最坏情况存储器访问时间的高性能硬件实现。通过试验真实的IP查找表和综合跟踪,我们发现这两种方案都优于其他现有的哈希方案。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号