A TCAM Index Scheme for IP Address Lookup

Yi Tang, Wei Lin, Bin Liu
{"title":"A TCAM Index Scheme for IP Address Lookup","authors":"Yi Tang, Wei Lin, Bin Liu","doi":"10.1109/CHINACOM.2006.344849","DOIUrl":null,"url":null,"abstract":"The rapidly increasing number of hosts on the Internet has caused a significant growth of the number of entries in the routing table, which greatly exacerbates the pressure on TCAM space requirement. In this paper, we propose a novel lookup algorithm: TCAM index scheme (TIS) for IP lookup. The algorithm fully considers the discrepancies among different parts of the prefix tree, and divides the whole prefix tree into several different sub-trees. For each sub-tree, only a single prefix will be stored in the TCAM, while the information of other prefixes (in the sub-tree) is preserved in the correlated SRAM. Hence, the space demand for TCAM is extremely reduced. Meanwhile, bitmap compression is utilized to maximize the compression ratio and minimize average SRAM requirement. Viable implementations on software and hardware plane respectively are also provided. The simulation result shows that for a real-world IPv4 routing table containing 190k prefixes, our scheme can realize line-speed lookup with only 40k 72 bits TCAM entries and 1 MB SRAM. The compression ratio is even higher under IPv6 routing table. What's more, updating is more effective than traditional TCAM-based methods.","PeriodicalId":408368,"journal":{"name":"2006 First International Conference on Communications and Networking in China","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2006 First International Conference on Communications and Networking in China","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CHINACOM.2006.344849","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

Abstract

The rapidly increasing number of hosts on the Internet has caused a significant growth of the number of entries in the routing table, which greatly exacerbates the pressure on TCAM space requirement. In this paper, we propose a novel lookup algorithm: TCAM index scheme (TIS) for IP lookup. The algorithm fully considers the discrepancies among different parts of the prefix tree, and divides the whole prefix tree into several different sub-trees. For each sub-tree, only a single prefix will be stored in the TCAM, while the information of other prefixes (in the sub-tree) is preserved in the correlated SRAM. Hence, the space demand for TCAM is extremely reduced. Meanwhile, bitmap compression is utilized to maximize the compression ratio and minimize average SRAM requirement. Viable implementations on software and hardware plane respectively are also provided. The simulation result shows that for a real-world IPv4 routing table containing 190k prefixes, our scheme can realize line-speed lookup with only 40k 72 bits TCAM entries and 1 MB SRAM. The compression ratio is even higher under IPv6 routing table. What's more, updating is more effective than traditional TCAM-based methods.
IP地址查找的TCAM索引方案
Internet上的主机数量迅速增加,导致路由表中的条目数量显著增加,极大地加剧了TCAM空间需求的压力。本文提出了一种新的IP查找算法:TCAM索引方案(TIS)。该算法充分考虑了前缀树不同部分之间的差异,将整个前缀树划分为几个不同的子树。对于每个子树,TCAM中只存储一个前缀,而其他前缀(子树中)的信息保存在相关的SRAM中。因此,TCAM的空间需求大大减少。同时,利用位图压缩来最大化压缩比和最小化平均SRAM需求。并分别在软件和硬件层面给出了可行的实现方案。仿真结果表明,对于包含190k前缀的真实IPv4路由表,该方案仅使用40k个72位TCAM表项和1mb SRAM即可实现线速查找。在IPv6路由表下,压缩比更高。与传统的基于tcam的方法相比,该方法的更新更有效。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信