{"title":"Divide-and-conquer: a scheme for IPv6 address longest prefix matching","authors":"Zhenqiang Li, Xiaohong Deng, Hongxiao Ma, Yan Ma","doi":"10.1109/HPSR.2006.1709678","DOIUrl":null,"url":null,"abstract":"Longest prefix matching (LPM) is a challenging subject because of the increasing routing table size, the increasing link speed, and the increasing Internet traffic with decreasing packet size. With the advent of IPv6, it requires reconsideration of the previous schemes particularly designed for IPv4. We introduce the first algorithm that we are aware of to employ divide-and-conquer method for IPv6 address 128-bit-long LPM. The algorithm divides an IPv6 address into 8 chunks of 16 bits each and the chunks are reduced recursively through several tunable phases according to the tradeoff between lookup performance and memory consumption. After exhaustive examination of IPv6 address allocation policies and 6 latest global backbone IPv6 BGP routing tables, we put forward some refinements to the basic scheme. The scheme is suitable for both software and hardware implementation. In measurements performed on a 1.1 GHz AMD Athlon machine using the real world IPv6 BGP routing tables, we can forward over several million IPv6 packets per second. When implemented in hardware adopting parallel chunk lookup and pipeline phase lookup architecture, the proposed scheme can achieve one IPv6 LPM lookup per memory access","PeriodicalId":274390,"journal":{"name":"2006 Workshop on High Performance Switching and Routing","volume":"72 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-10-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2006 Workshop on High Performance Switching and Routing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HPSR.2006.1709678","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8
Abstract
Longest prefix matching (LPM) is a challenging subject because of the increasing routing table size, the increasing link speed, and the increasing Internet traffic with decreasing packet size. With the advent of IPv6, it requires reconsideration of the previous schemes particularly designed for IPv4. We introduce the first algorithm that we are aware of to employ divide-and-conquer method for IPv6 address 128-bit-long LPM. The algorithm divides an IPv6 address into 8 chunks of 16 bits each and the chunks are reduced recursively through several tunable phases according to the tradeoff between lookup performance and memory consumption. After exhaustive examination of IPv6 address allocation policies and 6 latest global backbone IPv6 BGP routing tables, we put forward some refinements to the basic scheme. The scheme is suitable for both software and hardware implementation. In measurements performed on a 1.1 GHz AMD Athlon machine using the real world IPv6 BGP routing tables, we can forward over several million IPv6 packets per second. When implemented in hardware adopting parallel chunk lookup and pipeline phase lookup architecture, the proposed scheme can achieve one IPv6 LPM lookup per memory access