首页> 外文期刊>IEEE Transactions on Computers >A B-tree dynamic router-table design
【24h】

A B-tree dynamic router-table design

机译:B树动态路由器表设计

获取原文
获取原文并翻译 | 示例

摘要

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 log/sub m) memory and O(log/sub m) nodes are accessed during an operation (finding the highest-priority matching range, insert and delete a range).
机译:对于过滤器为前缀以及它们为非相交范围的情况,我们为动态路由器表提出了B树数据结构。我们用于前缀过滤器的数据结构与MRT(多路范围树)之间的关键区别在于,在我们的数据结构中,每个前缀存储在每个B树级别的O(1)个B树节点中,而在MRT中,每个前缀存储在每个级别的O(m)个节点中(m是B树的顺序)。由于存在这种差异,与使用MRT相比,使用我们的结构所测得的平均插入和删除时间要少30%。此外,在最坏的情况下,MRT的更新操作将使缓存丢失率是使用我们的结构时的2.5倍。查找最长匹配前缀的渐进复杂度是相同的,并且对于这两种数据结构,此操作的测量时间也几乎相同。前缀路由器表的两个B树结构都占用O(n)内存。但是,我们的结构以恒定因子提高了内存效率。对于不相交的范围,我们的数据结构需要O(n log / sub m / n)个内存,并且在操作过程中访问O(log / sub m / n)个节点(查找最高优先级的匹配范围,插入和删除)范围)。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号