一种高效的基于哈希的RIB管理方案

Feng Zhao, Yaping Liu, Baosheng Wang, Zexin Lu
{"title":"一种高效的基于哈希的RIB管理方案","authors":"Feng Zhao, Yaping Liu, Baosheng Wang, Zexin Lu","doi":"10.1109/CCE.2006.350885","DOIUrl":null,"url":null,"abstract":"In consideration of the exact matching characteristic of RIB lookups, we explore the applicability of hashing-based approaches for RIB management and evaluate their performance. Using real routing prefixes, we compare the efficiency of six different hash approaches mentioned in some papers about IP lookups: bit extraction from the routing prefix, CRC16 (cyclic redundancy checking polynomials), CRC32, Fletcher checksum, folding of prefix octets for using the exclusive-or operation and multiplication. This is the first comprehensive study of their performance using real core routing tables. We find that extracting the least significant bits from the routing prefix is a very efficient hash approach for RIB management. Then a RIB management scheme based on this hash approach is proposed. We use separate chaining as the collision resolution strategy, while not suffering from malloc/free overhead for frequent insertion or deletion. To keep the memory storage moderate, we set the hash table sizes based on the distribution of prefix lengths because it is not expected to change significantly with time. Through simulation, we find that this scheme can achieve very fast updates and fast lookups for routing prefixes while keep the memory storage moderate.","PeriodicalId":148533,"journal":{"name":"2006 First International Conference on Communications and Electronics","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"An Efficient Hashing-Based Scheme for RIB Management\",\"authors\":\"Feng Zhao, Yaping Liu, Baosheng Wang, Zexin Lu\",\"doi\":\"10.1109/CCE.2006.350885\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In consideration of the exact matching characteristic of RIB lookups, we explore the applicability of hashing-based approaches for RIB management and evaluate their performance. Using real routing prefixes, we compare the efficiency of six different hash approaches mentioned in some papers about IP lookups: bit extraction from the routing prefix, CRC16 (cyclic redundancy checking polynomials), CRC32, Fletcher checksum, folding of prefix octets for using the exclusive-or operation and multiplication. This is the first comprehensive study of their performance using real core routing tables. We find that extracting the least significant bits from the routing prefix is a very efficient hash approach for RIB management. Then a RIB management scheme based on this hash approach is proposed. We use separate chaining as the collision resolution strategy, while not suffering from malloc/free overhead for frequent insertion or deletion. To keep the memory storage moderate, we set the hash table sizes based on the distribution of prefix lengths because it is not expected to change significantly with time. Through simulation, we find that this scheme can achieve very fast updates and fast lookups for routing prefixes while keep the memory storage moderate.\",\"PeriodicalId\":148533,\"journal\":{\"name\":\"2006 First International Conference on Communications and Electronics\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2006-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2006 First International Conference on Communications and Electronics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CCE.2006.350885\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2006 First International Conference on Communications and Electronics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CCE.2006.350885","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

考虑到RIB查找的精确匹配特性,我们探讨了基于哈希的方法在RIB管理中的适用性,并评估了它们的性能。使用真实的路由前缀,我们比较了一些关于IP查找的论文中提到的六种不同哈希方法的效率:从路由前缀中提取比特,CRC16(循环冗余检查多项式),CRC32, Fletcher校验和,使用异或操作和乘法折叠前缀八位元。这是第一次使用真实的核心路由表对它们的性能进行全面研究。我们发现从路由前缀中提取最低有效位是一种非常有效的RIB管理哈希方法。在此基础上,提出了基于该哈希方法的RIB管理方案。我们使用分离链作为冲突解决策略,同时不会遭受频繁插入或删除的malloc/free开销。为了保持适度的内存存储,我们根据前缀长度的分布来设置哈希表的大小,因为预计它不会随着时间的推移而发生显著变化。通过仿真,我们发现该方案可以在保证内存存储适中的情况下实现路由前缀的快速更新和快速查找。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
An Efficient Hashing-Based Scheme for RIB Management
In consideration of the exact matching characteristic of RIB lookups, we explore the applicability of hashing-based approaches for RIB management and evaluate their performance. Using real routing prefixes, we compare the efficiency of six different hash approaches mentioned in some papers about IP lookups: bit extraction from the routing prefix, CRC16 (cyclic redundancy checking polynomials), CRC32, Fletcher checksum, folding of prefix octets for using the exclusive-or operation and multiplication. This is the first comprehensive study of their performance using real core routing tables. We find that extracting the least significant bits from the routing prefix is a very efficient hash approach for RIB management. Then a RIB management scheme based on this hash approach is proposed. We use separate chaining as the collision resolution strategy, while not suffering from malloc/free overhead for frequent insertion or deletion. To keep the memory storage moderate, we set the hash table sizes based on the distribution of prefix lengths because it is not expected to change significantly with time. Through simulation, we find that this scheme can achieve very fast updates and fast lookups for routing prefixes while keep the memory storage moderate.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Performance of Periodic Spectrum Transmission for Single-Carrier with Frequency-Domain Equalization using Channel Coding Interference Cancellation for MIMO-OFDM Systems in the case of Insufficient Guard Interval Length On the Usage of Quasi-Cyclic Low-Density Parity-Check Codes in the McEliece Cryptosystem Low Complexity Resource Allocation Algorithm by Multiple Attribute Weighing and User Ranking for OFDMA Systems Ultra Wide Band Communication and Localisation for Ad hoc Network
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1