Scalar Prefix Search: A New Route Lookup Algorithm for Next Generation Internet
Mohammad Behdadfar, Hossein Saidi, Hamid Alaei, B. Samari
Abstract
Mohammad Behdadfar, Hossein Saidi, Hamid Alaei, B. Samari
Abstract
Currently, the increasing rate of routing lookups in Internet routers, the large number of prefixes and also the transition from IPV4 to IPV6, have caused Internet designers to propose new lookup algorithms and try to reduce the memory cost and the prefix search and update procedures times. Recently, some new algorithms are proposed trying to store the prefixes in a balanced tree to reduce the worst case prefix search and update times. These algorithms improve the search and update times compared to previous range based trees. In this paper it is shown that there is no need to treat the prefixes as ranges. It is only required to compare them like scalar values using a predefined rule. The method "scalar prefix search" which is presented here, is built on this concept and combining it with the proposed store and search methods, interprets each prefix as a number without any encoding, the need to convert it to the prefix end points or to use the trie based algorithms whose performance completely depends on IP address length. This method can be applied to many different tree structures. It is implemented using the binary search tree and some other balanced trees such as RB-tree, AVL-tree and B-tree for both IPV4 and IPV6 prefixes. Comparison results show better lookup and update performance or superior storage requirements for scalar prefix search in both average and worst cases, against current solutions like PIBT (Lu and Sahni, 2005) and LPFST (Wnn et al., 2005).
OpenAlex reports 19 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Currently, the increasing rate of routing lookups in Internet routers, the large number of prefixes and also the transition from IPV4 to IPV6, have caused Internet designers to propose new lookup algorithms and try to reduce the memory cost and the prefix search and update procedures times. Recently, some new algorithms are proposed trying to store the prefixes in a balanced tree to reduce the worst case prefix search and update times. These algorithms improve the search and update times compared to previous range based trees. In this paper it is shown that there is no need to treat the prefixes as ranges. It is only required to compare them like scalar values using a predefined rule. The method "scalar prefix search" which is presented here, is built on this concept and combining it with the proposed store and search methods, interprets each prefix as a number without any encoding, the need to convert it to the prefix end points or to use the trie based algorithms whose performance completely depends on IP address length. This method can be applied to many different tree structures. It is implemented using the binary search tree and some other balanced trees such as RB-tree, AVL-tree and B-tree for both IPV4 and IPV6 prefixes. Comparison results show better lookup and update performance or superior storage requirements for scalar prefix search in both average and worst cases, against current solutions like PIBT (Lu and Sahni, 2005) and LPFST (Wnn et al., 2005).
Key concepts: Prefix, Trie, Computer science, IPv6, Ternary search tree, Algorithm, Tree (set theory), Search tree