DocumentCode
813171
Title
A B-tree dynamic router-table design
Author
Lu, Haibin ; Sahni, Sartaj
Author_Institution
Dept. of Comput. Sci., Missouri Univ., Columbia, MO, USA
Volume
54
Issue
7
fYear
2005
fDate
7/1/2005 12:00:00 AM
Firstpage
813
Lastpage
824
Abstract
We propose B-tree data structures for dynamic router-tables for the cases when the filters are prefixes as well as when they are nonintersecting ranges. A crucial difference between our data structure for prefix filters and the MRT (multiway range trees) is that, in our data structure, each prefix is stored in O(1) B-tree nodes per B-tree level, whereas, in MRT, each prefix is stored in O(m) nodes per level (m is the order of the B-tree). As a result of this difference, the measured average insert and delete times using our structure are about 30 percent less than when MRT is used. Further, an update operation of MRT will, in the worst case, make 2.5 times as many cache misses as made when our structure is used. The asymptotic complexity to find the longest matching prefix is the same and the measured time for this operation also is nearly the same for both data structures. Both B-tree structures for prefix router-tables take O(n) memory. However, our structure is more memory efficient by a constant factor. For the case of nonintersecting ranges, our data structure requires O(n logmn) memory and O(logmn) nodes are accessed during an operation (finding the highest-priority matching range, insert and delete a range).
Keywords
Internet; communication complexity; pattern classification; string matching; table lookup; telecommunication network routing; tree data structures; B-tree data structure; dynamic router-table design; highest-priority-range matching; longest-prefix matching; multiway range trees; nonintersecting range; packet routing; Bandwidth; Data structures; Frequency; Information filtering; Information filters; Internet; Matched filters; Routing; Time measurement; Tree data structures; B-trees.; Index Terms- Packet routing; dynamic router-tables; highest-priority-range matching; longest-prefix matching; nonintersecting ranges;
fLanguage
English
Journal_Title
Computers, IEEE Transactions on
Publisher
ieee
ISSN
0018-9340
Type
jour
DOI
10.1109/TC.2005.104
Filename
1432665
Link To Document