Priority Tries for IP Address Lookup

12
Author Hyesook Lim, Changhoon Yim, and Earl E. Swartzlander, Jr., Fellow Publisher IEEE TRANSACTIONS ON COMPUTERS, VOL. 59, NO. 6, JUNE 2010 Presenter Yu-To Chen Date 2011/09/21 Priority Tries for IP Address Lookup

description

Priority Tries for IP Address Lookup. Author : Hyesook Lim, Changhoon Yim , and Earl E. Swartzlander , Jr., Fellow Publisher : IEEE TRANSACTIONS ON COMPUTERS, VOL. 59, NO. 6, JUNE 2010 Presenter : Yu-To Chen Date : 2011/09/21. Outline. INTRODUCTION THE PROPOSED ALGORITHM - PowerPoint PPT Presentation

Transcript of Priority Tries for IP Address Lookup

Page 1: Priority Tries for IP Address Lookup

Author : Hyesook Lim, Changhoon Yim, and

Earl E. Swartzlander, Jr., Fellow

Publisher : IEEE TRANSACTIONS ON COMPUTERS, VOL. 59, NO. 6, JUNE 2010

Presenter : Yu-To Chen

Date : 2011/09/21

Priority Tries for IP Address Lookup

Page 2: Priority Tries for IP Address Lookup

2

INTRODUCTIONTHE PROPOSED ALGORITHM

range representation of prefixespriority tries

PERFORMACE ANALYSIS AND SIMULATION

Outline

Page 3: Priority Tries for IP Address Lookup

3

In this range representation, prefixes are represented as ranges on a number line between 0 and 1 without expanding to the maximum length

The priority trie is based on the trie structure, with empty internal nodes in the trie replaced by the priority prefix which is the longest among those in the subtrie rooted by the empty nodes.

Introduction

Page 4: Priority Tries for IP Address Lookup

4

The prefix can be represented as a half-open range : range(prefix)=[lower bound , upper bound) 其中 ,

為 prefix length

range inclusion problem.

Page 5: Priority Tries for IP Address Lookup

5

Page 6: Priority Tries for IP Address Lookup

6

Insert 規則1. 先將 prefix 排序由

長到短排序 ( 等長度隨機 )

2. 從 root 開始放 , 最長的放 root( 第 0 層 ),之後的由第一個位元開始依照 0 或 1 往左右走 ,遇到空的點或是該點為priority nood( 白點 )且 prefix 被自己包含即放入 , 並設為 priority nood

3. 若是層級剛好等於prefix 長度 , 則設為ordinary nood ( 黑點 ) 並佔據那一格

Page 7: Priority Tries for IP Address Lookup

7

Page 8: Priority Tries for IP Address Lookup

8

Insert prefix : 1001101*

Page 9: Priority Tries for IP Address Lookup

9

Delete node : 10011*

Page 10: Priority Tries for IP Address Lookup

10

Page 11: Priority Tries for IP Address Lookup

11

The entry width of the routing table can be designed with 39 bits (1 bit for the node identity, i.e., priority node or ordinary node, 25 bits for the prefix considering that the shortest prefix length is 8 bits, 5 bits for the prefix length, and 8 bits for routing information) plus two fields for child pointers.

The number of bits for the child pointers depends on the size of routing data set.

Page 12: Priority Tries for IP Address Lookup

12