位图trie:用于快速转发查找的数据结构

Seunghyun Oh, Jong-Suk Ahn
{"title":"位图trie:用于快速转发查找的数据结构","authors":"Seunghyun Oh, Jong-Suk Ahn","doi":"10.1109/GLOCOM.2001.965899","DOIUrl":null,"url":null,"abstract":"This paper proposes a data structure to perform forwarding lookups at gigabit speed by condensing the routing table of backbone routers into cache, thus eliminating slow memory accesses. The proposed structure bases on the conventional trie, known to be good for partial string searches. For the longest IP matching lookups, each level denotes a segment of IP address, and a node has multiple links each of which represents one combination of the address segment assigned to that level. When a given IP address reaches the dead-end node by following the links matching the IP address segment-by-segment, the node points the routing entry for forwarding the packet. For size reduction, the trie compresses pointers of child's locations and routing entries as a bit array where a single bit encodes a pointer. So, we call the proposed structure bit-map (BM) trie. For better performance, the BM trie jumps to the appropriate node at the middle level rather than starts from the root node. The experiments show that it compacts backbone routers' tables into 512 Kbyte cache and accomplishes around 2.4 million lookups per second on Pentium II processor.","PeriodicalId":346622,"journal":{"name":"GLOBECOM'01. IEEE Global Telecommunications Conference (Cat. No.01CH37270)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2001-11-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":"{\"title\":\"Bit-map trie: a data structure for fast forwarding lookups\",\"authors\":\"Seunghyun Oh, Jong-Suk Ahn\",\"doi\":\"10.1109/GLOCOM.2001.965899\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper proposes a data structure to perform forwarding lookups at gigabit speed by condensing the routing table of backbone routers into cache, thus eliminating slow memory accesses. The proposed structure bases on the conventional trie, known to be good for partial string searches. For the longest IP matching lookups, each level denotes a segment of IP address, and a node has multiple links each of which represents one combination of the address segment assigned to that level. When a given IP address reaches the dead-end node by following the links matching the IP address segment-by-segment, the node points the routing entry for forwarding the packet. For size reduction, the trie compresses pointers of child's locations and routing entries as a bit array where a single bit encodes a pointer. So, we call the proposed structure bit-map (BM) trie. For better performance, the BM trie jumps to the appropriate node at the middle level rather than starts from the root node. The experiments show that it compacts backbone routers' tables into 512 Kbyte cache and accomplishes around 2.4 million lookups per second on Pentium II processor.\",\"PeriodicalId\":346622,\"journal\":{\"name\":\"GLOBECOM'01. IEEE Global Telecommunications Conference (Cat. No.01CH37270)\",\"volume\":\"15 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2001-11-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"GLOBECOM'01. IEEE Global Telecommunications Conference (Cat. No.01CH37270)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/GLOCOM.2001.965899\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"GLOBECOM'01. IEEE Global Telecommunications Conference (Cat. No.01CH37270)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GLOCOM.2001.965899","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

摘要

本文提出了一种数据结构,通过将骨干路由器的路由表压缩到缓存中来实现千兆速度的转发查找,从而消除了缓慢的内存访问。所建议的结构基于传统的trie,已知它适合部分字符串搜索。对于最长的IP匹配查找,每个级别表示一个IP地址段,并且一个节点有多个链路,每个链路代表分配给该级别的地址段的一个组合。当指定IP地址逐段沿着与该IP地址匹配的链路到达死端节点时,该节点将指定转发报文的路由表项。为了减小大小,trie将子节点的位置和路由项的指针压缩为一个位数组,其中一个位编码一个指针。因此,我们将提出的结构称为位图(BM) trie。为了获得更好的性能,BM树跳转到中间级别的适当节点,而不是从根节点开始。实验表明,它将骨干路由器的表压缩成512kbyte的缓存,在奔腾II处理器上每秒完成约240万次查找。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Bit-map trie: a data structure for fast forwarding lookups
This paper proposes a data structure to perform forwarding lookups at gigabit speed by condensing the routing table of backbone routers into cache, thus eliminating slow memory accesses. The proposed structure bases on the conventional trie, known to be good for partial string searches. For the longest IP matching lookups, each level denotes a segment of IP address, and a node has multiple links each of which represents one combination of the address segment assigned to that level. When a given IP address reaches the dead-end node by following the links matching the IP address segment-by-segment, the node points the routing entry for forwarding the packet. For size reduction, the trie compresses pointers of child's locations and routing entries as a bit array where a single bit encodes a pointer. So, we call the proposed structure bit-map (BM) trie. For better performance, the BM trie jumps to the appropriate node at the middle level rather than starts from the root node. The experiments show that it compacts backbone routers' tables into 512 Kbyte cache and accomplishes around 2.4 million lookups per second on Pentium II processor.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Routing and wavelength assignment in optical passive star networks with non-uniform traffic load Admission control for DS-CDMA systems with fading CIXOB-k: combined input-crosspoint-output buffered packet switch A medium access control protocol with token passing and retransmission by the hub station in the asynchronous transfer mode of Wireless 1394 WDM optical switching to achieve 5 tb/s throughput
×
引用
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